Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #19506 - Remove 'mysite' prefix in model example.

Thanks Mike O'Connor for the report.
  • Loading branch information...
commit 52a2588df69e5252bee98e76e8d3a2aa37bce23c 1 parent e277301
@timgraham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/db/models.txt
View
4 docs/topics/db/models.txt
@@ -66,13 +66,13 @@ those models. Do this by editing your settings file and changing the
your ``models.py``.
For example, if the models for your application live in the module
-``mysite.myapp.models`` (the package structure that is created for an
+``myapp.models`` (the package structure that is created for an
application by the :djadmin:`manage.py startapp <startapp>` script),
:setting:`INSTALLED_APPS` should read, in part::
INSTALLED_APPS = (
#...
- 'mysite.myapp',
+ 'myapp',
#...
)
Please sign in to comment.
Something went wrong with that request. Please try again.