<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,6 +19,17 @@ Available ``Meta`` options
 
 If ``True``, this model will be an :ref:`abstract base class &lt;abstract-base-classes&gt;`.
 
+``app_label``
+-------------
+
+.. attribute:: Options.app_label
+
+If a model exists outside of the standard :file:`models.py` (for instance, if
+the app's models are in submodules of ``myapp.models``), the model must define
+which app it is part of::
+
+    app_label = 'myapp'
+
 ``db_table``
 ------------
 </diff>
      <filename>docs/ref/models/options.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>930f1adc9ae38f054b34ad259a691830bcfc6e84</id>
    </parent>
  </parents>
  <author>
    <name>lukeplant</name>
    <email>lukeplant@bcc190cf-cafb-0310-a4f2-bffc1f526a37</email>
  </author>
  <url>http://github.com/tswicegood/django/commit/96138f4b727d1742fd40aa6f9c124a3cf2c28644</url>
  <id>96138f4b727d1742fd40aa6f9c124a3cf2c28644</id>
  <committed-date>2009-09-28T14:58:21-07:00</committed-date>
  <authored-date>2009-09-28T14:58:21-07:00</authored-date>
  <message>Fixed #9674 - documented app_label.

Thanks to andymckay for the report and jpaulett for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11596 bcc190cf-cafb-0310-a4f2-bffc1f526a37</message>
  <tree>b84f94a3c47a868a5b6dac88d7185c3312724063</tree>
  <committer>
    <name>lukeplant</name>
    <email>lukeplant@bcc190cf-cafb-0310-a4f2-bffc1f526a37</email>
  </committer>
</commit>
