Thursday, January 3, 2013

Reserved Words

Is there a list of 'reserved words' for Django like there is for Python? I posted a question in here a few days ago about a mysterious recursion error I kept getting when I tried to load my data in with loaddata. Turns out, it was because I had defined a field called 'pk' with primary_key=True in my models. I later ran into trouble with manually-defined fields ending in "_id." AFAIK, neither of these little quirks are documented on the website; it'd be nice if they were.

--
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/-/uGlhL-Fb8F8J.
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