Kaydet (Commit) 52a2588d authored tarafından Tim Graham's avatar Tim Graham

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

Thanks Mike O'Connor for the report.
üst e277301c
...@@ -66,13 +66,13 @@ those models. Do this by editing your settings file and changing the ...@@ -66,13 +66,13 @@ those models. Do this by editing your settings file and changing the
your ``models.py``. your ``models.py``.
For example, if the models for your application live in the module 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), application by the :djadmin:`manage.py startapp <startapp>` script),
:setting:`INSTALLED_APPS` should read, in part:: :setting:`INSTALLED_APPS` should read, in part::
INSTALLED_APPS = ( INSTALLED_APPS = (
#... #...
'mysite.myapp', 'myapp',
#... #...
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment