Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/urlpatterns_reverse
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25668 -- Misc spelling errorsVille Skyttä2015-11-031-4/+4
|
* Fixed "URLconf" spelling in code comments.Tim Graham2015-10-221-3/+3
|
* Refs #22384 -- Removed the ability to reverse URLs by ↵Tim Graham2015-09-245-72/+17
| | | | dotted path per deprecation timeline.
* Refs #22218 -- Removed conf.urls.patterns() per ↵Tim Graham2015-09-242-96/+82
| | | | deprecation timeline.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-122-41/+163
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-244-19/+19
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #14200 -- Added a fallback if HttpRequest.urlconf ↵Marten Kenbeek2015-06-211-1/+11
| | | | | | | | is None. Made BaseHandler fall back to settings.ROOT_URLCONF if HttpRequest.urlconf is set to None, rather than raising ImproperlyConfigured.
* Fixed #21927 -- Made application and instance namespaces ↵Marten Kenbeek2015-06-083-17/+130
| | | | | | | | 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.
* Fixed #24906 -- Fixed ResolverMatch.app_name for nested ↵Marten Kenbeek2015-06-062-15/+19
| | | | | | | namespaces. Set ResolverMatch.app_name to the full path of nested application namespaces.
* Fixed #24904 -- Fixed nested namespaces in current_app.Marten Kenbeek2015-06-052-0/+49
| | | | | Fixed reverse() to correctly handled nested namespace lookups in current_app.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-12/+12
|
* Fixed #24707 -- Improved error reporting for explicitly ↵Harry2015-04-263-4/+7
| | | | imported uncallable views
* Fixed #16362 -- Allowed lookaround assertions in URL ↵Bas Peschier2015-03-232-0/+51
| | | | patterns.
* Fixed #13525 -- Added tests and docs for nested ↵Bas Peschier2015-03-232-0/+23
| | | | | | | | parameters in URL 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.
* Fixed #24476 -- Added context manager/decorator for ↵Bas Peschier2015-03-181-12/+19
| | | | | | | | overriding script prefix. Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager.
* Cleaned up urlpatterns_reverse tests.Bas Peschier2015-03-131-18/+19
|
* Fixed #24013 -- Fixed escaping of reverse() prefix.Bas Peschier2015-03-131-5/+18
| | | | | | Prefix was treated as a part of the url pattern, which it is not. Improved tests to conform with RFC 3986 which allows certain characters in path segments without being escaped.
* Fixed #12943 -- Allowed unnamed arguments to be ↵Bas Peschier2015-03-122-0/+3
| | | | | | | | propagated in includes Propagated unnamed arguments as positional arguments into included URLconfs if no named arguments are defined. Positional and keyword arguments are never combined.
* Added missing import from last commit.Tim Graham2015-02-121-1/+3
|
* Fixed #17716 -- Prevented include('...', app_name='...') ↵Tim Graham2015-02-121-1/+9
| | | | without a namespace.
* Fixed E265 comment styleCollin Anderson2015-02-061-1/+0
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-0617-34/+23
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-12/+12
|
* Fixed #24252 -- Forced lazy __str__ to utf-8 on Python 2Claude Paroz2015-02-031-0/+11
| | | | | Thanks Stanislas Guerra for the report and Tomas Ehrlich for the review.
* Changed RedirectView.permanent to False per deprecation ↵Tim Graham2015-01-182-3/+2
| | | | timeline; refs #21587.
* Removed the validate management command per deprecation ↵Tim Graham2015-01-181-1/+1
| | | | timeline.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-14/+11
|
* Fixed #23923 -- Promoted Django's deprecation warnings ↵Tim Graham2014-11-293-7/+10
| | | | to errors in runtests.py
* Corrected deprecation warnings for RedirectView; refs ↵Berker Peksag2014-11-282-6/+5
| | | | #21587.
* Fixed #21587 -- Added a warning for changing default of ↵Berker Peksag2014-11-251-3/+5
| | | | RedirectView.permanent.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-2/+2
| | | | Django test suite.
* Fixed #23522 -- Changed reverse() to return a Unicode ↵Jon Dufresne2014-10-071-0/+7
| | | | string; not bytes
* Prevented reverse() from generating URLs pointing to ↵Florian Apolloner2014-08-202-0/+6
| | | | | | other hosts. This is a security fix. Disclosure following shortly.
* Fixed #23276 -- Deprecated passing views as strings to ↵Tim Graham2014-08-123-29/+33
| | | | url().
* Fixed #22223 -- Prevented over-escaping URLs in reverse()Claude Paroz2014-07-091-1/+1
| | | | | | | And follow more closely the class of characters defined in the RFC 3986. Thanks Erik van Zijst for the report and the initial patch, and Tim Graham for the review.
* Refactored common code in handlers/base.py and ↵Anubhav Joshi2014-06-231-6/+6
| | | | urlresolvers.py
* Added database migration for contrib.auth.Tim Graham2014-06-161-1/+1
| | | | refs #22170.
* Fixed #22384 -- Deprecated reversing URLs by dotted path.Tim Graham2014-06-032-11/+25
|
* Fixed a typo that Tim Graham noticedAlex Gaynor2014-05-291-1/+1
|
* Fixed several typos in DjangoAlex Gaynor2014-05-291-2/+2
|
* Fixed #21157 -- Fixed problems with ResolverMatchKevin Christopher Henry2014-04-244-37/+40
| | | | | | | | | | - Fixed bug in get_callable() that caused resolve() to put a string in ResolverMatch.func. - Made ResolverMatch.url_name match the actual url name (or None). - Updated tests that used the string value in ResolverMatch.func, and added regression tests for this bug. - Corrected test urls whose dummy view paths caused failures (behavior that was previously masked by this bug).
* Fixed #22486 -- Restored the ability to reverse views ↵Preston Timmons2014-04-232-1/+15
| | | | | | | | created using functools.partial. Regression in 8b93b31487d6d3b0fcbbd0498991ea0db9088054. Thanks rcoup for the report.
* Fixed a remote code execution vulnerabilty in URL reversing.Tim Graham2014-04-224-0/+29
| | | | | | Thanks Benjamin Bach for the report and initial patch. This is a security fix; disclosure to follow shortly.
* Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of ↵chriscauley2014-04-179-35/+35
| | | | | | docs and tests. Thanks tomwys for the suggestion.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-10/+11
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-0317-134/+142
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed #7571 -- Fixed parameter matching in include()'d ↵Athena2014-03-053-0/+10
| | | | | | | | | | | | urlpattern Fixed URL resolving in the case where an outer regex includes an inner regex and both regexes use positional parameters instead of named groups, causing the outer regex's parameters to override the inner regex's. Modified the regex url resolver so that it will concatenates and then normalizes, instead of normalizing and then concatenating.
* Fixed #21435 -- Improved error message when urlconf is ↵Baptiste Mispelon2014-02-221-2/+4
| | | | | | | | | | empty. The new error message now hints that the most likely issue is a circular import. Thanks to trac user elena for the report and to bpeschier for the original patch.
* Replaced 'test' by 'sqlall' management command in ↵Claude Paroz2014-02-181-2/+2
| | | | reverse_lazy test
* Fixed #22057 -- Ensured reverse_lazy can be used in settingsClaude Paroz2014-02-181-0/+20
| | | | | And without causing a circular import. Thanks Akis Kesoglou for the report.