Changes between Version 4 and Version 5 of RemovingTheMagic


Ignore:
Timestamp:
Dec 6, 2005, 10:59:45 PM (19 years ago)
Author:
Adrian Holovaty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v4 v5  
    55== Model definition ==
    66
    7 Difference: Import is from {{{django.db.models}}} instead of {{{django.core.meta}}}. This is easier to remember. {{{models}}} may not be the best name for it.
     7Difference: Import is from {{{django.db.models}}} instead of {{{django.core.meta}}}. This is easier to remember. However, {{{models}}} may not be the best name for it.
    88
    99{{{
     
    1616}}}
    1717
    18 Properties are allowed.
     18Unlike before, properties are supported.
    1919
    2020{{{
     
    127127== API usage: Overridding table-level functions ==
    128128
    129 You can also override any table-level functions, such as {{{get_list()}}} or {{{get_object()}}}. Do this by creating a custom {{{models.Manager}}} subclass and passing it to your model.
     129You can override any table-level functions, such as {{{get_list()}}} or {{{get_object()}}}. Do this by creating a custom {{{models.Manager}}} subclass and passing it to your model. The term "manager" could be replaced with some other word.
    130130
    131131{{{
Back to Top