Changes between Version 7 and Version 8 of MagicRemovalCheatSheet


Ignore:
Timestamp:
May 11, 2006, 11:52:26 PM (18 years ago)
Author:
eugene@…
Comment:

added internal links

Legend:

Unmodified
Added
Removed
Modified
  • MagicRemovalCheatSheet

    v7 v8  
    5959from django.conf import settings
    6060}}}
    61  1. Update your code to reflect model changes you did in the Models section above.
     61 1. Update your code to reflect model changes you did in the [wiki:MagicRemovalCheatSheet#Models Models section] above.
    6262 1. [wiki:RemovingTheMagic#Includetemplateextensionexplicitly Include template extensions explicitly].
    6363 1. [wiki:RemovingTheMagic#Descriptorfields Convert to new Database API]. ''Warning: usually this is the most time-consuming step. Be careful!''
     
    7575 1. Template tags {{{extends}}} and {{{include}}} [wiki:RemovingTheMagic#Includetemplateextensionexplicitly should include template extensions explicitly].
    7676 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 section above.
     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.
    7878
    7979== Template tags ==
     
    8585 1. If your template tag uses external templates, [wiki:RemovingTheMagic#Includetemplateextensionexplicitly include template extensions explicitly].
    8686 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 section above, if applicable.
    88  1. If your template tag implements a high-level view-like functionality, apply changes outlined in the Views section above.
     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.
    8989
    9090== URLs and settings ==
Back to Top