| 12 | |
| 13 | == Overview == |
| 14 | |
| 15 | The 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. |