Recursive Relation in django-taggit

2011-08-18 Thread Eyad Al-Sibai
I have created the following TagBase and each category can have subcategory... Will this work? How can I override its add function in the TaggableManager? class Category(TagBase): parent = models.ForeignKey('self', blank=True, null=True, related_nam

Re: django-registration - stuck at Required templates topic

2011-08-05 Thread Eyad Al-Sibai
I had the same thing... all what you need is to add " {% csrf_token %}" in each template for Post form it will solve your issue On Sat, Aug 6, 2011 at 7:42 AM, bob gailer wrote: > I have stumbled around following various pieces of advice: > > added to views: >from django.core.context_proce

writing function into the Manager or the Model

2011-07-23 Thread Eyad Al-Sibai
I am a little bit confused... what functions should I write it in the Manager and what should be within the Model itself... Also what functions do you think should be written inside the class Admin within the Model? Regards, Eyad -- You received this message because you are subscribed to the Go

Re: What is the Development Life Cycle of Django App?

2011-07-22 Thread Eyad Al-Sibai
Thanks! On Sat, Jul 23, 2011 at 4:04 AM, Mike Dewhirst wrote: > On 23/07/2011 12:31am, Eyad Al-Sibai wrote: > >> What is the Development Life Cycle of Django App? Should I start in >> implementing the models or the urls ... or what exactly? >> > > Best advice

Re: Custom Manager

2011-07-22 Thread Eyad Al-Sibai
every query. >> >> Add it to your Post model by setting it as the 'published' attribute >> and then you could use Post.published.all() to get just the posts with >> draft=False. >> >> >> Cheers, >> AT >> >> On 7/22/11, Shawn Mil

Re: Real Example

2011-07-22 Thread Eyad Al-Sibai
eter > > On Jul 23, 4:17 am, Phang Mulianto wrote: > > you better find books in amazon. .. many ready to learn for you.. > > On Jul 22, 2011 10:41 PM, "Shawn Milochik" wrote:> > On 07/22/2011 10:31 AM, Eyad Al-Sibai wrote: > > >> Hi! > > > >

What is the Development Life Cycle of Django App?

2011-07-22 Thread Eyad Al-Sibai
What is the Development Life Cycle of Django App? Should I start in implementing the models or the urls ... or what exactly? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To u

Real Example

2011-07-22 Thread Eyad Al-Sibai
Hi! I want a real example of complete django application with source code to understand django better -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this g

Custom Manager

2011-07-22 Thread Eyad Al-Sibai
Hi! I still do not get the meaning of Manager or Custom Manager in Django... I am confused! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send

New to Django

2011-07-11 Thread Eyad Al-Sibai
Hi! I am new to Django, but I am not sure if I should use the built in Django auth for registration and authorization or I should use another app/package. Eyad -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: (UsingTheMailingList) Pre-requisites for newcomers on Django

2011-07-11 Thread Eyad Al Sibai
+! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/kIcMhIXH_ZoJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from thi