Commit Graph

303 Commits

Author SHA1 Message Date
Rikki 731f313d60 Added warning in tutorial 4 that the regex capture group name has changed. 2014-07-22 14:00:22 -04:00
Dean Silfen b8d255071e Edited setup.py in reuseable apps tutorial to use a context manager for open(). 2014-07-16 14:21:27 -04:00
Claude Paroz 232f2028d5 Included irc link in paragraph to allow for l10n
Translators may want to change the irc link pointing to a
language-specific channel.
2014-07-01 21:54:32 +02:00
Tim Graham 1e8411259f Fixed #22912 -- Warned about a common mistake in tutorial 5. 2014-06-27 09:51:21 -04:00
Tim Graham 1bbffe7867 Fixed #22888 -- Removed some unnecessary text in tutorial 3. 2014-06-23 09:10:44 -04:00
Maxime Turcotte 608aa8d101 Fixed #22836 -- Linked tutorial05 to the right section of tutorial04. 2014-06-20 08:14:17 -04:00
Collin Anderson a8fa96796f Tutorial: Consistent url syntax 2014-06-17 12:23:26 -04:00
vagrant 7a1f8414c3 Fixed #22842 2014-06-15 10:44:33 +00:00
Maxime Turcotte f97c53c098 Fixed #22801 -- Added 'www.' to diveintopython.net links 2014-06-10 15:38:25 -04:00
Tim Graham 93d05536fd Fixed #22770 -- Removed create_superuser from post_migrate signals.
Moved logic to syncdb command for backwards compatibility.
2014-06-10 14:37:37 -04:00
Tom 6923fdbbf1 Reordered tutorial 1 so that the database is configured first.
This change is required after the introduction of
SessionAuthenticationMiddleware to the default middleware
2014-05-05 13:34:46 -04:00
Brenda J. Butler c8d257e81d Fixed #22558 -- Added missing word in contributing docs 2014-05-02 08:28:07 +02:00
Tim Graham b0d032f9fc Fixed #22547 -- Added some links to tutorial 2.
Thanks bjb at sourcer.ca for the suggestion.
2014-04-30 18:22:43 -04:00
Moayad Mardini 927245ccd8 Fixed #22546 -- Removed idioms in tutorial 2.
Thanks bjb at sourcerer.ca for the suggestion.
2014-04-30 18:01:35 -04:00
Claude Paroz 680a0f08b1 Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
Tim Graham 6b2ce38c49 Fixed #22472 -- Clarified meaning of dots in tutorial 4 code block. 2014-04-18 12:10:46 -04:00
chriscauley 66ec9ee441 Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.
Thanks tomwys for the suggestion.
2014-04-16 20:36:29 -04:00
Tim Graham eefad142de Fixed #22453 -- Corrected DoesNotExist message in docs.
Thanks Eugenio Cano-Manuel.
2014-04-16 08:36:02 -04:00
Tim Graham a1fa6fcabc Added Python 3.4 to list of supported version in docs/intro/install.txt 2014-04-08 11:13:05 -04:00
Tim Graham d73d0e071c Fixed #22218 -- Deprecated django.conf.urls.patterns.
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-03 07:28:10 -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
Chris Jerdonek e1cfc4b96a Fixed link text for "Testing in Django" in tutorial 5. 2013-12-14 10:41:26 -05:00
Claude Paroz 626bdf648a Updated a bunch of hyperlinks in documentation 2013-12-08 18:40:09 +01:00
Alasdair Nicol 317fd13c7a Fixed #21562 -- Warned against using the same app name as a django contrib app.
Thanks yourcelf for the report.
2013-12-05 19:09:45 -05:00
Andrew Godwin 0b3c8fc851 Update tutorial part 1 to discuss migrations properly 2013-11-27 16:29:49 +00:00
Loic Bistuer 27f04e79b1 Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs. 2013-11-21 15:12:39 +01:00
Dražen Lučanin b5eef8535a Recommended setuptools in the reuseable app tutorial.
setuptools has merged with distribute.
2013-11-19 13:57:17 -05:00
Tim Graham 6c5f5b9a41 Fixed typo in tutorial 2; refs #21418. 2013-11-10 06:10:13 -05:00
Tim Graham af2dc4ebb8 Fixed doc typo. 2013-11-09 10:09:25 -05:00
Vajrasky Kok 10a39debb2 Fixed #21378 -- Updated tutorial02 for how to override admin site header. 2013-11-09 07:18:46 -05:00
Phil Elson 2110b31365 Fixed indentation of example in tutuorial 2. 2013-10-22 08:10:56 -04:00
M Nasimul Haque d07d6ae116 Fixed #20910 -- Added a "snippet" sphinx directive to allow prefixing a filename.
Thanks Marc Tamlyn for the suggestion.
2013-10-14 13:00:57 -04:00