Changes between Version 2 and Version 3 of DevModelCreation


Ignore:
Timestamp:
Oct 8, 2006, 1:05:39 AM (18 years ago)
Author:
anonymous
Comment:

Added a missing they

Legend:

Unmodified
Added
Removed
Modified
  • DevModelCreation

    v2 v3  
    33When some (user) code creates a subclass of models.Model, a lot goes on behind the scenes in order to present a reasonably normal looking Python class to the user, whilst providing the necessary database support when it comes time to save or load instances of the model. This document describes what goes on from the time a model is imported until an instance is created by the user.
    44
    5 A couple of preliminaries: Firstly, if you just want to develop systems with Django, this information is not required at all. It is here for people who might want to poke around the internals of Django or fix any bugs that may find.
     5A couple of preliminaries: Firstly, if you just want to develop systems with Django, this information is not required at all. It is here for people who might want to poke around the internals of Django or fix any bugs that they may find.
    66
    77Secondly, by the nature of the beast, class creation and initialisation delves a bit into the depths of Python's operation. A familiarity with the difference between a class and an instance, for example, will be helpful here. Section 3.2 of the [http://docs.python.org/ref/types.html Python Language Reference] might be of assistance.
Back to Top