summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-26 15:39:52 -0500
committerTim Graham <timograham@gmail.com>2015-02-01 21:02:40 -0500
commitc79faae761659d51d58782dbd2b8058fb4668cfa (patch)
treea83649a302c53dd2d0ce9e0f50c4017b8b5da979 /docs/ref/django-admin.txt
parent0e6091249295b0e06aff2b1b4411819f94a1c529 (diff)
Removed versionadded/changed notes for 1.7.
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt62
1 files changed, 5 insertions, 57 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index d894057748..ed7bd79626 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -5,11 +5,6 @@ django-admin and manage.py
``django-admin`` is Django's command-line utility for administrative tasks.
This document outlines all it can do.
-.. versionchanged:: 1.7
-
- Prior to Django 1.7, ``django-admin`` was only installed as
- ``django-admin.py``.
-
In addition, ``manage.py`` is automatically created in each Django project.
``manage.py`` is a thin wrapper around ``django-admin`` that takes care of
several things for you before delegating to ``django-admin``:
@@ -21,10 +16,6 @@ several things for you before delegating to ``django-admin``:
* It calls :func:`django.setup()` to initialize various internals of Django.
-.. versionadded:: 1.7
-
- :func:`django.setup()` didn't exist in previous versions of Django.
-
The ``django-admin`` script should be on your system path if you installed
Django via its ``setup.py`` utility. If it's not on your path, you can find it
in ``site-packages/django/bin`` within your Python installation. Consider
@@ -105,8 +96,6 @@ check <appname appname ...>
.. django-admin:: check
-.. versionchanged:: 1.7
-
Uses the :doc:`system check framework </ref/checks>` to inspect
the entire Django project for common problems.
@@ -192,18 +181,13 @@ createcachetable
.. django-admin:: createcachetable
-Creates the cache tables for use with the database cache backend. See
-:doc:`/topics/cache` for more information.
+Creates the cache tables for use with the database cache backend using the
+information from your settings file. See :doc:`/topics/cache` for more
+information.
The :djadminopt:`--database` option can be used to specify the database
-onto which the cachetable will be installed.
-
-.. versionchanged:: 1.7
-
- It is no longer necessary to provide the cache table name or the
- :djadminopt:`--database` option. Django takes this information from your
- settings file. If you have configured multiple caches or multiple databases,
- all cache tables are created.
+onto which the cache table will be installed, but since this information is
+pulled from your settings by default, it's typically not needed.
dbshell
-------
@@ -286,8 +270,6 @@ from which data will be dumped.
.. django-admin-option:: --natural-foreign
-.. versionadded:: 1.7
-
When this option is specified, Django will use the ``natural_key()`` model
method to serialize any foreign key and many-to-many relationship to objects of
the type that defines the method. If you are dumping ``contrib.auth``
@@ -298,8 +280,6 @@ and the next option.
.. django-admin-option:: --natural-primary
-.. versionadded:: 1.7
-
When this option is specified, Django will not provide the primary key in the
serialized data of this object since it can be calculated during
deserialization.
@@ -415,10 +395,6 @@ models that may have been removed since the fixture was originally generated.
The :djadminopt:`--app` option can be used to specify a single app to look
for fixtures in rather than looking through all apps.
-.. versionchanged:: 1.7
-
- ``--app`` was added.
-
.. versionchanged:: 1.8
``--ignorenonexistent`` also ignores non-existent models.
@@ -605,12 +581,6 @@ Example usage::
django-admin makemessages -x pt_BR
django-admin makemessages -x pt_BR -x fr
-
-.. versionchanged:: 1.7
-
- Added the ``--previous`` option to the ``msgmerge`` command when merging
- with existing po files.
-
.. django-admin-option:: --domain
Use the ``--domain`` or ``-d`` option to change the domain of the messages files.
@@ -671,8 +641,6 @@ makemigrations [<app_label>]
.. django-admin:: makemigrations
-.. versionadded:: 1.7
-
Creates new migrations based on the changes detected to your models.
Migrations, their relationship with apps and more are covered in depth in
:doc:`the migrations documentation</topics/migrations>`.
@@ -722,8 +690,6 @@ migrate [<app_label> [<migrationname>]]
.. django-admin:: migrate
-.. versionadded:: 1.7
-
Synchronizes the database state with the current set of models and migrations.
Migrations, their relationship with apps and more are covered in depth in
:doc:`the migrations documentation</topics/migrations>`.
@@ -788,10 +754,6 @@ needed. You don't need to restart the server for code changes to take effect.
However, some actions like adding files don't trigger a restart, so you'll
have to restart the server in these cases.
-.. versionchanged:: 1.7
-
- Compiling translation files now also restarts the development server.
-
If you are using Linux and install `pyinotify`_, kernel signals will be used to
autoreload the server (rather than polling file modification timestamps each
second). This offers better scaling to large projects, reduction in response
@@ -800,10 +762,6 @@ reduction.
.. _pyinotify: https://pypi.python.org/pypi/pyinotify/
-.. versionadded:: 1.7
-
- ``pyinotify`` support was added.
-
When you start the server, and each time you change Python code while the
server is running, the server will check your entire Django project for errors (see
the :djadmin:`check` command). If any errors are found, they will be printed
@@ -1468,8 +1426,6 @@ that ``django-admin`` should print to the console.
.. django-admin-option:: --no-color
-.. versionadded:: 1.7
-
Example usage::
django-admin sqlall --no-color
@@ -1620,12 +1576,6 @@ would specify the use of all the colors in the light color palette,
*except* for the colors for errors and notices which would be
overridden as specified.
-.. versionadded:: 1.7
-
-Support for color-coded output from ``django-admin`` / ``manage.py``
-utilities on Windows by relying on the ANSICON application was added in Django
-1.7.
-
.. _ANSICON: http://adoxa.altervista.org/ansicon/
Bash completion
@@ -1641,10 +1591,8 @@ distribution. It enables tab-completion of ``django-admin`` and
* Type ``sql``, then [TAB], to see all available options whose names start
with ``sql``.
-
See :doc:`/howto/custom-management-commands` for how to add customized actions.
-
==========================================
Running management commands from your code
==========================================