summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-05-19Fixed #22652 -- Replaced UserModel.objects with UserModel._default_manager.Tim Graham
Thanks alexdlaird for the report.
2014-05-19Revert "Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of ↵Tim Graham
modules." This reverts commit 950b6de16ac2f8135612f2ed5984c090dd8e4dcf.
2014-05-19Removed locale dirs for single-message appsClaude Paroz
Considering that these apps only translate their app name, it's not worth having a whole bunch of po files just for that. The translatable app name for those apps will be integrated in Django core catalog.
2014-05-19Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.Martin Brochhaus
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module.
2014-05-19Updated Django makemessages processClaude Paroz
makemessages should now automatically distribute translatable strings in the proper locale files, for Django too (see 50a8ab7cd1e6).
2014-05-19Merge pull request #2682 from alimony/welcome_page_local_02Claude Paroz
Fixed #22635 -- Make "It worked!" page localizable
2014-05-19Fixed #22635 -- Made "It worked!" page localizable.Markus Amalthea Magnuson
2014-05-18Removed some unnecessary exception naming; thanks claudep.Tim Graham
2014-05-18Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.Esau Rodriguez
2014-05-18Fixed regression from a2dd618e3b4a7472fab852da450ca5eef92a922f.Florian Apolloner
2014-05-18Added "/" divider for DATE(TIME)_INPUT_FORMATS for Dutch locale.SaeX
Dutch ('nl-NL' and 'nl-BE') has several valid input formats; see http://nl.wikipedia.org/wiki/Datum_(dagtekening). Thanks Erik Romijn for review.
2014-05-18Fixed #22424 -- Fixed handling of default values for TextField/BinaryField ↵Loic Bistuer
on MySQL. Thanks syphar for the review and suggestions.
2014-05-17Fixed #22421 -- Regression in fixtures loading.Ramiro Morales
Loading fixtures were failing since the refactoring in 244e2b71f5 for inheritance setups where the chain contains abstract models and the root ancestor contains a M2M relation. Thanks Stanislas Guerra for the report. Refs #20946.
2014-05-17Fixed #6668 -- Optimized utils.text wrap functionMarkus Amalthea Magnuson
This fixes a failing test after applying an optimization of the utils.text.wrap function by user SmileyChris.
2014-05-17Fixed several flake8 errors, including one where a test wouldn't be runAlex Gaynor
2014-05-17Fixed #22626 -- Allow BinaryField defaults with SQlite.Raphaël Barrois
Also fixes a slight issue in sqlite3.schema._remake_table where default values where quoted with "column name" quoting rules. Reference for quoting: http://www.sqlite.org/lang_expr.html Thanks Shai Berger for the review. Refs #22424.
2014-05-17Fixed contrib.gis tests breaking in some edge cases.Baptiste Mispelon
The tests would error out with an ImproperlyConfigured error if the user had psycopg installed but not geos. Thanks to mcgohier for the report.
2014-05-17Fixed #22648 -- Transform.output_type should respect overridden ↵Marc Tamlyn
custom_lookup and custom_transform. Previously, class lookups from the output_type would be used, but any changes to custom_lookup or custom_transform would be ignored.
2014-05-17Merge pull request #2346 from Markush2010/ticket21905Florian Apolloner
Fixed #21905 -- Add info message if DateField or TimeField use a fixed value
2014-05-17Fixed jenkins breakage, apparently migrations need a models module.Florian Apolloner
Workaround for now, Andrew will look into it.
2014-05-16Fixed #16245 -- Included traceback in send_robust()'s responseUnai Zalakain
Exceptions from the (receiver, exception) tuples returned by ``send_robust()`` now have always their traceback attached as their ``__traceback__`` argument.
2014-05-16Optimized make_aware/naive by removing redundant checks. Refs #22625.Aymeric Augustin
Also added tests with pytz and removed misplaced tests.
2014-05-16Fixed #22625 -- Normalized make_aware/naive errors.Aymeric Augustin
Also added tests for is/make_aware/naive. Thanks Tom Michaelis for the report.
2014-05-16Fixed typo.Tim Graham
2014-05-16Fix storing of binary fields and unicode textfields for Oracle/Python3Shai Berger
2014-05-16Fixed #21905 -- Add info message if DateField or TimeField use a fixed valueMarkus Holtermann
2014-05-16Fixed #15716 - Authentication backends can short-circuit authorization.Jorge C. Leitão
Authorization backends can now raise PermissionDenied in "has_perm" and "has_module_perms" to short-circuit authorization process.
2014-05-16Fixed #22266 - quote PK before redirecting away from add_view ↵Stas Rudakou
(django.contrib.admin)
2014-05-16Fixed #18389 -- Fixed the way contribute_to_class is calledVlad Starostin
Now this method is only called only if the object is an instance. This allows to have field classes as model class attributes.
2014-05-16Refs #21798 - Modified error number to provide room for future expansion.Russell Keith-Magee
2014-05-16Fixed #22531 -- Added tree.Node.__repr__ and tests for the class.Moayad Mardini
While Node class has a useful `__str__`, its `__repr__` is not that useful. Added a `__repr__` that makes use of the current `__str__`. This is especially useful since the more popular `Q` class inherits `tree.Node`. Also created new tests that cover most of `Node` class functionality.
2014-05-16Fixed #22579 -- Corrected validation for email to reject trailing slashErik Romijn
Thanks to Claude Paroz for the report and patch and Tomasz Paczkowski for the review.
2014-05-16Fixed #22628 -- Took initial forms into account when combining ↵Stephen Burrows
FormSet.min_num and FormSet.extra. Forwardport of 79f15ab1ef from stable/1.7.x
2014-05-16Remove old compatibility shims from d.c.gis.Marc Tamlyn
2014-05-16Fixed #21634 -- Prevented hiding ImproperlyConfigured when command not foundClaude Paroz
Thanks nikolay.v.golub@gmail.com for the report.
2014-05-16Fixed #21798 -- Added check for DateTime mutually exclusive optionsDaniel Pyrathon
Added DateTimeCheckMixin to avoid the use of default, auto_now, and auto_now_add options together. Added the fields.E151 Error that is raised if one or more of these options are used together.
2014-05-16Fixed typo in multipartparser.pymbacho
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-05-15Fixed #20897 -- Added make_cursor() for consistent cursor creationTim Martin
In django.db.backends.BaseDatabaseWrapper, pulled the creation of cursors in the non-debug case into a separate method, in order to make behavior more consistent when overriding the cursor creation in derived classes.
2014-05-15Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.Anders Steinlein
Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
2014-05-14typo: urlaprse -> urlparseCollin Anderson
2014-05-14Added additional checks in is_safe_url to account for flexible parsing.Erik Romijn
This is a security fix. Disclosure following shortly.
2014-05-14Dropped fix_IE_for_vary/attach.Aymeric Augustin
This is a security fix. Disclosure following shortly.
2014-05-13Fixed #22533 -- Added label_suffix parameter to form fields.Julen Ruiz Aizpuru
Fields can now receive the `label_suffix` attribute, which will override a form's `label_suffix`. This enhances the possibility to customize form's `label_suffix`, allowing to use such customizations while using shortcuts such as `{{ form.as_p }}`. Note that the field's own customization can be overridden at runtime by using the `label_prefix` parameter to `BoundField.label_tag()`. Refs #18134.
2014-05-11Completed long overdue sqlinitialdata deprecation.Ramiro Morales
2014-05-11Fixed #20936 -- When logging out/ending a session, don't create a new, empty ↵Matt Robenolt
session. Previously, when logging out, the existing session was overwritten by a new sessionid instead of deleting the session altogether. This behavior added overhead by creating a new session record in whichever backend was in use: db, cache, etc. This extra session is unnecessary at the time since no session data is meant to be preserved when explicitly logging out.
2014-05-11Fixed #14226 -- Dependency calculation for complex M2M relations.Rainer Koirikivi
`sort_dependencies` incorrectly interpreted 'complex' M2M relations (with explicit through models) as dependencies for a model. This caused circular complex M2M relations to be unserializable by dumpdata. Thanks to aneil for the report and outofculture for initial tests.
2014-05-10Fixed #21685 -- Displayed app verbose name in admindocs model indexClaude Paroz
2014-05-10Fixed #22508 -- Avoided overwriting select_related.Aymeric Augustin
Previously, known related objects overwrote related objects loaded though select_related. This could cancel the effect of select_related when it was used over more than one level. Thanks boxm for the bug report and timo for bisecting the regression.
2014-05-10Adjusted refactoring of vendor checks.Aymeric Augustin
Thanks Shai for the thorough review.