Re: Two way many-to-many relationships

2011-03-28 Thread Dilan
Thanks Mike ! That was a really helpful page that I missed in Doc. In this particular case 1 solves 2. Dilan On Mar 27, 10:09 pm, Mike Ramirez wrote: > On Sunday, March 27, 2011 02:32:15 pm Dilan wrote: > > > Hi All, > > > I'm working on a model similar to > >

Two way many-to-many relationships

2011-03-27 Thread Dilan
Hi All, I'm working on a model similar to http://docs.djangoproject.com/en/1.3/topics/db/models/#extra-fields-on-many-to-many-relationships . Say, I need to add the field, groups = models.ManyToManyField(Group, through='Membership') to Person class Two questions: 1. In Django, is this allowed? 2

Re: working django with existing database

2011-01-30 Thread Dilan Nery
email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Warmest regards, Dilan Nery - @dilannery - https

Re: Protecting Static Media from Unauthorized Users

2010-04-15 Thread Dilan
Thanks, I think this exactly what I need. -Dilan On Apr 14, 9:06 pm, Chris Moffitt wrote: > What you want to use is x-sendfile or one of it's variants depending on your > server. > > Here's the Nginx page -http://wiki.nginx.org/NginxXSendfile > > Here's where

Protecting Static Media from Unauthorized Users

2010-04-14 Thread Dilan
t but am not found of is storing these type of files in database. Specifically, in my case, most of my files are text-based and could be stored in the database. However, while I am not an expert on databases, I feel that doing this would be a significantly slow and space consuming method. -Dilan --