summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-07-09Fixed #22223 -- Prevented over-escaping URLs in reverse()Claude Paroz
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.
2014-07-08Fixed #21832 -- Updated prompt, tests, and docs to show that USERNAME_FIELD ↵Anubhav Joshi
supports FK after 9bc2d76. Also added get_input_data() hook in createsuperuser. Thanks Chris Jerdonek and Tim Graham for review.
2014-07-07Fixed flake8 errors.Tim Graham
2014-07-06Fixed pyinotify performance regression in 15f82c7011Claude Paroz
Refs #9722. Thanks Tim Graham for the review.
2014-07-06Fixed #21079 -- Further normalized table names in inspectdbClaude Paroz
Thanks Michael Manfre for the report and Tim Graham for the review.
2014-07-06Fixed #22906 -- Added a more helpful repr to migrations' ModelState.Loic Bistuer
Thanks Collin Anderson for the report and original patch.
2014-07-05Fixed various minor doc typos / references.Daniel Hahler
2014-07-05Fixed flake8 indentation.Tim Graham
2014-07-05Added a space before explanation of "Invalid HTTP_HOST header: ..."Daniel Hahler
2014-07-05Merge pull request #2881 from ↵Andrew Godwin
charettes/ticket-22943-compiled-regex-deconstruction Fixed #22943 -- Correctly serialize compiled regexes.
2014-07-05Fixed #22960: Bad handling of relations as PKs in autodetectorAndrew Godwin
2014-07-05Fixed #22950 -- Eased markup customization for choice field renderingClaude Paroz
Thanks Patrick Robertson for the report.
2014-07-05Ensured bound field renders as unicode safe dataClaude Paroz
Refs #22950.
2014-07-04Corrected domain max length for EmailValidator; refs #20631.Tim Graham
Thanks MarkusH for the report.
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
2014-07-04Fixed #22943 -- Correctly serialize compiled regexes.Simon Charette
Thanks to antialiasis at gmail dot com for the patch.
2014-07-04Fixed #22915 -- Document backward incompatible changes in the ↵Loic Bistuer
ValidationError constructor. This patch also fixes update_error_dict to better handle the use case described in this ticket, previously the type of the provided container could be lost in some conditions. Thanks Russell Keith-Magee for the report and Tim Graham for review.
2014-07-04Updated urlize regex following a93ee5112d4LarryBrid
Prevent urlize from turning some.organization, an.intern etc. into urls. Refs #22941.
2014-07-03Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.Anubhav Joshi
This allows specifying ForeignKeys in REQUIRED_FIELDS when using a custom User model. Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
2014-07-02Fixed #22941 - Added support for domain-only links with chars after the TLD ↵LarryBrid
to urlize. It now works with something like google.com/foo/bar
2014-07-02Fixed #22935 -- Changed ForeignKey.default_error_messages['invalid'] to ↵Anubhav Joshi
refer to correct field. Thanks Tim Graham for suggestion and review.
2014-07-02Fixed #22940 -- Added missing string iterpolation parameters in ↵Colin Wood
migrations.writer error. Forwardport of f5740af868 from stable/1.7.x
2014-07-02Removed ADMIN_FOR from global_settings.py.Tim Graham
The functionality it was used for was removed in Django 1.7.
2014-07-01Fixed #22933 -- Deprecated django.template.resolve_variable().Tim Graham
2014-07-01Fixed #19501 -- added Model.from_db() methodAnssi Kääriäinen
The Model.from_db() is intended to be used in cases where customization of model loading is needed. Reasons can be performance, or adding custom behavior to the model (for example "dirty field tracking" to issue automatic update_fields when saving models). A big thank you to Tim Graham for the review!
2014-07-01Removed django/contrib/auth/create_superuser.pyTim Graham
It's a shim that calls the actual createsuperuser management command and it's been marked as deprecated since Django 1.0.
2014-07-01Fixed #22691 -- Added aliasing to cached_property.Curtis
2014-07-01Fixed #14334 -- Query relation lookups now check object types.Anubhav Joshi
Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao for reviews.
2014-06-30Fixed #22756 -- Added view name to technical 404 template if Http404 is raised.Julia Matsieva
Thanks Keryn Knight for the suggestion.
2014-06-30Fixed #8162 -- Increased Permission.name max_length to 255 characters.Tim Graham
2014-06-30Fixed problem with refs #10811.Anubhav Joshi
When 'to_field' is specified with a FK, then we need to check the pk value the object.
2014-06-29Add missing spaces to implicitly joined stringsIan Foote
2014-06-29Fixed a flake8 warningAlex Gaynor
2014-06-28Fixed #16184 -- Fixed multiple PostGIS types introspectionClaude Paroz
Thanks radim.blazek@gmail.com for the report and initial patch. Testing is tricky, as the failure condition is a bit of an edge case. inspectapp.InspectDbTests should at least guarantee non regression.
2014-06-27Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().Tim Graham
2014-06-26Added newline to fix flake8 error.Tim Graham
2014-06-26Fixed #22894 -- Made admin add related/raw ID fields widgets customizable.Riccardo Magliocchetti
Decoupled behavior and style from the RelatedFieldWidgetWrapper and ForeignKeyRawIdWidget.
2014-06-26Fixed #22857 -- Reset translations when only .mo file changedClaude Paroz
No need to restart the server when a translation file changes. Refs #9523. Thanks artscoop for the report and Tim Graham for the review.
2014-06-25Fixed #22903 -- Fixed migration generation if index_together or ↵Tim Graham
unique_together is removed from a model.
2014-06-25Fixed #22050 -- Fixed defer fields on proxy related models.Lovas Bence
2014-06-25Fixed #20128 -- Made CsrfViewMiddleware ignore IOError when reading POST data.Tim Graham
Thanks Walter Doekes.
2014-06-24Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a ↵Duncan Parkes
MultiValueDict. Previously, GET, POST, and FILES on an HttpRequest were created in the __init__ method as dictionaries. This was not something you would usually notice causing trouble in production as you'd only see a WSGIRequest, but in testing using the test client, calling .getlist on GET, POST, or FILES for a request with no get/post data resulted in an AttributeError. Changed GET and POST on an HttpRequest object to be mutable QueryDicts (mutable because the Django tests, and probably many third party tests, were expecting it).
2014-06-24Fixed #22897 -- Made QueryDict query_string argument optional.Duncan Parkes
Now QueryDict() is equivalent to QueryDict('') or QueryDict(None).
2014-06-24Improved documentation for QueryDict.Duncan Parkes
2014-06-24Fixed #21668 -- Return detailed error page when SuspiciousOperation is ↵Anubhav Joshi
raised and DEBUG=True Thanks GDorn and gox21 for report. Thanks Tim Graham for idea and review.
2014-06-24Restored is_anonymous() check in ModelBackend permission checking removed in ↵Tim Graham
refs #17903. Thanks Florian Apolloner for raising the issue.
2014-06-23Fixed #22708: Typo in autodetector base dependency genAndrew Godwin
2014-06-23Fixed #22889: Unneeded to_field in fk.deconstruct causing swap issuesAndrew Godwin
2014-06-23Fixed #22487: Don't flush out data from before normal TestCasesAndrew Godwin
2014-06-23Fixed #17903 -- Modified ModelBackend to eliminate permissions on inactive ↵Jorge C. Leitão
users. Thanks to @SmileyChris for the report and @timgraham for review.