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:23 -0500 |
| commit | 91af9230add54138e1c397a193301f3498df64c1 (patch) | |
| tree | 5229269846d5a797c94539caef18c47893663bac /docs | |
| parent | a0155f35343afbfd9e98ab9aa4615f06780f697e (diff) | |
[1.5.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')
| -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', #... ) |
