...
> 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.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment