Author: jezdez
Date: 2010-01-09 15:07:32 -0600 (Sat, 09 Jan 2010)
New Revision: 12146

Modified:
   django/trunk/docs/topics/db/models.txt
Log:
Minor formatting fixes for [12139]

Modified: django/trunk/docs/topics/db/models.txt
===================================================================
--- django/trunk/docs/topics/db/models.txt      2010-01-09 21:03:25 UTC (rev 
12145)
+++ django/trunk/docs/topics/db/models.txt      2010-01-09 21:07:32 UTC (rev 
12146)
@@ -879,9 +879,10 @@
 - ``'%(app_label)s'`` is replaced by the lower-cased name of the app the child
   class is contained within. Each installed application name must be unique
   and the model class names within each app must also be unique, therefore the
-  resulting name will end up being different. For example, given an app
-  ``common/models.py``::
+  resulting name will end up being different.
 
+For example, given an app ``common/models.py``::
+
     class Base(models.Model):
         m2m = models.ManyToManyField(OtherModel, 
related_name="%(app_label)s_%(class)s_related")
 
@@ -895,6 +896,7 @@
         pass
 
 Along with another app ``rare/models.py``::
+
     from common.models import Base
 
     class ChildB(Base):

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to