summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-02-16Refs #24225 -- Added failing test case for removing a previously added field ↵Claude Paroz
in migrations When a related field is deleted, the related model must be updated. As unchanged models are shared in migration states, the related model must be re-rendered so that the change applies to a new copy of the related model. Thanks Henrik Heimbuerger for the report.
2015-02-16Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505Marten Kenbeek
2015-02-16Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptorLoic Bistuer
and made all "many" related objects descriptors inherit from ForeignRelatedObjectsDescriptor.
2015-02-15Deprecated TEMPLATE_DEBUG setting.Aymeric Augustin
2015-02-14Isolated auth_tests from contenttypes_tests; refs #11505.Tim Graham
2015-02-14Added missing return value to DurationField.prepare_value(); refs #24339.Michael Angeletti
2015-02-14Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2.Aymeric Augustin
2015-02-14Fixed #24339 -- Fixed crash with empty DurationField form field.Michael Angeletti
2015-02-14Fixed #15779 -- Allowed 'add' primary key in admin editionClaude Paroz
Thanks Marwan Alsabbagh for the report, and Simon Charette and Tim Graham for the reviews.
2015-02-14Fixed #24338 -- Accepted Template wrapper in {% extends %}.Aymeric Augustin
Explicitly checking for django.template.Template subclasses is preferrable to duck-typing because both the django.template.Template and django.template.backends.django.Template have a render() method. Thanks spectras for the report.
2015-02-14Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.Loic Bistuer
Thanks Carl Meyer and Tim Graham for the reviews and to all involved in the discussion.
2015-02-13Fixed #24320 - Used field.value_to_string() in serialization of foreign key.Andriy Sokolovskiy
This fixes serialization of a ForeignKey to a UUIDField as the test indicates.
2015-02-13Fixed #24315 -- Fixed auth.views.password_reset_confirm() with a UUID user.Tim Graham
2015-02-13Fixed #24334 -- Allowed admin password reset to work with non-digit custom ↵Tim Graham
user model primary key. Thanks Loic for help and Simon for review.
2015-02-13Fixed #24184 -- Prevented automatic soft-apply of migrationsMarkus Holtermann
Previously Django only checked for the table name in CreateModel operations in initial migrations and faked the migration automatically. This led to various errors and unexpected behavior. The newly introduced --fake-initial flag to the migrate command must be passed to get the same behavior again. With this change Django will bail out in with a "duplicate relation / table" error instead. Thanks Carl Meyer and Tim Graham for the documentation update, report and review.
2015-02-13Removed explicit pointers to migration modules for contrib apps in runtestMarkus Holtermann
Thanks Tim Graham for the patch
2015-02-13Refs #22962 -- Made test case use non-conflicting table namesMarkus Holtermann
2015-02-13Fixed #24295 -- Allowed ModelForm meta to specify form field classes.Loic Bistuer
Thanks Carl Meyer and Markus Holtermann for the reviews.
2015-02-13Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' ↵Tim Graham
DATABASES is empty.
2015-02-13Refs #14030 -- Added tests for Value aggregatesJosh Smeaton
2015-02-13Fixed #24319 -- Added validation for UUID model fieldJosh Smeaton
2015-02-12Fixed #24333 -- Fixed admin history view crash with non-integer slug.Tim Graham
2015-02-12Refs #24215 -- Prevented pending lookup pollution by abstract models.Simon Charette
2015-02-12Added a test for UUIDField serialization; refs #24320.Tim Graham
2015-02-12Added missing import from last commit.Tim Graham
2015-02-12Fixed #17716 -- Prevented include('...', app_name='...') without a namespace.Tim Graham
2015-02-12Fixed #24161 -- Stored the user primary key as a serialized value in the ↵Tim Graham
session. This allows using a UUIDField primary key along with the JSON session serializer. Thanks to Trac alias jamesbeith for the report and Simon Charette for the initial patch.
2015-02-12Fixed #24321 -- Improved `utils.http.same_origin` compliance with RFC6454Lukas Klein
2015-02-12Refs #14030 -- Improved expression support for python valuesJosh Smeaton
2015-02-11Refs #14497 -- Handled empty readonly admin FileFieldsCollin Anderson
2015-02-11Moved contrib.webdesign tests out of contrib.Tim Graham
2015-02-11Updated docs and runtests.py for removal of tests from contrib.Tim Graham
2015-02-11Moved contrib.gis tests out of contrib.Tim Graham
2015-02-11Moved non-documented auth test models to the new test location.Tim Graham
2015-02-11Moved contrib.auth tests out of contrib.Tim Graham
2015-02-11Moved contrib.humanize tests out of contrib.Tim Graham
2015-02-11Moved contrib.redirects tests out of contrib.Tim Graham
2015-02-11Moved contrib.messages tests out of contrib.Tim Graham
2015-02-11Moved contrib.sessions tests out of contrib.Tim Graham
2015-02-11Moved contrib.sitemaps tests out of contrib.Tim Graham
2015-02-11Moved contrib.sites tests out of contrib.Tim Graham
2015-02-11Moved contrib.flatpages tests out of contrib.Tim Graham
2015-02-11Prevented some test commands from needlessly running system checks.Tim Graham
This is a performance optimization and also fixes test errors with the upcoming merge of contrib tests into tests/. The tests failed on MySQL because the models with GeometryField were being checked but the non-GIS MySQL backend didn't know how to handle them.
2015-02-10Fixed #24146 -- Allowed model._meta.get_field() to be used after ↵Daniel Pyrathon
apps.models_ready
2015-02-10Disallowed importing concrete models without an application.Aymeric Augustin
Removed fragile algorithm to find which application a model belongs to. Fixed #21680, #21719. Refs #21794.
2015-02-09Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check.Tim Graham
2015-02-09Refactored an admin_view test case.Simon Charette
Used setUpTestData, client login/logout and manager's count() method. Thanks to Tim for the review.
2015-02-09Moved a custom admin template test to a more appropriate case.Simon Charette
Thanks to Tim for the review.
2015-02-09Replaced some more hardcoded admin URLsClaude Paroz
2015-02-09Fixed #24302 -- Added DurationField.formfield()Tim Graham