summaryrefslogtreecommitdiff
path: root/tests/urlpatterns_reverse
AgeCommit message (Collapse)Author
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-17Removed superfluous models.py files.Aymeric Augustin
Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
2013-12-14Fixed E127 pep8 warnings.Loic Bistuer
2013-11-11Flake8 fixes -- including not runnign flake8 over a backported fileAlex Gaynor
2013-11-11Fixed #21351 -- Replaced memoize with Python's lru_cache.Bouke Haarsma
Replaced the custom, untested memoize with a similar decorator from Python's 3.2 stdlib. Although some minor performance degradation (see ticket), it is expected that in the long run lru_cache will outperform memoize once it is implemented in C. Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of replacing memoize with lru_cache.
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed flake8 E241Boryslav Larin
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-21Removed some direct settings manipulations in tests; refs #21230.Bouke Haarsma
2013-10-19Removed unused local variables in tests.Tim Graham
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-09-22Removed a few trailing backslashes.Aymeric Augustin
We have always been at war with trailing backslashes.
2013-09-06Fixed #21043 -- Made resolve() handle reverse_lazy objects.Dan Johnson
Thanks Keryn Knight for the report.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-14Fixed #17076 -- When reversing a URL fails, inform the user which patterns ↵Wilfred Hughes
were tried.
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-05-21Use assertIsInstance in tests.Marc Tamlyn
Gives much nicer errors when it fails.
2013-03-25Fixed #19541 -- Fixed BaseHandler to enable reversing URLs in response ↵Loic Bistuer
middlewares and streamed responses with respect to per-request urlconf.
2013-03-18Fixed #13260 -- Quoted arguments interpolated in URLs in reverse.Aymeric Augustin
2013-03-13Fix #20022: Correctly handle prefixes with url-unsafe characters in reverse().Baptiste Mispelon
2013-03-10Fixed #20019 -- Ensured HttpRequest.resolver_match always exists.Aymeric Augustin
Obviously it isn't set until the URL is resolved.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner