mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
[2.2.x] Used extlinks for Django's source code.
Backport of a68c029e22
from master.
This commit is contained in:
parent
ffdacc5879
commit
2fb602f581
12 changed files with 38 additions and 69 deletions
|
@ -1185,10 +1185,9 @@ Generate squashed migration file without Django version and timestamp header.
|
|||
Creates a Django app directory structure for the given app name in the current
|
||||
directory or the given destination.
|
||||
|
||||
By default the directory created contains a ``models.py`` file and other app
|
||||
template files. (See the `source`_ for more details.) If only the app
|
||||
name is given, the app directory will be created in the current working
|
||||
directory.
|
||||
By default, :source:`the new directory <django/conf/app_template>` contains a
|
||||
``models.py`` file and other app template files. If only the app name is given,
|
||||
the app directory will be created in the current working directory.
|
||||
|
||||
If the optional destination is provided, Django will use that existing
|
||||
directory rather than creating a new one. You can use '.' to denote the current
|
||||
|
@ -1260,8 +1259,6 @@ files is:
|
|||
byte-compile invalid ``*.py`` files, template files ending with ``.py-tpl``
|
||||
will be renamed to ``.py``.
|
||||
|
||||
.. _source: https://github.com/django/django/tree/master/django/conf/app_template/
|
||||
|
||||
``startproject``
|
||||
----------------
|
||||
|
||||
|
@ -1270,9 +1267,9 @@ files is:
|
|||
Creates a Django project directory structure for the given project name in
|
||||
the current directory or the given destination.
|
||||
|
||||
By default, the new directory contains ``manage.py`` and a project package
|
||||
(containing a ``settings.py`` and other files). See the `template source`_ for
|
||||
details.
|
||||
By default, :source:`the new directory <django/conf/project_template>` contains
|
||||
``manage.py`` and a project package (containing a ``settings.py`` and other
|
||||
files).
|
||||
|
||||
If only the project name is given, both the project directory and project
|
||||
package will be named ``<projectname>`` and the project directory
|
||||
|
@ -1315,8 +1312,6 @@ The :class:`template context <django.template.Context>` used is:
|
|||
Please also see the :ref:`rendering warning <render_warning>` as mentioned
|
||||
for :djadmin:`startapp`.
|
||||
|
||||
.. _`template source`: https://github.com/django/django/tree/master/django/conf/project_template/
|
||||
|
||||
``test``
|
||||
--------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue