Commit Graph

511 Commits

Author SHA1 Message Date
Mariusz Felisiak 35319bf12c
Alphabetized imports in various docs.
Follow-up of d97cce3409 and 7d3fe36c62.
2018-05-12 19:37:42 +02:00
Burhanuddin Baharuddin c2598a6f4d Clarified wording in tutorial text. 2018-04-19 11:09:38 +02:00
Brett Cannon 64b74804c5 Fixed #29334 -- Updated pypi.python.org URLs to pypi.org. 2018-04-17 20:24:27 -04:00
Melissa Lewis d97cce3409 isorted import statements in tutorial example 2018-03-22 08:53:56 +01:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) c4fa0143f7 Removed "Remove any old versions of Django" install instructions.
They are obsolete given the prevalence of pip.
2018-02-26 08:58:56 -05:00
Roger Erens a94fd8a8d9 Used a CSS positioning in tutorial 6 that doesn't differ across browsers.
Otherwise in Firefox, the <html> and <body> elements take just as much height
is needed for the content and so the image doesn't appear at the bottom of the
window.
2018-02-21 12:07:24 -05:00
Tim Graham 4775dcb521 Renamed the "Supported versions" label. 2018-01-31 10:17:06 -05:00
Christoph Zwerschke d4bbd3f418 Corrected an explanation in tutorial 5. 2018-01-29 12:48:37 -05:00
Devin Mork 2e625095fe Made instructions for shell launch in tutorial 5 more explicit. 2018-01-23 18:10:59 -05:00
Jon Dufresne ff05de760c Fixed #29038 -- Removed closing slash from HTML void tags. 2018-01-21 02:09:10 -05:00
Ramiro Morales 37c17846ad Fixed #28343 -- Add an OS chooser for docs command line examples. 2018-01-20 12:38:48 -05:00
Tim Graham afd50a3019 Replaced "trunk" with "master branch" in docs. 2018-01-18 16:30:38 -05:00
Tim Graham a8e492bc81
Removed note in tutorial about bypassing manage.py.
This isn't relevant for beginners.
2018-01-11 19:05:59 -05:00
Claude Paroz 23b21db31b Fixed #28594 -- Removed Jython docs and specific code
Thanks Andrey Martyanov for the reporti, and Tim Graham for the review.
2017-12-23 10:26:32 +01:00
Daniel Hepper 4dcd7723d5 Fixed #28938 -- Corrected Python compatibility in the tutorial. 2017-12-18 08:51:36 -10:00
Claude Paroz f2ec896912 Removed 'development' word in contributing docs 2017-12-05 18:42:37 +01:00
Tim Graham cfff2af02b Fixed #27857 -- Dropped support for Python 3.4. 2017-09-25 17:11:03 -04:00
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