Changes between Version 11 and Version 12 of MagicRemovalCheatSheet
- Timestamp:
- May 12, 2006, 1:50:15 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MagicRemovalCheatSheet
v11 v12 31 31 == Models == 32 32 33 1. If your application s still live in {{{yourproject/apps/}}} directory, you can move themup one level: move {{{yourproject/apps/yourapp/}}} to {{{yourproject/yourapp}}}.33 1. If your application still lives in {{{yourproject/apps/}}} directory, you can move it up one level: move {{{yourproject/apps/yourapp/}}} to {{{yourproject/yourapp}}}. 34 34 1. [wiki:RemovingTheMagic#Modellocationchanged Relocate models] by moving content of files in your {{{yourapp/models/}}} directory to {{{yourapp/models.py}}} file. 35 35 1. If your models use {{{datetime}}} or {{{db}}} modules without exporting them directly, [wiki:RemovingTheMagic#Modelmethodsnolongerautomaticallyhaveaccesstodatetimeanddbmodules add import statements].