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:53:44 -0500 |
| commit | c4a9e5bd8d4c158e63b2fc77796a961ba0a191f4 (patch) | |
| tree | e42588c215a4c0a3a0f57f219baf0a0d51b90bb0 /docs/topics | |
| parent | 647410510721989018a8942e4d1b1f8096798e7a (diff) | |
[1.4.X] Fixed #19506 - Remove 'mysite' prefix in model example.
Thanks Mike O'Connor for the report.
Backport of 52a2588df6 from master
Diffstat (limited to 'docs/topics')
| -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 a0b7416a4d..a9968ac075 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', #... ) |
