Commit Graph

59 Commits

Author SHA1 Message Date
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
Rodolfo d34b94b00f Fixed #20876 -- Changed Poll model name in tutorial to Question 2013-09-07 13:37:09 -04:00
Tim Graham 31ee120787 Fixed #20667 - Removed discussion of DEBUG from tutorial.
Forward-port of 3493f18d78 from master.
2013-08-01 18:07:59 -04:00
Tim Graham fd95dc9e27 Fixed #20763 -- Typo in tutorial 3.
Thanks crichard@ for the report.
2013-07-18 07:58:51 -04:00
Tim Graham 6ef199a08e Fixed error in last commit. Thanks Simon Charette. 2013-06-20 10:41:29 -04:00
Harm Geerts df4a74d709 Modified tutorial 3 to use RequestContext in place of Context. 2013-06-20 09:58:01 -04:00
Tim Graham 4e94c84e50 Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTS 2013-06-09 15:05:15 -04:00
Tim Graham 9e65bd33db Fixed #20482 - Added a file reference in tutorial 3.
Thanks diek@ for the suggestion.
2013-05-23 08:36:53 -04:00
leandrafinger ddd9ee16fa Add missing imports to the examples in the 'First Steps' 2013-05-18 18:39:21 +02:00
Tim Graham 93cffc3b37 Added missing markup to docs. 2013-03-22 13:50:07 -04:00
Preston Holmes 17a28b39a8 Made a small clarification in tutorial.
refs #19889
2013-02-23 19:07:06 -08:00
Tim Graham 1b7fb29dfb Changed "mysite/mytemplates/" -> "mysite/templates" in tutorial.
Thanks James Pic.
2013-02-23 09:19:32 -05:00
Tim Graham aa85ccf8ce Fixed #19706 - Tweaks to the tutorial.
Thanks Daniele Procida.
2013-02-07 07:05:36 -05:00
Tim Graham 14d1d504d5 Fixed two malformed links. 2013-01-27 06:09:50 -05:00
Ben Longden 55a2d5b577 Removes PHP references 2012-12-13 13:20:47 +00:00
Tim Graham 08cf54990a Fixed #16671 - Added a tutorial on reuseable apps
Thank-you Katie Miller and Ben Sturmfels for the initial draft,
as well as Russ and Carl for the reviews.
2012-10-30 18:40:21 -04:00
Tim Graham 07abb7a6b7 Fixed #18715 - Refactored tutorial 3. Thank-you Daniel Greenfeld! 2012-10-15 19:47:26 -04:00
Claude Paroz 8bd7b598b6 Fixed #18807 -- Made 404.html and 500.html optional
Thanks Aymeric Augustin for the report and Jannis Leidel for the
review.
2012-09-30 23:16:19 +02:00
Aymeric Augustin 98b6ce60f4 Made a version condition less confusing.
Fixed #18762 (again).
2012-09-23 20:18:29 +02:00
Nick Martini 9ce58906af removed unused import from tutorial 3 documentation as per ticket #18915 2012-09-07 13:05:23 -04:00
Aymeric Augustin 4da1d0fd65 Added a warning about the {% url %} syntax change
at the point where it bites most beginners.

Refs #18787, #18762, #18756, #18723, #18705, #18689 and several duplicates.
2012-08-18 09:58:42 +02:00
Tim Graham 690ed57946 Fixed #18476 - Added use of {% url %} tag to tutorial.
Thanks Claude Paroz for the patch.
2012-07-29 18:14:26 -04:00
Claude Paroz 45284a90a5 Fixed #17929 -- Improved tutorial wording and capitalization.
Thanks rmattb for the report and the patch.
2012-05-25 21:49:47 +02:00
Aymeric Augustin 367379581f Fixed #18281 -- Misleading wording in the tutorial.
Thanks bhp for the report.
2012-05-11 12:43:43 +02:00
Adrian Holovaty 6ecadcbdd2 Made a bunch more edits up until [17418]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-03 20:45:45 +00:00
Carl Meyer 4c16e77230 Fixed #17538 -- corrected the section in tutorial 3 about the handler404 default. Thanks matt at brozowski dot com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-12 22:03:34 +00:00
Julien Phalip 726f082aa9 Fixed #17206 -- Fixed an outdated error message in the tutorial part 3. Thanks, rabio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 13:30:05 +00:00
Carl Meyer 7f658a5429 Refs #17171 -- Updated tutorial sections 3 and 4 to follow the startproject template and consistently use url() function in URLconf. Thanks haimunt for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-06 16:58:04 +00:00
Luke Plant d1e5c55258 Fixed many more ReST indentation errors, somehow accidentally missed from [16955]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14 00:12:01 +00:00
Julien Phalip c2b9f6496e Added some sphinx cross-reference links to the built-in template tags and filters in multiple areas of the documentation. Also fixed a few minor inconsistencies and did a little PEP8 cleanup while I was at it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-03 08:06:01 +00:00
Jannis Leidel 2eadc418af Fixed doc references to `django.db.models.query.QuerySet` and converted some tabs that were introduced in r16699 to spaces.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-30 10:28:39 +00:00
Ramiro Morales 26b8122087 Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage.
This applies to both our own [test] code and documentation examples. Also:
 * Moved the functions and handlers from `django.conf.urls.defaults` up to
   `django.conf.urls` deprecating the former module.
 * Added documentation for `handler403`.
 * Tweaked the URLs topic document a bit.

Thanks to pupeno and cdestigter for their great work contributing patches.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-11 22:36:16 +00:00
James Bennett 94524fbfef Fixed #16079: Clarified (for real this time) how handler404 and handler500 work, and that they only work in a root URLconf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-11 04:01:41 +00:00
Ramiro Morales 932b1b8d6d Converted links to external topics so they use intersphinx extension markup.
This allows to make these links more resilent to changes in the target URLs.
Thanks Jannis for the report and Aymeric Augustin for the patch.

Fixes #16586.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-04 21:17:30 +00:00
Jannis Leidel 8882c55496 Fixed #16169 -- Updated tutorial to match the current project template, specifically the urls.py. Thanks, aaugustin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 16:52:38 +00:00
Timo Graham 80d6089029 Fixed #16051 - Changed a "file" reference in the tutorial to be an actual file rather than a module; thanks felix.morency for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 00:12:48 +00:00
Luke Plant 7b8c38250c Fixed #15057 - documented change in [14992]
Thanks to Tai Lee for the patch.

Refs #15025, #7153

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13 13:47:21 +00:00
Timo Graham 5ba961e267 Fixed #14890 - Clarify poll "index" page in tutorial. thanks dbaggott for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:29:49 +00:00
Gabriel Hurley 7f2b36050e Fixed #10904 -- Corrected inappropriate usage of the term "absolute URL" throughout the docs. Replaced with the (RFC 2396-compliant) terms "absolute path reference" or "absolute path" as appropriate for the context. Thanks to sharan666 for the report, and Malcolm, Chris, and dwillis for their work in supplying a solution and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:42:55 +00:00
Gabriel Hurley f6824840a2 Fixed #14627 -- Made Tutorial 3 more explicit regarding the transformations the URLconf undergoes in the final two sections, and gave an example of concatenating two patterns() in the process. Thanks to filmer for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 10:06:30 +00:00
Gabriel Hurley d1a632f9f9 Fixed #14432 -- Added an import statement which was previously implied in tutorial 3's URLconf to make it as explicit as possible for new users. Thanks to gorus for the report and andrews for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20 21:18:58 +00:00
Russell Keith-Magee a904e55859 Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 08:12:50 +00:00
Simon Meers d81faf356c Fixed #14255 -- factor project name out of app imports in tutorial. Thanks to adamend for the report and initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:45:52 +00:00
Luke Plant 76366aab18 Fixed #13623 - code in intro-tutorial03 missing an import statement
Thanks to lescoutinhovr@gmail.com, AMJ for the report, and to zerok/timo for
the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 22:47:20 +00:00
Jacob Kaplan-Moss 728effcfbd Fixed #14141: docs now use the :doc: construct for links between documents.
Thanks, Ramiro Morales.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19 19:27:44 +00:00
Justin Bronn c736cbe816 Fixed #12958 -- Fixed typo I introduced in r12527. Thanks, mitchf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 22:11:49 +00:00
Justin Bronn bca753e283 Fixed #12485 -- Added links to polls templates in tutorial. Thanks, gungadin for ticket and Derek Willis for patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 15:00:33 +00:00
Justin Bronn 84cffa2ece Fixed #12585 -- Corrected typo in tutorial03. Thanks, fcsmith.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-22 02:29:39 +00:00
Russell Keith-Magee f14833ee67 Fixed #11959 -- Updated the tutorial to ensure that the admin site continues to work after URLpatterns are introduced. Thanks to carljm for the report and draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-14 13:38:31 +00:00
Russell Keith-Magee 8708280783 Fixed #11556 -- Clarified the argument required by get_object_or_404. Thanks to rbonvall for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 14:38:11 +00:00