On Mon, Jul 2, 2012 at 12:06 PM, Thomas Lockhart <tlockhart1976@gmail.com> wrote:
...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.
So I wanted to know, which is the right way to go or it does not matter?
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.
For more options, visit this group at 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment