Changes between Version 4 and Version 5 of CookBookSplitModelsToFiles
- Timestamp:
- Jan 18, 2007, 4:07:52 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookSplitModelsToFiles
v4 v5 4 4 5 5 The important thing to notice here is the {{{app_label}}} attribute in the {{{Meta}}} class. If that is omitted, a subsequent {{{manage.py syncdb}}} run will not pick up these models. 6 7 '''NOTE:''' When #2982 gets applied you won't need the {{{Meta}}} class anymore, so if this link: #2982 has a strike-through and you are running svn, you don't need the {{{Meta}}} class. 6 8 7 9 {{{apps/polls/models/__init__.py}}}: