Changes between Version 7 and Version 8 of MagicRemovalCheatSheet
- Timestamp:
- May 11, 2006, 11:52:26 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MagicRemovalCheatSheet
v7 v8 59 59 from django.conf import settings 60 60 }}} 61 1. Update your code to reflect model changes you did in the Models sectionabove.61 1. Update your code to reflect model changes you did in the [wiki:MagicRemovalCheatSheet#Models Models section] above. 62 62 1. [wiki:RemovingTheMagic#Includetemplateextensionexplicitly Include template extensions explicitly]. 63 63 1. [wiki:RemovingTheMagic#Descriptorfields Convert to new Database API]. ''Warning: usually this is the most time-consuming step. Be careful!'' … … 75 75 1. Template tags {{{extends}}} and {{{include}}} [wiki:RemovingTheMagic#Includetemplateextensionexplicitly should include template extensions explicitly]. 76 76 1. [wiki:RemovingTheMagic#Changedtemplatenamesingenericviews Change template names for generic views]: remove pluralization of model names. 77 1. If your template uses Django's methods defined on its parameters, try to move this code to corresponding views, if possible. Otherwise apply changes outlined in the Views sectionabove.77 1. If your template uses Django's methods defined on its parameters, try to move this code to corresponding views, if possible. Otherwise apply changes outlined in the [wiki:MagicRemovalCheatSheet#Views Views section] above. 78 78 79 79 == Template tags == … … 85 85 1. If your template tag uses external templates, [wiki:RemovingTheMagic#Includetemplateextensionexplicitly include template extensions explicitly]. 86 86 1. [wiki:RemovingTheMagic#RemovedSilentVariableFailureexception SilentVariableFailure exception was removed]: use {{{silent_variable_failure}}} attribute instead. 87 1. Update your code to reflect model changes you did in the Models sectionabove, if applicable.88 1. If your template tag implements a high-level view-like functionality, apply changes outlined in the Views sectionabove.87 1. Update your code to reflect model changes you did in the [wiki:MagicRemovalCheatSheet#Models Models section] above, if applicable. 88 1. If your template tag implements a high-level view-like functionality, apply changes outlined in the [wiki:MagicRemovalCheatSheet#Views Views section] above. 89 89 90 90 == URLs and settings ==