Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor formatting fixes for [12139]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 058343c5e82512d32063e24968ba853f51107505 1 parent e0c3cd4
Jannis Leidel authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  docs/topics/db/models.txt
6  docs/topics/db/models.txt
@@ -879,8 +879,9 @@ abstract base class (only), part of the name should contain
879 879
 - ``'%(app_label)s'`` is replaced by the lower-cased name of the app the child
880 880
   class is contained within. Each installed application name must be unique
881 881
   and the model class names within each app must also be unique, therefore the
882  
-  resulting name will end up being different. For example, given an app
883  
-  ``common/models.py``::
  882
+  resulting name will end up being different.
  883
+
  884
+For example, given an app ``common/models.py``::
884 885
 
885 886
     class Base(models.Model):
886 887
         m2m = models.ManyToManyField(OtherModel, related_name="%(app_label)s_%(class)s_related")
@@ -895,6 +896,7 @@ abstract base class (only), part of the name should contain
895 896
         pass
896 897
 
897 898
 Along with another app ``rare/models.py``::
  899
+
898 900
     from common.models import Base
899 901
 
900 902
     class ChildB(Base):

0 notes on commit 058343c

Please sign in to comment.
Something went wrong with that request. Please try again.