Richard Olsson
3350531ceb
[1.7.x] Fixed typo in docs/ref/django-admin.txt
...
Backport of c1552af1fe
from master
2014-11-25 07:51:58 -05:00
Carl Meyer
03e8c18288
[1.7.x] Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards.
...
Backport of ab2819aa7b
from master.
2014-11-19 16:15:05 -07:00
Andreas Madsack
7796f62c36
[1.7.x] Fixed #23808 -- Documented that migrations table is created when using runserver without migrating first.
...
Backport of 27c9b3a27d
from master
2014-11-15 20:06:13 +01:00
Tim Graham
40e5eb4114
[1.7.x] Corrected --noinput docs for makemigrations; refs #23407 .
...
Backport of 450a616004
from master
2014-09-24 13:30:23 -04:00
Tim Graham
574f8f560f
[1.7.x] Documented --database option for migrate.
...
Thanks Mike O'Connor for the reporty.
Backport of 6aae07fe61
from master
2014-08-27 08:02:17 -04:00
Tim Graham
d6c6181f9e
[1.7.x] Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
...
Backport of 15cafaa565
from master
2014-08-19 06:15:28 -04:00
Baptiste Mispelon
3a80189479
[1.7.x] Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
...
Backport of 5853c87a45
from master.
Conflicts:
django/core/management/commands/sqlmigrate.py
tests/user_commands/tests.py
2014-08-18 19:36:34 +02:00
Tim Graham
9ed92906b3
[1.7.x] Fixed broken links in docs.
...
Backport of 0efd72dc90
from master
2014-08-05 08:23:57 -04:00
Gabriel Muñumel
2077bbe3fe
[1.7.x] Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
...
Backport of 0af593dbe5
from master
2014-07-28 10:06:06 -04:00
Aymeric Augustin
d82cf95c52
[1.7.x] Fixed #23062 -- Documented how to create superuser.
...
Patch by Tim Graham. Thanks areski for the review.
Backport of 53a61d8
from master.
2014-07-27 15:49:32 +02:00
David Hoffman
08e8e2137d
[1.7.x] Fixed #23097 -- Switched to new octal format in docs
...
Backport of e1c85167a3
from master.
2014-07-26 11:21:16 +02:00
Andrew Godwin
4368457a27
[1.7.x] Document -l as well as --list on migrate
2014-07-08 10:30:37 -07:00
Andrew Godwin
8fbd9b0b1c
[1.7.x] Document --fake and --list on migrate command
2014-07-06 00:30:35 -07:00
Huu Nguyen
d9a83d597e
[1.7.x] Fixed #22862 -- Added --noinput option to makemigrations.
...
Thanks artortenburger for the report.
Backport of fbb684d95e
from master
2014-06-20 09:10:43 -04:00
Maxime Turcotte
de0e285be8
[1.7.x] Fixed #22801 -- Added 'www.' to diveintopython.net links
...
Backport of f97c53c098
from master
2014-06-10 15:39:05 -04:00
Tim Graham
0767055dfc
[1.7.x] Fixed #22770 -- Removed create_superuser from post_migrate signals.
...
Moved logic to syncdb command for backwards compatibility.
Backport of 93d05536fd
from master
2014-06-10 15:00:12 -04:00
Moayad Mardini
c0a56001e0
[1.7.x] Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.
...
`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.
Backport of 2e613ea5c5
from master
2014-05-26 20:03:41 -04:00
Moayad Mardini
4d4ea65418
[1.7.x] Fixed #22692 -- Added docs for `makemigrations` two command options.
...
Added documentation about `--dry-run` and `--merge`.
Backport of e98d303562
from master
2014-05-25 19:37:11 -04:00
Aymeric Augustin
a5cc99de24
[1.7.x] Documented django.setup().
...
Thanks Eric Holscher and Tim Graham for the review.
Backport of 58ed387
from master
2014-04-26 22:11:04 +02:00
Tim Graham
c064971e6b
[1.7.x] Fixed spelling errors in documentation.
...
Backport of b5ce21accb
from master
2014-04-16 09:39:25 -04:00
Andrew Godwin
a195ec847e
[1.7.x] Improve migrations/schema docs
2014-04-14 18:09:48 -04:00
Tim Graham
ddd25b280f
[1.7.x] Fixed #22194 -- Added --list-tags option to check command.
...
Thanks Elvard for the patch.
Backport of 395d75ea6b
from master
2014-04-10 09:44:43 -04:00
ejstronge
763b1d55e2
[1.7.x] Fixed small typo in django-admin.txt
...
The word 'by' seemed to be missing from the first line of the compilemessages command.
Backport of 5ca522b9ed
from master
2014-04-09 07:13:37 -04:00
Tim Graham
7eaf329ad3
[1.7.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
...
refs #14305 .
Thanks Adrian Klaver for the report.
Backport of 9b7ba8af1b
from master
2014-03-25 14:03:02 -04:00
Tim Graham
ce3d9f847d
Fixed typo in docs/ref/django-admin.txt
...
Thanks Wes Kendall for the report.
2014-03-11 08:09:44 -04:00
Claude Paroz
06efeae598
Added --previous flag to msgmerge command used by makemessages
...
Also took the opportunity to slightly refactor gettext options
so as to ease customization by subclassing the command.
Thanks Michal Čihař for the report and initial patch.
2014-03-06 10:20:01 +01:00
Tim Graham
1f5f015c32
Fixed spelling mistakes in docs.
2014-02-28 21:03:46 -05:00
Tim Graham
7f2505ad9e
Fixed doc typos.
2014-02-28 11:44:03 -05:00
Szczepan Cieślik
e816198034
Fixed docs typos.
2014-02-25 10:28:32 -05:00
Andrew Godwin
d5df7a0515
Fixed #21969 : Fix behaviour of initial_data with migrated apps
2014-02-09 12:22:59 +00:00
Russell Keith-Magee
e8920e96d0
Added a missing command to the command line examples for check.
...
Thanks to Bruno Renie for the report.
2014-01-20 20:46:21 +08:00
Russell Keith-Magee
b0602e935c
Corrected documentation typo.
...
Thanks to @cjerdonek for the report.
2014-01-20 19:48:06 +08:00
Russell Keith-Magee
9ddc358e8d
Corrected minor typo.
...
Thanks to @cjerdonek for the report.
2014-01-20 13:13:16 +08:00
Russell Keith-Magee
d818e0c9b2
Fixed #16905 -- Added extensible checks (nee validation) framework
...
This is the result of Christopher Medrela's 2013 Summer of Code project.
Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian
Apolloner, and Alex Gaynor for review notes along the way.
Also: Fixes #8579 , fixes #3055 , fixes #19844 .
2014-01-20 10:45:21 +08:00
Aymeric Augustin
80d74097b4
Stopped populating the app registry as a side effect.
...
Since it triggers imports, it shouldn't be done lightly.
This commit adds a public API for doing it explicitly, django.setup(),
and does it automatically when using manage.py and wsgi.py.
2013-12-30 22:11:17 +01:00
Aymeric Augustin
c81fae6b95
Used app_label instead of appname.
...
The last component of the dotted path to the application module is
consistently referenced as the application "label". For instance it's
AppConfig.label. appname could be confused with AppConfig.name, which is
the full dotted path.
2013-12-28 09:53:02 +01:00
Yaroslav Halchenko
80027d2c38
Unified listing of shell commands/code
...
- use code-block:: bash
- prefix the command with $
2013-12-25 15:19:14 -05:00
Ramiro Morales
12615dab78
Fixed #13476 -- Added support for color in console output under Windows.
...
Detect and use the services of the ANSICON third-party tool if it's
available.
2013-12-02 23:18:04 -03:00
Claude Paroz
50a8ab7cd1
Enabled makemessages to support several translation directories
...
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and
Tim Graham for the reviews.
Also fixes #16084 .
2013-11-30 11:00:23 +01:00
Ramiro Morales
62b393c5ae
Fixed #21488 -- Multiple locales treatment in i18n commands.
...
Removed multiple locales separated by commas variation (that wasn't
working as documented) in favor of simply allowing use of the
``--locale``/``-l`` options more than once for ``makemessages`` and
``compilemessages``.
Thanks Romain Beylerian for the report and Claude, Simon for their help.
8750296918
from stable/1.6.x.
2013-11-23 11:53:47 -03:00
Baptiste Mispelon
bc0413cbc6
Added more internal links in the management command documentation.
2013-11-18 19:25:28 +01:00
Bouke Haarsma
9367b9e828
Django should be capitalized in text
2013-11-02 20:15:40 +01:00
Bouke Haarsma
c3936c0d79
Fixed #9523 -- Restart runserver after translation MO files change
...
Thanks to Krzysztof Kulewski for the initial patch.
2013-11-02 10:29:07 +01:00
Unai Zalakain
15f82c7011
Fixed #9722 - used pyinotify as change detection system when available
...
Used pyinotify (when available) to replace the "pool-every-one-second"
mechanism in `django.utils.autoreload`.
Thanks Chris Lamb and Pascal Hartig for work on the patch.
2013-10-30 11:45:43 -04:00
Bouke Haarsma
9b7d38ed5a
Fixed #21210 -- Documented when runserver doesn't auto-restart.
...
Thanks gergely at polonkai.eu for the suggestion.
2013-10-14 10:36:18 -04:00
Claude Paroz
1e8eadc94e
Fixed #15888 -- Made tablename argument of createcachetable optional
...
Thanks Aymeric Augustin for the report and the documentation and
Tim Graham for the review.
2013-10-14 13:24:40 +02:00
Tai Lee
e527c0b6d8
Fixed #13252 -- Added ability to serialize with natural primary keys.
...
Added ``--natural-foreign`` and ``--natural-primary`` options and
deprecated the ``--natural`` option to the ``dumpdata`` management
command.
Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys``
arguments and deprecated the ``use_natural_keys`` argument to
``django.core.serializers.Serializer.serialize()``.
Thanks SmileyChris for the suggestion.
2013-10-11 12:52:57 -04:00
oz123
fca4c4826e
Fixed #21075 - Improved doc for calling call_command with arguments.
2013-09-10 09:17:47 -04:00
Andrew Godwin
efd1e6096e
Adding 'sqlmigrate' command and quote_parameter to support it.
2013-09-06 15:28:12 -05:00
Eric Boersma
4d13cc56de
Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
...
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
2013-09-05 20:14:58 -04:00