Fixed small typo in docs/tutorial01.txt -- thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
299c3cdd8c
commit
bcce1d901f
|
@ -176,8 +176,8 @@ These concepts are represented by simple Python classes. Edit the
|
||||||
votes = meta.IntegerField()
|
votes = meta.IntegerField()
|
||||||
|
|
||||||
The code is straightforward. Each model is represented by a class that
|
The code is straightforward. Each model is represented by a class that
|
||||||
subclasses ``django.core.meta.Model``. Each model a number of class variables,
|
subclasses ``django.core.meta.Model``. Each model has a number of class
|
||||||
each of which represents a database field in the model.
|
variables, each of which represents a database field in the model.
|
||||||
|
|
||||||
Each field is represented by an instance of a ``meta.*Field`` class -- e.g.,
|
Each field is represented by an instance of a ``meta.*Field`` class -- e.g.,
|
||||||
``meta.CharField`` for character fields and ``meta.DateTimeField`` for
|
``meta.CharField`` for character fields and ``meta.DateTimeField`` for
|
||||||
|
|
Loading…
Reference in New Issue