Sjoerd Job Postmus
df41b5a05d
Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
...
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Tim Graham
9075805570
Refs #23276 -- Fixed explanation of how calling views works.
...
"Importing the view" is no longer applicable after
a9fd740d22
.
2017-08-31 11:57:46 -04:00
Timothy Allen
5fe9b7b40a
Fixed #28457 -- Updated the design of the 'Congrats' page for new Django projects.
...
Developed by Timothy Allen and Chad Whitman of The Wharton School with
shepherding from Aymeric Augustin and Collin Anderson.
2017-08-07 10:33:55 -04:00
Tim Graham
259875535b
Removed unneeded right quotes in docs to fix spelling errors.
...
A regression in pyenchant caused a problem:
https://github.com/rfk/pyenchant/issues/93
2017-07-18 08:24:49 -04:00
marton bognar
8274160520
Fixed #28361 -- Fixed possible time-related failure in was_published_recently() tutorial test.
...
Regression in 268a646353
.
2017-07-06 18:23:49 -04:00
Mariusz Felisiak
081e787160
Refs #23919 -- Stopped inheriting from object to define new style classes.
...
Tests and docs complement to cecc079168
.
2017-06-26 10:30:31 -04:00
Collin Anderson
1a49b89470
Fixed #27953 -- Added instance's pk to Model.__str__().
2017-06-09 13:42:53 -04:00
Tim Graham
23825b2494
Simplified tutorial's test names and docstrings.
2017-06-07 09:47:15 -04:00
Tim Graham
268a646353
Updated was_published_recently() tutorial test to check boundary condition.
2017-06-06 12:16:03 -04:00
Eric Theise
1b5b3710f1
Added some shell output in tutorial 2.
2017-05-25 13:43:21 -04:00
Claude Paroz
01f658644a
Updated various links in docs to avoid redirects
...
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Michiel Beijen
48028c6f9a
Pointed Dive into Python links to python3 site
...
The old site handles python2, and is thus no longer relevant for Django.
Also I pointed the search path links to the proper sections.
2017-05-20 15:32:35 +02:00
Michiel Beijen
5e8625ba64
Renamed "Mac OS X" to "macOS" in docs.
2017-04-24 20:16:09 -04:00
Tim Graham
45d65fc3f2
Fixed #28069 -- Moved setup_test_environment() warning in tutorial 5.
...
Updated for 17e661641d
.
2017-04-12 08:17:46 -04:00
Timothy Allen
7d20a7d88a
Used "0" ip shortcut for runserver example.
2017-02-21 19:13:00 -05:00
Tim Graham
5729272509
Clarified that creating a pull request for the tutorial isn't necessary.
2017-02-16 11:33:07 -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
Subhrajyoti Sen
f5bf11c72b
Fixed #26708 -- Updated the contributing tutorial to use a GitHub workflow.
2017-01-28 11:45:04 -05:00
Tim Graham
9d27478958
Refs #23919 -- Removed docs references to long integers.
2017-01-19 13:19:26 -05:00
Tim Graham
f6acd1d271
Refs #23919 -- Removed Python 2 notes in docs.
2017-01-18 11:51:29 -05:00
Claude Paroz
f3c43ad1fd
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
2017-01-18 13:44:34 +01:00
Tim Graham
991cd69621
Fixed #27711 -- Demoted "Installing a distribution-specific package" in install intro.
2017-01-10 09:29:23 -05:00
Adam Chainz
5eff8a7783
Fixed #25415 -- Made DiscoverRunner run system checks.
2016-12-29 12:33:24 -05:00
Daniel Musketa
66505b72c5
Updated doc links to virtualenv website.
2016-11-22 08:36:41 -05:00
Tim Graham
b741fe397a
Updated "fork Django on GitHub" link.
2016-11-04 05:47:49 +01:00
mark-summerfield
4584bc3a1e
Described PostgreSQL as more scalable than SQLite.
2016-10-27 09:14:04 -04:00
Tim Graham
d84ffcc22b
Updated "running the tests" to use 'pip install -e'.
2016-10-27 08:18:56 -04:00
Ankur Gupta
40d5011471
Fixed #27174 -- Explained where PollsConfig comes from in tutorial 2.
2016-09-07 14:12:53 -04:00
Tim Graham
cf2cd4053f
Fixed #27104 -- Corrected shell example in tutorial 5.
2016-08-24 09:11:50 -04:00
Tim Graham
b40d24960c
Fixed #27115 -- Corrected a screenshot in the tutorial.
2016-08-24 08:59:49 -04:00
Tim Graham
44c306218f
Fixed #27085 -- Corrected a screenshot in the tutorial.
2016-08-19 18:04:57 -04:00
Vincent Zhang
7b08e01c13
Refs #26747 -- Corrected a method name in tutorial05.
2016-08-19 11:10:28 -04:00
an0o0nym
2b759c94c5
Fixed #26952 -- Added tips for installing test suite dependencies.
2016-08-09 18:37:09 -04:00
Tim Graham
cd58f13fb6
Removed obsolete note about Sphinx version required for building docs.
2016-08-09 18:11:26 -04:00
Daniel Rice
08c723fbae
Reworded a sentence in tutorial 7.
2016-07-14 07:50:29 -04: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
Jon Dufresne
4f336f6652
Fixed #26747 -- Used more specific assertions in the Django test suite.
2016-06-16 14:19:18 -04:00
Ville Skyttä
96f97691ad
Fixed broken links in docs and comments.
2016-06-15 21:20:23 -04:00
John Karahalis
37b36af6c6
Fixed typo in docs/intro/tutorial07.txt
2016-06-09 11:15:39 -04:00
Tim Graham
6a316423df
Documented known Python 3.5+ test failures in contributing tutorial.
2016-06-06 10:49:44 -04:00
Ed Henderson
4a4d7f980e
Fixed #26021 -- Applied hanging indentation to docs.
2016-06-03 11:44:34 -04:00
shaunagm
44c7e5d374
Fixed #26701 -- Replaced /newticket links to Trac with /.
2016-06-03 08:48:12 -04:00
Tim Graham
f5ff5010cd
Fixed #26483 -- Updated docs.python.org links to use Intersphinx.
2016-05-08 18:07:43 -04:00
Tim Graham
f945fb24a3
Fixed #26554 -- Updated docs URLs to readthedocs.io
2016-04-28 10:09:57 -04:00
Denis Afonso
b1b05a017a
Fixed #26485 -- Fixed typo in docs/intro/tutorial07.
2016-04-10 14:19:54 -04:00
krishbharadwaj
361cb7a857
Fixed #26448 -- Added details for running tests with a different database backend.
2016-04-05 21:34:26 -04:00
Joshua Pereyda
0c0e8f0a62
Fixed #26416 -- Fixed references to previous tutorial numbers in docs/intro/reusable-apps.txt.
2016-03-28 18:30:30 -04:00
Tim Graham
4323676ea5
Fixed #26255 -- Fixed orphaned include() reference following tutorial reordering.
2016-03-09 12:18:21 -05:00
Tim Graham
602a38d87e
Fixed #26339 -- Updated Question.was_published_recently() in tutorial 7 to reflect changes in tutorial 5.
2016-03-09 11:21:33 -05:00
Tim Graham
9ed4a788aa
Refs #26312 -- Reworded tutorial 2 to avoid spelling "error".
2016-03-05 10:58:45 -05:00
Bob McDonald
b388c294eb
Fixed #26312 -- Documented "create database" requirement in tutorial 2.
2016-03-05 09:09:00 -05:00
Ryan Nowakowski
11af73eaeb
Fixed #26221 -- Used find_packages() in reusable apps tutorial.
...
Otherwise the migrations package won't be included in the tarball.
2016-02-15 19:25:26 -05:00
Manish Rastogi
ad216381fc
Fixed #26169 -- Fixed tutorial reference in reusable apps tutorial.
2016-02-04 07:39:12 -05:00
KimberleyLawrence
ca4afc77db
Clarified "same as above" tutorial comment.
2016-02-01 16:37:59 -05:00
Markus Holtermann
4b0118465b
Fixed #26150 -- Sorted app_labels in migrate command output
2016-01-29 10:26:04 +11:00
Tim Graham
2d36c7d515
Added Django version trove classifier to reusable apps tutorial.
2016-01-24 08:35:47 -05:00
Tim Graham
145e9ca301
Updated Python trove classifiers in reusable apps tutorial.
2016-01-23 17:40:41 -05:00
Elif T. Kus
bca9faae95
Fixed #26020 -- Normalized header stylings in docs.
2016-01-22 12:12:17 -05:00
Mahendra Yadav
e8c34bb832
Added a missing import in tutorial 3.
2016-01-02 09:39:25 -05:00
Marten Kenbeek
16411b8400
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
...
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Marten Kenbeek
6687f4dcbb
Refs #21927 -- Added note about include() to tutorial.
2015-12-31 08:17:19 -05:00
Alasdair Nicol
32c7d93e5f
Fixed #25854 -- Removed deprecated usage of template.render() with RequestContext in docs.
2015-12-23 18:30:35 -05:00
Niels Van Och
99a1265a39
Fixed #25063 -- Added path to makemigration's output of migration file.
2015-12-18 11:20:00 -05:00
Tim Graham
4cd24bb67c
Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.
2015-12-14 08:56:30 -05:00
Johannes Hoppe
cf546e11ac
Fixed #21221 -- Made form Media and static template tag use staticfiles if installed.
2015-12-10 14:30:19 -05:00
Qile Wang
0f2c2c104b
Clarified a docstring in tutorial05.
2015-12-07 18:52:25 -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
Curtis Maloney
35440ceab7
Optimized docs images and documented the process.
2015-10-24 14:57:21 -04:00
薛丞宏
484edc81c1
Clarified that the test client response content attribute is bytes.
2015-10-23 14:26:19 -04:00
Tim Graham
e0837f2cb1
Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list.
2015-10-06 12:38:34 -04:00
Tim Graham
8a5a002f2f
Made a couple tutorial corrections for Django 1.9.
2015-10-01 15:18:43 -04:00
Tim Graham
1515b6a8b3
Removed an old note (Django 1.4-era) from the tutorial.
2015-10-01 14:51:22 -04:00
Tim Graham
de99f558d8
Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
2015-09-25 13:28:12 -04:00
Mariusz Felisiak
6f1b09bb5c
Made assorted improvements to the Oracle documentation.
2015-09-18 09:47:32 -04:00
Tim Graham
862de0b254
Fixed #25356 -- Removed default_app_config from startapp template.
...
Also discouraged its use outside the intended use case.
2015-09-07 15:23:11 -04:00
elky
b929d2d09d
Fixed #25200 -- Updated tutorial screenshots for new admin theme.
2015-09-07 08:36:55 -04:00
Alasdair Nicol
19f98946f2
Fixed #25358 -- Improved variable name for question in tutorial.
2015-09-07 08:13:34 -04:00
Tim Graham
bda408f60b
Fixed #25153 -- Moved 'polls' first in tutorial's INSTALLED_APPS.
2015-08-19 18:59:42 -04:00
Claude Paroz
64982cc2fb
Updated Wikipedia links to use https
2015-08-08 12:02:32 +02:00
Caio Ariede
ec9004728e
Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.
2015-08-07 09:33:17 -04:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Alasdair Nicol
600fb7c51b
Fixed #25161 -- Encouraged users to install the latest release in docs
2015-07-24 13:36:08 -04:00
Tim Graham
bdfce4db21
Removed a confusing sentence in tutorial 5.
2015-07-08 15:11:40 -04:00
Tim Graham
7f1168e387
Removed support for Python 3.3.
2015-06-18 08:36:50 -04:00
Markus Amalthea Magnuson
fb1ba4d63e
Fixed #24943 -- Updated contributing tutorial to use virtualenv
2015-06-15 18:38:16 -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
Markus Amalthea Magnuson
3fd754f12d
Fixed #24907 -- Updated contributing tutorial with a more recent example ticket.
2015-06-06 08:36:50 -04:00
Raphael Michel
3e9b5bfd9c
Fixed #7060 -- Added a note about race conditions to the tutorial
2015-06-04 09:40:59 -04:00
Edin Sarajlic
40f2325df6
Added migrations directory to file structure in tutorial
2015-06-04 10:59:36 +02:00
Curtis
44eef25463
Optimise tutorial images
2015-05-29 14:56:38 +10: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
Kamran Mackey
4c2197db32
Updated the Python shell example to use generic version numbers.
2015-05-16 08:35:58 -04:00
Jacob Kaplan-Moss
f043434174
Added link to the code of conduct from contributing guides.
...
This is inspired by Angluar.js
(https://github.com/angular/angular/blob/master/CONTRIBUTING.md ), among others.
Thanks to Jeff Triplett for the prod.
2015-04-17 18:12:41 -04:00
Marios Zindilis
7a7c797234
Fixed typo in docs/intro/tutorial02.txt
2015-04-07 07:41:05 -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
Tim Graham
2acf9d099d
Fixed #24519 -- Clarified location of templates directory in tutorial 2.
2015-03-27 09:57:58 -04:00