summaryrefslogtreecommitdiff
path: root/docs/topics/http
AgeCommit message (Collapse)Author
2015-03-23[1.8.x] Fixed #13525 -- Added tests and docs for nested parameters in URL ↵Bas Peschier
patterns. When reversing, only outer parameters are used if captured parameters are nested. Added tests to check the edge cases and documentation for the behavior with an example to avoid it. Backport of 23a5d64f40b0f4a3fbfef7427ca793cb1df1034e from master
2015-02-03[1.8.x] Fixed #24168 -- Allowed selecting a template engine in a few APIs.Aymeric Augustin
Specifically in rendering shortcuts, template responses, and class-based views that return template responses. Also added a test for render_to_response(status=...) which was missing from fdbfc980. Thanks Tim and Carl for the review. Backport of 2133f31 from master. Conflicts: docs/topics/http/shortcuts.txt tests/generic_views/test_base.py
2015-01-16Fixed #24143 -- Encouraged use of Http404 messages for debugging.Keryn Knight
2015-01-10Wrote main documentation for templates.Aymeric Augustin
2014-12-28Deprecated current_app in TemplateResponse and render(_to_response).Aymeric Augustin
2014-12-28Deprecated some arguments of django.shortcuts.render(_to_response).Aymeric Augustin
dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms.
2014-11-27Fixed #14664 -- Logged a warning if MiddlewareNotUsed is raised in DEBUG mode.Berker Peksag
2014-11-23Deprecated dirs argument to override TEMPLATE_DIRS.Aymeric Augustin
Cancels 2f0566fa. Refs #4278.
2014-11-03Fixed versionchanged indentation in docs/.Berker Peksag
2014-10-16Fixed some intersphinx references.Tim Graham
2014-08-26Fixed #17707, #20734 -- Added examples to URL namespacing docs.Tim Graham
Thanks Daniele Procida for review.
2014-08-23Fixed #23344 -- Removed duplicate docs for file upload settings.Tim Graham
2014-08-19Removed unnecessary code-block directives.areski
2014-08-12Fixed #23276 -- Deprecated passing views as strings to url().Tim Graham
2014-08-06Removed a doc reference to the deprecated `mimetype` kwarg.Mohammed Attia
2014-08-04Fixed #23169 - Misc docs fixes.areski
2014-08-02Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docsErik Romijn
2014-07-30Fixed #23067 -- Updated docs to use django-adminChristoph Heer
2014-07-26Fixed #23097 -- Switched to new octal format in docsDavid Hoffman
2014-07-16Fixed #23023 -- Added warning against local-memory cache.Tim Graham
Thanks django at kerz.id.au.
2014-07-09Revert "Improve cookie based session backend docs." refs #20418Tim Graham
This reverts commit d9c01da1f8ba3d4e0947fd1d619c8f4a9b013360. This is poor advice as it breaks the test client login (refs #22934). We can add a note like this back after refs #22986 is resolved.
2014-06-24Fixed typo in middleware docs.Peter Kowalczyk
Function definition should have an ending colon.
2014-06-10Fixed #22801 -- Added 'www.' to diveintopython.net linksMaxime Turcotte
2014-06-03Fixed #22384 -- Deprecated reversing URLs by dotted path.Tim Graham
2014-06-01Fixed #21938 -- Moved documentation for error views to reference guide.Jonathan Lindén
2014-05-22Fixed #20816 -- Added hints about Django middleware orderingClaude Paroz
Thanks gthb Trac user for the report, kolypto StackOverflow user for the initial list and Tim Graham for the review.
2014-05-16Simplified an unnecessarily complex paragraph in view docsErik Romijn
2014-05-11Fixed #20936 -- When logging out/ending a session, don't create a new, empty ↵Matt Robenolt
session. Previously, when logging out, the existing session was overwritten by a new sessionid instead of deleting the session altogether. This behavior added overhead by creating a new session record in whichever backend was in use: db, cache, etc. This extra session is unnecessary at the time since no session data is meant to be preserved when explicitly logging out.
2014-04-25Fixed #22517, "view prefix" still referenced in urlconf docsBen Davis
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-04-08Fixed #9535 -- Added a reference guide for file upload classes.Anubhav Joshi
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-27Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().Tim Martin
Thanks cjerdonek for the report.
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-21Removed contrib.comments per deprecation timeline.Tim Graham
2014-02-25Fixed #12670 -- Added a note about permissions of files stored in ↵Rik
FILE_UPLOAD_TEMP_DIR. Thanks simon29 for the suggestion.
2014-02-14Fixed #21177 -- Made resolve_url support relative URLs.Antoine Catton
This fixes redirecting to relative URLs with django.shortcuts.redirect.
2014-01-22Always use parentheses when documenting a method with no arguments.Baptiste Mispelon
2014-01-22Don't show `self` in the list of arguments of a method.Baptiste Mispelon
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855.
2014-01-03Fixed a sentence in the session security docs; thanks claudep.Tim Graham
2013-12-30Fixed #21708 -- Added some headings to separate unrelated topics.Tim Graham
Thanks ashley at ashleymills.com for the suggestion.
2013-12-26Fixed #21582 -- Corrected URL namespace example.Tim Graham
Thanks oubiga for the report.
2013-12-13Fixed #21580 -- Clarified why render() does not return a TemplateResponse ↵johannes-gehrs
object.
2013-11-30Removed gender-based pronouns per [c0a2daad78].Tim Graham
2013-11-27Added a warning regarding risks in serving user uploaded media.Tim Graham
Thanks Preston Holmes for the draft text.
2013-11-24Fixed some unnescesarily gendered language in the docsAlex Gaynor
2013-11-22Removed unused import in docs/topics/http/sessions.txtTim Graham
2013-11-19Added more examples to the get_object_or_404 documentation.Baptiste Mispelon
2013-11-18Fixed typo in topics/http/sessions.txt.Tim Graham
2013-11-15Fixed #21440 -- Typo #2 in topics/http/shortcuts.txtTim Graham
Thanks alasdair.