Code

Changes between Version 54 and Version 55 of RemovingTheMagic


Ignore:
Timestamp:
01/27/06 07:19:34 (8 years ago)
Author:
adrian
Comment:

Added 'overview' section

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v54 v55  
    1010 
    1111Play with it! The branch is available via Subversion at http://code.djangoproject.com/svn/django/branches/magic-removal . 
     12 
     13== Overview == 
     14 
     15The biggest changes in magic-removal are: 
     16 
     17 * The magic package {{{django.models}}} no longer exists. To use models, just import the model class from wherever it lives on the Python path. Similarly, the magic modules (such as {{{django.models.polls}}} in the tutorial) no longer exist; now, you interact directly with the model class. 
     18 * All automatic pluralization is gone. 
     19 * The lookup API is changing so that many methods will become attributes. For example, {{{choice.get_poll()}}} is now {{{choice.poll}}}. 
     20 * Various packages, such as the Django template system (previously in {{{django.core.template}}}, have been moved around to make importing less verbose and easier to remember. 
    1221 
    1322== Database changes you'll need to make ==