Commit Graph

314 Commits

Author SHA1 Message Date
Tim Graham 299e7718cf [1.7.x] Fixed #23907 -- Added admin.site.register in tutorial 2 for consistency.
Backport of 1dbdc03382 from master
2014-11-24 15:59:43 -05:00
Tim Graham 5a6d6c5e0b [1.7.x] Fixed #23855 -- Removed unnecessary all() in tutorial 3.
Backport of 8fce797830 from master
2014-11-17 18:12:19 +01:00
Tim Graham b050dc46a9 [1.7.x] Fixed #23588 -- Added a link in tutorial for list_display options.
Backport of 3a550bb6d3 from master
2014-11-13 20:16:29 +01:00
Tim Graham 6f2658aa34 [1.7.x] Replaced dead links to python-distribute.org.
Backport of dc241fdfdf from master
2014-10-24 18:59:17 -04:00
Tim Graham b2f7b517e5 [1.7.x] Fixed #23587 -- Clarified admin template overriding in tutorial 2.
Thanks Petrus van Bork for the report.

Backport of e949f4435f from master
2014-10-08 08:19:33 -04:00
velis74 1c1f418802 [1.7.x] Fixed #23535 -- Updated tutorial to account for default filter added in 5ea34f3f86.
Backport of 24aa85cea9 from master
2014-09-22 15:24:48 -04:00
Tim Graham fdcef1b863 [1.7.x] Fixed #23491 -- Clarified tutorial 3.
Thanks diek for the suggestion.

Backport of 54fd84e432 from master
2014-09-17 08:42:55 -04:00
Tim Graham 68ab3b1ac1 [1.7.x] Fixed #23486 -- Corrected makemigrations output in tutorial 1.
Thanks nmarler for the report.

Backport of 0d1561d197 from master
2014-09-15 20:28:49 -04:00
Tim Graham 2b48171081 [1.7.x] Fixed #23438 -- Added snippet & imports to docs/intro/overview.txt.
Backport of 88c4e01d34 from master
2014-09-06 07:36:02 -04:00
Tim Graham 808722e062 [1.7.x] Fixed #23362 -- Clarified "database columns as attributes" in tutorial.
Backport of 035f2e699c from master
2014-08-26 10:07:57 -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
Collin Anderson 8f9dd9f256 [1.7.x] Refs #23276: Removed bad examples of passing views as strings to url()
partial backport of a9fd740d22 from master
2014-08-12 14:44:09 -04:00
Tim Graham 0014d5b305 [1.7.x] Updated links for continous integration server.
Backport of 21d0ceefb5 from master
2014-08-05 07:28:54 -04:00
Erik Romijn 893f188386 [1.7.x] Fixed #23148 -- Minor tweaks in tutorial code samples
Backport of e075d2e66b from master.
2014-08-02 10:26:08 +02:00
Rikki 04030acb85 [1.7.x] Added warning in tutorial 4 that the regex capture group name has changed.
Backport of 731f313d60 from master
2014-07-22 14:00:47 -04:00
Dean Silfen 63ae8de8fc [1.7.x] Edited setup.py in reuseable apps tutorial to use a context manager for open().
Backport of b8d255071e from master
2014-07-16 14:26:04 -04:00
Claude Paroz 2b8f22a578 [1.7.x] Included irc link in paragraph to allow for l10n
Translators may want to change the irc link pointing to a
language-specific channel.
Backport of 232f2028d5 from master.
2014-07-01 21:56:28 +02:00
Tim Graham 8e48ca47e9 [1.7.x] Fixed #22912 -- Warned about a common mistake in tutorial 5.
Backport of 1e8411259f from master
2014-06-27 09:51:55 -04:00
Tim Graham d38e3bfe5a [1.7.x] Fixed #22888 -- Removed some unnecessary text in tutorial 3.
Backport of 1bbffe7867 from master
2014-06-23 09:11:10 -04:00
Maxime Turcotte 0b871ec22a [1.7.x] Fixed #22836 -- Linked tutorial05 to the right section of tutorial04.
Backport of 608aa8d101 from master
2014-06-20 08:16:53 -04:00
vagrant 44a50603d4 [1.7.x] Fixed #22842
Backport of 7a1f8414c3 from master.
2014-06-16 08:45:58 +02: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
Tom 2dd52d0433 [1.7.x] Reordered tutorial 1 so that the database is configured first.
This change is required after the introduction of
SessionAuthenticationMiddleware to the default middleware

Backport of 6923fdbbf1 from master
2014-05-05 13:42:36 -04:00
Brenda J. Butler 35b7dd4ddb [1.7.x] Fixed #22558 -- Added missing word in contributing docs
Backport of c8d257e81 from master.
2014-05-02 08:29:20 +02:00
Tim Graham 3cd1db9121 [1.7.x] Fixed #22547 -- Added some links to tutorial 2.
Thanks bjb at sourcer.ca for the suggestion.

Backport of b0d032f9fc from master
2014-04-30 18:25:32 -04:00
Moayad Mardini c0d5521e69 [1.7.x] Fixed #22546 -- Removed idioms in tutorial 2.
Thanks bjb at sourcerer.ca for the suggestion.

Backport of 927245ccd8 from master
2014-04-30 18:02:00 -04:00
Claude Paroz e441cebce3 [1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
2014-04-26 16:03:40 +02:00
Tim Graham 1816baf4f7 [1.7.x] Fixed #22472 -- Clarified meaning of dots in tutorial 4 code block.
Backport of 6b2ce38c49 from master
2014-04-18 15:03:57 -04:00
Tim Graham 8edba6eb90 [1.7.x] Fixed #22453 -- Corrected DoesNotExist message in docs.
Thanks Eugenio Cano-Manuel.

Backport of eefad142de from master
2014-04-16 08:37:24 -04:00
Tim Graham 8158557f22 [1.7.x] Added Python 3.4 to list of supported version in docs/intro/install.txt
Backport of a1fa6fcabc from master
2014-04-08 11:13:36 -04:00
Jeremy Dunck 0e52b2863b Substituted 'shortcut function' for 'factory method' in tutorial
Many newbies don't know what a factory method is, nor is it pertinent to the
information the tutorial hopes to convey.
2014-03-09 14:07:39 -07:00
Baptiste Mispelon ea4da8e63c Fixed some typos in the documentation.
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
2014-03-02 17:05:57 +01:00
Tim Graham 1f5f015c32 Fixed spelling mistakes in docs. 2014-02-28 21:03:46 -05:00
Greg Chapple 2f25cdc18a Fixed #22129 -- Added steps for creating superusers to tutorial. 2014-02-28 08:10:07 -05:00
Szczepan Cieślik e816198034 Fixed docs typos. 2014-02-25 10:28:32 -05:00
Zbigniew Siciarz 74d4d58b62 Fixed #21939 -- Deprecated loading ssi/url tags from future. 2014-02-16 13:25:21 +01:00
Alasdair Nicol f3805f5c52 Added missing snippet to show filename in docs 2014-02-14 12:45:35 +00:00
Alasdair Nicol 8aa1efff6d Fixed #21951 -- Updated docs to use __str__ for Python 3
Thanks Tim Graham for the report and recommendations
2014-02-13 07:12:40 -05:00
Aymeric Augustin 2ff93e027c Fixed #21829 -- Added default AppConfigs.
Thanks Russell for the report, Marc for the initial patch, Carl for the
final review, and everyone who contributed to the design discussion.
2014-01-25 10:41:56 +01: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 10e0cfc0e4 Fixed #21712 -- Moved autodiscover() to AdminConfig.ready().
Thanks Marc Tamlyn for the initial version of the patch.
2014-01-18 23:06:00 +01:00
Tianyi Wang e6800ea136 Fixed #21728 -- Corrected an inadvertent path change in docs/intro/contributing.txt. 2014-01-03 11:59:15 -05:00
Tim Graham 9953e98e6a Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.
Thanks cjerdonek for the suggestion.
2013-12-31 08:14:09 -05:00
Tim Graham ec020cab7e Fixed a broken link in docs/intro/tutorial01.txt. 2013-12-30 17:59:18 -05: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 99649ddcb2 Assumed Python 3 throughout docs/intro.
Various small fixes while I was proof-reading.
2013-12-30 19:09:45 +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
Aymeric Augustin 9b8192ce51 Updated a few doc paragraphs following the app-loading refactor. 2013-12-24 17:20:11 +01:00
Tim Graham cc2d960274 Fixed #21613 -- Removed a hardcoded input id from the tutorial.
Thanks Bruno Brouard for the report.
2013-12-18 18:36:01 -05:00