diff options
author | Tim Graham <timograham@gmail.com> | 2012-12-21 15:52:06 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2012-12-21 15:52:06 -0500 |
commit | 52a2588df69e5252bee98e76e8d3a2aa37bce23c (patch) | |
tree | f8e1f540dddbce86c3c7db3d0f7f123823df6a66 /docs | |
parent | e277301c2c96915ba1408d57a866bc65e51de95a (diff) | |
download | django-52a2588df69e5252bee98e76e8d3a2aa37bce23c.tar.gz |
Fixed #19506 - Remove 'mysite' prefix in model example.
Thanks Mike O'Connor for the report.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/topics/db/models.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 2f1676ac1a..cfa794ca92 100644 --- a/docs/topics/db/models.txt +++ b/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', #... ) |