ok thanks Tom On Mon, Jul 2, 2012 at 12:06 PM, Thomas Lockhart <tlockhart1...@gmail.com>wrote:
> ... > > So I wanted to know, which is the right way to go or it does not matter? >> > I prefer without quotes for most cases. But for cases when a model is not > yet defined (for example, you want to define a foreign key to a model which > comes later in the source file) then you need to use the quotes to keep > python from complaining about an undefined class. > > hth > > - Tom > > -- > 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 email to django-users+unsubscribe@** > googlegroups.com <django-users%2bunsubscr...@googlegroups.com>. > For more options, visit this group at http://groups.google.com/** > group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en> > . > > -- Thanks & Regards Smaran Harihar -- 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 email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.