summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-12-16Fixed #18816 -- Removed "trim" argument from add_filter()Anssi Kääriäinen
The trim argument was used by split_exclude() only to trim the last join from the given lookup. It is cleaner to just trim the last part from the lookup in split_exclude() directly so that there is no need to burden add_filter() with the logic needed for only split_exclude().
2012-12-16Fixed #19469 -- Removed opts.get_ordered_objects() and related codeAnssi Kääriäinen
The code was dead-code since 2006.
2012-12-16Corrected tests depending on the error message on the AuthenticationForm.Russell Keith-Magee
Refs #19368, and the fix introduced in 27f8129d64292868f6a328f7bf9a1bed67967ff3.
2012-12-15Fixed #19368 -- Ensured that login error messages adapt to changes in the ↵Russell Keith-Magee
User model. Thanks to un33k for the report.
2012-12-15Fixed #19412 -- Added PermissionsMixin to the auth.User heirarchy.Russell Keith-Magee
This makes it easier to make a ModelBackend-compliant (with regards to permissions) User model. Thanks to cdestigter for the report about the relationship between ModelBackend and permissions, and to the many users on django-dev that contributed to the discussion about mixins.
2012-12-15Fixed a couple of docstring typos.Ramiro Morales
2012-12-15Fixed #9589 -- Made development web server more robust in the presence of a ↵Ramiro Morales
wider variety of code errors. Thanks goes to contributor with Trac user 'berto' for the patch.
2012-12-14Fixed #2304 -- Documented TRANSACTIONS_MANAGED.Aymeric Augustin
2012-12-13Fixed #19462 -- Made assertQuerysetEqual detect undefined orderingAnssi Kääriäinen
If there are more than one values to compare against and the qs isn't ordered then assertQuerysetEqual will raise a ValueError.
2012-12-12Fixed #19432 -- Provided better error message for get_object_or_404Claude Paroz
Thanks Kit Sunde for the report and Brian Holdefehr for the initial patch.
2012-12-10Fixed a security issue in get_host.Florian Apolloner
Full disclosure and new release forthcoming.
2012-12-10Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users.Florian Apolloner
2012-12-09Edited the middleware doc for completeness, clarity, and consistency.Aymeric Augustin
2012-12-09Fixed #19392 -- Improved error for old-style url tags with dashes.Aymeric Augustin
Thanks dloewenherz for the report.
2012-12-08Fixed #19439 -- Removed unused template tag library in change_password.htmlClaude Paroz
Thanks ppetrid for the report.
2012-12-08Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overridesClaude Paroz
Thanks joebuyer at manycycles.com for the report and Simon Charette for the review.
2012-12-08Fixed a string detection in ogrinspect.pyClaude Paroz
2012-12-08Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review.
2012-12-06Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' is_validAndreas Hug
Thanks Simon Charette for the report and the initial patch.
2012-12-06Fixed #19367 -- Fixed saving ContentFile in filesystem storageClaude Paroz
This was not working properly when ContentFile was initialized with an unicode string. Thanks Alexey Boriskin for the report and the test.
2012-12-06Fixed #19429 -- Applied linebreaksbr to read-only fields in inlinesMarc Aymerich
Applied to inlines what ec9d6b1122d did for main fieldsets.
2012-12-04Minor idiomatic and docstring edits in ar localflavor.Ramiro Morales
2012-12-04Fixed #19378 -- Ensured get_success_url returns a non-lazy URLClaude Paroz
2012-12-04Merge pull request #573 from tominsam/masterAndrew Godwin
Fixed #19070: urlize template filter raises exception in some cases
2012-12-04Fixed #18697 -- Made values accepted for two customizable admin templates ↵Ramiro Morales
consistent. Thanks and at cloverfastfood dot com for the report.
2012-12-03Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be ↵Sebastián Magrí
displayed as selected even if the lookup's first element is not a string.
2012-12-03Fixed #19416 -- Fixed multi-line commands in initial SQL filesClaude Paroz
Thanks Aymeric Augustin for detecting this regression.
2012-12-03Merge pull request #569 from orblivion/masterPreston Holmes
Fixed typo in ValuesQuerySet._as_sql docstring
2012-12-03cope with unsplittable urls in smarl_urlquote.Tom Insam
2012-12-03Fixed #19397 -- Crash on binary files in project templates.Aymeric Augustin
Thanks gw 2012 at tnode com for the report.
2012-12-02Fixed #17050 -- Added some CSS class names to the admin index pages to ↵Julien Phalip
facilitate per-app or per-model style customizations. Thanks to scytale for the report and to H0ff1 and thiderman for their work on the patch.
2012-12-01Typeo in ValuesQuerySet._as_sql docstringorblivion
2012-12-01Fixed #19015 -- Removed ISO formats from localized formats.pyClaude Paroz
ISO formats are automatically appended to the list of input formats. Kept only when it is specified in first position, as it has a special meaning in localize_input. Thanks Bojan Mihelac for the report.
2012-12-01Fixed #19015 -- Add ISO input formats to all formatsClaude Paroz
2012-12-01Fixed #19347 -- Removed unused variable definition in FetchFromCacheMiddlewareClaude Paroz
Thanks gregplaysguitar at gmail.com for the report.
2012-12-01Fixed #19349 -- Fixed re-rendering of ReadOnlyPasswordHashWidgetClaude Paroz
Thanks tim.bowden at mapforge.com.au for the report, Andreas Hug for the patch and Anton Baklanov for the review.
2012-11-30Added missing custom user skip decoratorPreston Holmes
PermissionDeniedBackendTest references User model.
2012-11-29Fixed #19354 -- Do not assume usermodel.pk == usermodel.idClaude Paroz
Thanks markteisman at hotmail.com for the report.
2012-11-29Fixed #19356 -- Increased session key entropy.Aymeric Augustin
2012-11-28Fixed two docstring/comment typos.Ramiro Morales
2012-11-28Fixed #19366 -- Prevented GEOSIndexError when comparing geometriesClaude Paroz
Thanks Craig de Stigter for the report and collaboration on the patch.
2012-11-28Fixed #14694 -- Made ``defer()`` work with reverse relationsTai Lee
Reverse o2o fields are now usable with defer.
2012-11-27Fixed #19370 -- Made date filter properly handle midnight valueDanilo Bargen
2012-11-27Removed duplicate opts.pk_index() methodAnssi Kääriäinen
2012-11-27Refactored gis/spatialite connection initializationAnssi Kääriäinen
The connection state is now initialized in get_new_connection(). Refs #19274.
2012-11-27Made sure global settings are changed in test db creationAnssi Kääriäinen
There was an assumption that changing connection.settings_dict changed also the settings.DATABASES values. This assumption is now gone.
2012-11-27Fixed #19274 -- Made db connection creation overridable in subclassesAnssi Kääriäinen
Connection creation was done in db backend ._cursor() call. This included taking a new connection if needed, initializing the session state for the new connection and finally creating the connection. To allow easier modifying of these steps in subclasses (for example to support connection pools) the _cursor() now calls get_new_connection() and init_connection_state() if there isn't an existing connection. This was done for all non-gis core backends. In addition the parameters used for taking a connection are now created by get_connection_params(). We should also do the same for gis backends and encourage 3rd party backends to use the same pattern. The pattern is not enforced in code, and as the backends are private API this will not be required by documentation either.
2012-11-27Fixed #19362 -- Detected invalid use of @python_2_unicode_compatible.Aymeric Augustin
Thanks m3wolf for the report and akaariai for reproducing the problem.
2012-11-25Fixed #17911 -- Ensure that admin readonly fields' display values are shown ↵Edward Tjörnhammar
in change forms when the raw value is None.
2012-11-25Merge pull request #476 from wraithan/patch-1Aymeric Augustin
Indented comments consistently in project template