Commit Graph

123 Commits

Author SHA1 Message Date
Timothy Allen 7d20a7d88a Used "0" ip shortcut for runserver example. 2017-02-21 19:13:00 -05:00
Tim Graham ad36e5480d Explained the shell's $ prefix in tutorial 1.
Thanks Luke Sneeringer for the suggestion.
2017-02-09 09:33:42 -05:00
Tim Graham 415ae960bb Fixed capitalization of "URL pattern". 2016-07-06 15:31:12 -04:00
Daniel Rice 1f9deba1b3 Improved grammar in tutorial01. 2016-07-06 15:24:03 -04:00
Md. Sadaf Noor ed1c15d8fb Fixed #26829 -- Simplified version detection command in tutorial 2016-07-02 12:52:36 +02:00
Tim Graham f5ff5010cd Fixed #26483 -- Updated docs.python.org links to use Intersphinx. 2016-05-08 18:07:43 -04:00
Tim Graham 4323676ea5 Fixed #26255 -- Fixed orphaned include() reference following tutorial reordering. 2016-03-09 12:18:21 -05:00
Marten Kenbeek 6687f4dcbb Refs #21927 -- Added note about include() to tutorial. 2015-12-31 08:17:19 -05:00
Jon Dufresne 7aabd62380 Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:01:34 -05:00
Agnieszka Lasyk 1f8dad6915 Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:14 -05:00
Tim Graham 8a5a002f2f Made a couple tutorial corrections for Django 1.9. 2015-10-01 15:18:43 -04:00
Claude Paroz 64982cc2fb Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
Tim Graham 7f1168e387 Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
Marten Kenbeek 1e82094f1b Fixed #21927 -- Made application and instance namespaces more distinct.
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Edin Sarajlic 40f2325df6 Added migrations directory to file structure in tutorial 2015-06-04 10:59:36 +02:00
João Luiz Lorencetti 3653466bdf Fixed #24732 -- Reordered tutorial to cover basics before bells and whistles. 2015-05-28 14:07:39 -04:00
I am Clinton f3b51f5193 Made minor edits to docs/intro/tutorial01.text 2015-05-19 12:32:23 -04:00
Markus Holtermann c5cc332bf2 Fixed #24550 -- Added migration operation description to sqlmigrate output
Thanks Tim Graham for the review.
2015-03-30 16:31:20 +02:00
Alex Shaindlin dcdef1fe2e Improved wording in tutorial 1. 2015-02-27 17:53:11 -05:00
Tim Graham ff5e47e7a4 Corrected sqlmigrate output in tutorial 1. 2015-02-22 12:29:01 -05:00
Tim Graham 7901eccf2e Fixed #24371 -- Cautioned against trying to switch databases. 2015-02-22 10:11:18 -05:00
Sean Wang eba6dff581 Fixed #24358 -- Corrected code-block directives for console sessions. 2015-02-22 09:35:39 -05:00
darkryder 9ec8aa5e5d Fixed #24149 -- Normalized tuple settings to lists. 2015-02-03 14:59:45 -05:00
Tim Graham 7e8cf74dc7 Removed support for syncing apps without migrations per deprecation timeline.
Kept support for creating models without migrations when running tests
(especially for Django's test suite).
2015-01-18 15:58:06 -05:00
Tim Graham 4aa089a9a9 Removed support for custom SQL per deprecation timeline. 2015-01-17 10:16:06 -05:00
Tim Graham fed25f1105 Removed compatibility with Python 3.2. 2015-01-17 09:00:17 -05:00
Brian Scoles a6f0b6a98f Fixed typo in docs/intro/tutorial01.txt. 2014-12-25 06:56:23 -05:00
Claude Paroz 0a4b04fc23 Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
Tim Graham 0d1561d197 Fixed #23486 -- Corrected makemigrations output in tutorial 1.
Thanks nmarler for the report.
2014-09-15 20:27:52 -04:00
Tim Graham 62939aba99 Removed an admonition in the tutorial about the old project layout.
There are no supported versions that use the old layout (<=1.3).
2014-09-05 14:43:33 -04:00
Tim Graham 035f2e699c Fixed #23362 -- Clarified "database columns as attributes" in tutorial. 2014-08-26 10:00:33 -04:00
areski 9d6551204e Removed unnecessary code-block directives. 2014-08-19 16:44:25 -04:00
Baptiste Mispelon 5853c87a45 Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate. 2014-08-18 18:55:12 +02:00
Collin Anderson e075d2e66b Fixed #23148 -- Minor tweaks in tutorial code samples 2014-08-02 10:17:45 +02:00
Christoph Heer d47409831f Fixed #23067 -- Updated docs to use django-admin 2014-07-30 14:14:03 -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 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
Claude Paroz 680a0f08b1 Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02: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 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
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
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