summaryrefslogtreecommitdiff
path: root/django/conf/urls
AgeCommit message (Collapse)Author
2023-01-18Refs #34233 -- Used @functools.cache.Nick Pope
Python 3.9+ supports @functools.cache as an alias for @functools.lru_cache(maxsize=None).
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-01-14Refs #31534 -- Removed django.conf.urls.url() per deprecation timeline.Mariusz Felisiak
2020-05-23Refs #31534 -- Improved django.conf.urls.url() warning message with ↵Jon Dufresne
stacklevel=2. Use stacklevel=2 to show the calling site.
2020-05-05Fixed #31534 -- Deprecated django.conf.urls.url().David Smith
2018-07-24Fixed #24336 -- Made django.conf.urls.static() ignore all absolute URLsClaude Paroz
2017-11-08Refs #28593 -- Updated old class names in comments following URL routing ↵Andrei Fokau
changes.
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
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-13Refs #28593 -- Moved django.conf.urls.include() to django.urls().Tim Graham
The old location remains for backwards compatibility. Documentation will be updated separately along with the rest of the URL routing changes.
2017-03-04Refs #27656 -- Updated remaining docstring verbs according to PEP 257.Anton Samarchyan
2017-02-22Fixed typos in code comments.Anton Samarchyan
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-27Fixed #27748 -- Switched HTTP error handlers to reference callables instead ↵Dmitry Gladkov
of strings.
2017-01-27Improved test coverage and error messages for conf.urls.__init__.Anton Samarchyan
2017-01-26Slightly simplified django.conf.urls.static.static().Anton Samarchyan
2017-01-18Refs #23919 -- Stopped using django.utils.lru_cache().Aymeric Augustin
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-17Refs #21927 -- Removed include()'s app_name argument per deprecation timeline.Tim Graham
Also removed support for passing a 3-tuple to include() and support for setting an instance namespace without an application namespace. Thanks Marten Kenbeek for completing the patch.
2016-07-24Fixed #26945 -- Ensured that i18n_patterns returns a listAlex Hill
2016-03-08Fixed #25933 -- Allowed an unprefixed default language in i18n_patterns().Krzysztof Urbaniak
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-09-23Refs #22384 -- Removed the ability to reverse URLs by dotted path per ↵Tim Graham
deprecation timeline.
2015-09-23Refs #23276 -- Removed passing views as strings to url() per deprecation ↵Tim Graham
timeline.
2015-09-23Refs #22218 -- Removed conf.urls.patterns() per deprecation timeline.Tim Graham
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-08Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek
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-02-12Fixed #17716 -- Prevented include('...', app_name='...') without a namespace.Tim Graham
2014-08-12Fixed #23276 -- Deprecated passing views as strings to url().Tim Graham
2014-04-03Cleaned up string detection for a deprecation warning by using six.string_types.Tim Graham
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-21Removed django.views.defaults.shortcut and django.conf.urls.shortcut per ↵Tim Graham
deprecation timeline.
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
2013-10-31Started attackign the next flake8 violationAlex Gaynor
2013-10-24Start attacking E231 violationsAlex Gaynor
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-07-29Deprecated django.utils.importlibClaude Paroz
This was a shim for pre-Python 2.7 support.
2013-06-29Advanced deprecation warnings for Django 1.7.Aymeric Augustin
2013-05-25Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.Preston Holmes
SuspiciousOperations have been differentiated into subclasses, and are now logged to a 'django.security.*' logger. SuspiciousOperations that reach django.core.handlers.base.BaseHandler will now return a 400 instead of a 500. Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft for review.
2013-03-14Deprecated django.views.defaults.shortcut.Aymeric Augustin
2012-12-29Removed django.conf.urls.defaults.Aymeric Augustin
2012-08-04Fixed #18700 -- Added URL reversal for i18n set_language view.Simon Meers
2012-07-22[py3] Replaced basestring by six.string_types.Aymeric Augustin
2012-05-03Fixed #18042 -- Advanced deprecation warnings.Aymeric Augustin
Thanks Ramiro for the patch.
2011-09-11Fixed #14675 -- Completed removal of `from django.conf.urls.default import ↵Ramiro Morales
*` 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-08-12Fixed #9847 -- Added 403 response handler. Many thanks to kgrandis, ↵Jannis Leidel
adamnelson, vkryachko, fvox13 and Chris Beaven. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-15Fixed #11585 -- Added ability to translate and prefix URL patterns with a ↵Jannis Leidel
language code as an alternative method for language discovery. Many thanks to Orne Brocaar for his initial work and Carl Meyer for feedback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-15Fixed #15598 -- Updated static URL helper to be no-op on non-local prefixes. ↵Jannis Leidel
Thanks, traff. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16Fixed #15314 -- Added tests for the static URL pattern function added in ↵Jannis Leidel
r15530 and made sure the **kwargs are passed to the view correctly. Thanks for the report and initial patch, Bruno Renié. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15552 bcc190cf-cafb-0310-a4f2-bffc1f526a37