summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-06-28Removed 'mimetype' arguments from a few places, as per deprecation TL.Ramiro Morales
This includes HttpResponse and co. __init__() methods, django.shortcuts.render_to_response() and the index(), sitemap() sitemap app views.
2013-06-28Removed 'depth' .select_related() argument as per deprecation TL.Ramiro Morales
2013-06-28Removed custom profile model functionality as per deprecation TL.Ramiro Morales
2013-06-28Stop auto-correcting string INSTALLED_APPS, TEMPLATE_DIRS settings, as per ↵Ramiro Morales
deprecation TL.
2013-06-28Removed 'cleanup' management command as per deprecation TL.Ramiro Morales
2013-06-28Removed django.utils.itercompat.product() as per deprecation TL.Ramiro Morales
2013-06-28Removed django.utils.simplejson as per deprecation TL.Ramiro Morales
2013-06-28Removed daily_cleanup.py script as per deprecation TL.Ramiro Morales
2013-06-28Removed AuthenticationForm.check_for_test_cookie() as per deprecation TL.Ramiro Morales
2013-06-28Removed warnings level handling code as per deprecation TL.Ramiro Morales
2013-06-28Fix Python 3 supportAndrew Godwin
2013-06-28Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/__init__.py django/db/models/fields/related.py tests/field_deconstruction/tests.py
2013-06-28Ported over Field.deconstruct() from my schema alteration branch.Andrew Godwin
This is to help other ongoing branches which would benefit from this functionality.
2013-06-28Master is now pre-1.7.Jacob Kaplan-Moss
2013-06-28Support 'pyformat' style parameters in raw queries, Refs #10070Shai Berger
Add support for Oracle, fix an issue with the repr of RawQuerySet, add tests and documentations. Also added a 'supports_paramstyle_pyformat' database feature, True by default, False for SQLite. Thanks Donald Stufft for review of documentation.
2013-06-27Fixed #20664 -- Fixed a bug with raw_id_fields on Python 3.Tim Graham
Thanks jefftriplett for the report.
2013-06-27Fixed #20571 -- Added an API to control connection.needs_rollback.Aymeric Augustin
This is useful: - to force a rollback on the exit of an atomic block without having to raise and catch an exception; - to prevent a rollback after handling an exception manually.
2013-06-27Fixed #20244: PermissionsMixin now defines a related_query_name for M2MsAndrew Godwin
2013-06-27Merge pull request #1311 from loic/ticket20619_take2Andrew Godwin
Fixed missing initializations in WSGIRequest. Refs #20619
2013-06-27Add related_query_name to ForeignKey/M2M. Refs #20244Andrew Godwin
2013-06-27Fixed #20541 -- don't raise db signals twice when creating superuserAnton Baklanov
2013-06-26Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.Tim Graham
uid is now base64 encoded in password reset URLs/views. A backwards compatible password_reset_confirm view/URL will allow password reset links generated before this change to continue to work. This view will be removed in Django 1.7. Thanks jonash for the initial patch and claudep for the review.
2013-06-26Fixed #20462 - Replaced the str() cast introduced in 273dc55 by force_text()Loic Bistuer
2013-06-26Fixed #20462 -- null/non-string regex lookups are now consistentAndrew Clark
Thanks to noirbizarre for the report and initial patch.
2013-06-26Fixed missing initializations in WSGIRequest. Refs #20619Loic Bistuer
2013-06-25Fixed #20650 -- Fixed {% filter %} incorrectly accepting 'escape' as argumentBaptiste Mispelon
Thanks to grzesiof for the report and to loic84 and Alex Gaynor for the review.
2013-06-25Fixed #20642 -- Deprecated `Option.get_(add|change|delete)_permission`.Simon Charette
Those methods were only used by `contrib.admin` internally and exclusively related to `contrib.auth`. Since they were undocumented but used in the wild the raised deprecation warning point to an also undocumented alternative that lives in `contrib.auth`. Also did some PEP8 and other cleanups in the affected modules.
2013-06-25Fixed #19773 - Added admin/popup_response.html template.Javier Mansilla
Thanks jimmylam@ for the suggestion.
2013-06-25Fixed #20653 -- Renamed checksetup management command.Russell Keith-Magee
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.
2013-06-24Fixed #20636 -- Stopped stuffing values in the settings.Aymeric Augustin
In Django < 1.6, override_settings restores the settings module that was active when the override_settings call was executed, not when it was run. This can make a difference when override_settings is applied to a class, since it's executed when the module is imported, not when the test case is run. In addition, if the settings module for tests is stored alongside the tests themselves, importing the settings module can trigger an import of the tests. Since the settings module isn't fully imported yet, class-level override_settings statements may store a reference to an incorrect settings module. Eventually this will result in a crash during test teardown because the settings module restored by override_settings won't the one that was active during test setup. While Django should prevent this situation in the future by failing loudly in such dubious import sequences, that change won't be backported to 1.5 and 1.4. However, these versions received the "allowed hosts" patch and they're prone to "AttributeError: 'Settings' object has no attribute '_original_allowed_hosts'". To mitigate this regression, this commits stuffs _original_allowed_hosts on a random module instead of the settings module. This problem shouldn't occur in Django 1.6, see #20290, but this patch will be forward-ported for extra safety. Also tweaked backup variable names for consistency. Forward port of 0261922 from stable/1.5.x. Conflicts: django/test/utils.py
2013-06-24Fixed #20644 -- Add ModelFormMixin.fields to the CBV flattened indexBaptiste Mispelon
Thanks to Tim Graham for the report and review.
2013-06-22Fixed #20311 -- Make sure makemessages doesn't create duplicate Plural-Forms ↵Ramiro Morales
.po file headers. Thanks naktinis for the report and initial patch.
2013-06-22Autodetect ForeignKeys and add dependencies/split on circularsAndrew Godwin
2013-06-22Fixed #20587 -- Made convert_values handle None valuesGilberto Gonçalves
2013-06-22Remove EmailField max_length default removal in deconstruct()Andrew Godwin
2013-06-22Fixed #18872 -- Added prefix to FormMixinGilberto Gonçalves
Thanks @ibustama for the initial patch and dragonsnaker for opening the report.
2013-06-22Fixed 17478 -- Allowed queryset overriding in BaseModelFormSet initClaude Paroz
BaseModelFormSet.forms is now a cached property instead of being populated in the __init__ method. This behaviour also matches an example in the documentation. Thanks Thomasz Swiderski for the report and Simon Charette for the review.
2013-06-21Fixed #20290 -- Allow override_settings to be nestedOliver Beattie
Refactored override_settings to store the underlying settings._wrapped value seen at runtime, not instantiation time.
2013-06-21Prompt about renames rather than doing them automaticallyAndrew Godwin
2013-06-20Autodetect field renames. HAHAHA. AHAHAHAHA. YES.Andrew Godwin
2013-06-20Fixed #20630 -- Removed `maxlength` attribute from `NumberInput`.Simon Charette
This attribute is only allowed on inputs of type "text", "search", "url", "tel", "email", or "password". Thanks to yoyoma for the report and @bmispelon for the review.
2013-06-20Rename makemigration to makemigrationsAndrew Godwin
2013-06-20Autodetect field altersAndrew Godwin
2013-06-20Add AlterField and RenameField operationsAndrew Godwin
2013-06-20Add operation that renames tablesAndrew Godwin
2013-06-20Fixed #20632 -- Fixed {{ docs_version }} in project templateBaptiste Mispelon
2013-06-20Fixed #20486 -- Ensure that file_move_safe raises an error if the ↵Russell Keith-Magee
destination already exists. Thanks to kux for the report, and Russ Webber for the patch.
2013-06-19Itty bitty typo fix.Christian Metts
"deletes" was missing it's last e.
2013-06-19Fixed #20288 -- Fixed inconsistency in the naming of the popup GET parameter.Loic Bistuer
Thanks to Keryn Knight for the initial report and reviews, and to tomask for the original patch.
2013-06-19Better naming, and prompt for NOT NULL field additionAndrew Godwin