Ticket #9674: 9674.patch
File 9674.patch, 625 bytes (added by , 15 years ago) |
---|
-
docs/ref/models/options.txt
19 19 20 20 If ``True``, this model will be an :ref:`abstract base class <abstract-base-classes>`. 21 21 22 ``app_label`` 23 ------------- 24 25 .. attribute:: Options.app_label 26 27 If a model exists outside of the standard :file:`models.py` (for instance, if 28 the app's models are in submodules of ``myapp.models``), the model must define 29 which app it is part of:: 30 31 app_label = 'myapp' 32 22 33 ``db_table`` 23 34 ------------ 24 35