Changes between Version 14 and Version 15 of MagicRemovalCheatSheet


Ignore:
Timestamp:
Aug 5, 2007, 2:03:44 AM (17 years ago)
Author:
anonymous
Comment:

Just a minor style change

Legend:

Unmodified
Added
Removed
Modified
  • MagicRemovalCheatSheet

    v14 v15  
    6363 1. Update your code to reflect model changes you did in the [wiki:MagicRemovalCheatSheet#Models Models section] above.
    6464 1. [wiki:RemovingTheMagic#Includetemplateextensionexplicitly Include template extensions explicitly].
    65  1. [wiki:RemovingTheMagic#Descriptorfields Convert to new Database API]. ''Warning: usually this is the most time-consuming step. Be careful!''
     65 1. [wiki:RemovingTheMagic#Descriptorfields Convert to new Database API]. ''Warning: usually this is the most time-consuming step. Be careful! ''
    6666 1. [wiki:RemovingTheMagic#RenamedDoesNotExistexception Rename DoesNotExist exception]: {{{people.PersonDoesNotExist}}} becomes {{{Person.DoesNotExist}}}.
    6767 1. If you use {{{get_object_or_404()}}} and {{{get_list_or_404()}}}, [wiki:RemovingTheMagic#get_object_or_404andget_list_or_404nowtakemodelclassesnotmodules change their parameters]. Note: you cannot use ''field''{{{__ne}}} and {{{order_by}}} keywords. Use {{{exclude()}}} and {{{order_by()}}} methods of [wiki:RemovingTheMagic#Descriptorfields new Database API].
Back to Top