summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-25Fixed #26117 -- Consulted database routers in initial migration detection.Scott Sexton
Thanks Simon Charette for help.
2016-02-25Fixed #26278 -- Clarified apps.ready docs.Tim Graham
2016-02-25Refs #26270 -- Reorganized TestCase docs.Tim Graham
2016-02-25Fixed #12233 -- Allowed redirecting authenticated users away from the login ↵Olivier Le Thanh Duong
view. contrib.auth.views.login() has a new parameter `redirect_authenticated_user` to automatically redirect authenticated users visiting the login page. Thanks to dmathieu and Alex Buchanan for the original code and to Carl Meyer for the help and review.
2016-02-25Fixed #14098 -- Prevented crash for introspection errors in inspectdbClaude Paroz
Thanks Tim Graham for the review.
2016-02-24Fixed a function signature in docs/topics/auth/default.txt.Tim Graham
2016-02-24Used addCleanup() to call recorder.flush() in migration loader tests.Tim Graham
2016-02-24Fixed #26266 -- Output the primary key in the GeoJSON serializer propertiesClaude Paroz
Thanks Tim Graham for the review.
2016-02-24Removed docs of deprecated SimpleTestCase warnings behavior.Tim Graham
Removed in Django 1.7 (4f6be9a0c43050500af598527e1453d27c5c5b85).
2016-02-24Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets.Jon Dufresne
2016-02-23Fixed #23832 -- Added timezone aware Storage API.James Aylett
New Storage.get_{accessed,created,modified}_time() methods convert the naive time from now-deprecated {accessed,created_modified}_time() methods into aware objects in UTC if USE_TZ=True.
2016-02-23Fixed #26232 -- Fixed Popen mocking environment in i18n testsClaude Paroz
Refs #25925. Thanks Jeroen Pulles for the report.
2016-02-23Used setupTestData in prefetch_related tests.Simon Charette
2016-02-23Prevented static file corruption when URL fragment contains '..'.Aymeric Augustin
When running collectstatic with a hashing static file storage backend, URLs referencing other files were normalized with posixpath.normpath. This could corrupt URLs: for example 'a.css#b/../c' became just 'c'. Normalization seems to be an artifact of the historical implementation. It contained a home-grown implementation of posixpath.join which relied on counting occurrences of .. and /, so multiple / had to be collapsed. The new implementation introduced in the previous commit doesn't suffer from this issue. So it seems safe to remove the normalization. There was a test for this normalization behavior but I don't think it's a good test. Django shouldn't modify CSS that way. If a developer has rendundant /s, it's mostly an aesthetic issue and it isn't Django's job to fix it. Conversely, if the user wants a series of /s, perhaps in the URL fragment, Django shouldn't destroy it. Refs #26249.
2016-02-23Fixed #26249 -- Fixed collectstatic crash for files in STATIC_ROOT ↵Aymeric Augustin
referenced by absolute URL. collectstatic crashed when: * a hashing static file storage backend was used * a static file referenced another static file located directly in STATIC_ROOT (not a subdirectory) with an absolute URL (which must start with STATIC_URL, which cannot be empty) It seems to me that the current code reimplements relative path joining and doesn't handle edge cases correctly. I suspect it assumes that STATIC_URL is of the form r'/[^/]+/'. Throwing out that code in favor of the posixpath module makes the logic easier to follow. Handling absolute paths correctly also becomes easier.
2016-02-23Fixed a stray __unicode__() method in auth_tests.Tim Graham
2016-02-23Fixed #25670 -- Allowed dictsort to sort a list of lists.Andrew Kuchev
Thanks Tim Graham for the review.
2016-02-23Fixed #26263 -- Deprecated Context.has_key()Tim Graham
2016-02-23Used call_command return value in staticfiles testsClaude Paroz
Refs #26190.
2016-02-23Fixed #26190 -- Returned handle() result from call_commandClaude Paroz
Thanks Tim Graham for the review.
2016-02-22Fixed #26187 -- Removed weak password hashers from PASSWORD_HASHERS.Tim Graham
2016-02-23Fixed spelling errorMarkus Holtermann
2016-02-22Fixed #26188 -- Documented how to wrap password hashers.Tim Graham
2016-02-22Refs #26253 -- Forwardported release note.Tim Graham
2016-02-22Fixed import location of check_password() in docs.Daniel Quinn
2016-02-21Fixed #26238 -- Raised explicit error for non-editable field in ModelFormClaude Paroz
Thanks Luke Crouch for the report and Simon Charette for the review.
2016-02-19Fixed #25653 -- Made --selenium run only the selenium tests.Akshesh
2016-02-19Refs #25735 -- Made @tag decorator importable from django.test.Tim Graham
2016-02-19Fixed #25349 -- Allowed a ModelForm to unset a fields with blank=True, ↵haxoza
required=False.
2016-02-19Fixed #26243 -- Noted that 'python -R' is enabled by default in Python 3.3.Raphael Michel
2016-02-19Fixed #25974 -- Switched GIS docs to 4 spaces indentation.Sergey Fedoseev
2016-02-19Fixed some code blocks indentation in GIS docs.Sergey Fedoseev
2016-02-18Fixed #26204 -- Reallowed dashes in top-level domains for URLValidator.Tim Graham
Thanks Shai Berger for the review.
2016-02-18Fixed #26107 -- Added option to int_list_validator() to allow negative integers.Akshesh
2016-02-18Added intended use in the admin's introduction.Tim Graham
2016-02-18Fixed #26233 -- Fixed invalid reSt in models.Q docstring.Tim Graham
2016-02-17Fixed flake8 typo.Tim Graham
2016-02-17Fixed #26219 -- Fixed crash when filtering by Decimal in RawQuery.Akshesh
2016-02-17Fixed #25687 -- Documented how to add database function support to ↵Tim Graham
third-party backends. Thanks Kristof Claes for the initial patch.
2016-02-17Refs #19353 -- Added tests for using custom user models with built-in auth ↵Berker Peksag
forms. Also updated topics/auth/customizing.txt to reflect that subclasses of UserCreationForm and UserChangeForm can be used with custom user models. Thanks Baptiste Mispelon for the initial documentation.
2016-02-17Fixed #25735 -- Added support for test tags to DiscoverRunner.Jakub Paczkowski
Thanks Carl Meyer, Claude Paroz, and Simon Charette for review.
2016-02-17Followed recommended ValidationError use in docs.Jon Dufresne
2016-02-16Used relative models imports in the GIS tutorial.Juan José Conti
2016-02-16Fixed #26215 -- Fixed RangeField/ArrayField serialization with None valuesClaude Paroz
Also added tests for HStoreField and JSONField. Thanks Aleksey Bukin for the report and Tim Graham for the initial patch and the review.
2016-02-16Updated my entry in AUTHORS.F. Malina
2016-02-16Fixed possible "RuntimeError: maximum recursion depth exceeded" building docs.Tim Graham
2016-02-15Fixed #26221 -- Used find_packages() in reusable apps tutorial.Ryan Nowakowski
Otherwise the migrations package won't be included in the tarball.
2016-02-15Fixed #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2Berker Peksag
2016-02-15Added get_subprocess_args() function to runtests.pyTim Graham
2016-02-15Fixed #26212 -- Made forms.FileField and translation.lazy_number() picklable.Alexey Kotlyarov