Code

Changes between Version 47 and Version 48 of RemovingTheMagic


Ignore:
Timestamp:
01/22/06 20:58:36 (8 years ago)
Author:
adrian
Comment:

Added some stuff to "Changes to model syntax"

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v47 v48  
    8383 * {{{class META}}} should now be {{{class Meta}}}. The latter is easier on the eyes. 
    8484 
    85  * {{{module_name}}} is no longer a valid parameter to {{{class Meta}}}. 
     85 * The following are no longer valid parameters to {{{class Meta}}} and should be removed: 
     86 
     87   * {{{module_name}}} 
     88   * {{{admin}}} (See "Moved admin options to 'class Admin'" below.) 
     89   * {{{exceptions}}} (Just put your exceptions in the module that contains the models and access them normally.) 
     90   * {{{module_constants}}} (Just put your constants in the module that contains the models and access them normally.) 
     91   * {{{where_constraints}}} (Just use a custom manager. See "Custom managers, and multiple managers" below.) 
    8692 
    8793=== Moved admin options to 'class Admin' ===