summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-05-03Fixed #24685 -- Fixed check for template name unicity.Aymeric Augustin
Thanks Preston Timmons for the report.
2015-05-02Fixed #24696 -- Made CSRF_COOKIE computation lazy.Jay Cox
Only compute the CSRF_COOKIE when it is actually used. This is a significant speedup for clients not using cookies. Changed result of the “test_token_node_no_csrf_cookie” test: It gets a valid CSRF token now which seems like the correct behavior. Changed auth_tests.test_views.LoginTest.test_login_csrf_rotate to use get_token() to trigger CSRF cookie inclusion instead of changing request.META["CSRF_COOKIE_USED"] directly.
2015-05-02Fixed #23387 -- Kept "Save as new" button after validation errors in admin.Adam Zapletal
When "Save as new" is chosen and errors occur, only show the "Save as new" button and not the other save buttons. Thanks to Tino de Bruijn for doing the real work on this fix.
2015-05-02Fixed #24693 -- Added label and label_lower property to Model._metaLuis Del Giudice
2015-05-02Moved migration exception classes to shared moduleMarkus Holtermann
Thanks Aymeric Augustin for the review.
2015-04-30Fixed model_regress test failure on non-ASCII path; refs #24717.Tim Graham
2015-04-30Fixed #24725 -- Allowed renaming of target models in ManyToMany relationsMarkus Holtermann
This is a regression caused by introducing rendered migration states in 1aa3e09c2043 and the _meta refactoring in fb48eb05816b. Thanks to Danilo Bargen for reporting the issue and Marten Kenbeek and Tim Graham for triaging the bug and providing the initial test case.
2015-04-29Fixed #24717 -- Fixed model_regress test failure on RHEL6 SCLDavid D. Riddle
The test failed on RHEL6 systems running python 2.7 from a RedHat Software Collection (SCL) because this test runs an external python script with a stripped system environment. RedHat SCLs work by setting a number of system environment variables when these are stripped out by this test the python 2.7 interpreter is no longer able to function properly because it can not find the system libraries needed. Now we use use mock to modify the system environment directly.
2015-04-28Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.Markus Bertheau
2015-04-28Fixed #24719 -- Restored the ability to use interators as queryset related ↵Aric Coady
object filters.
2015-04-28Fixed #24714 -- Used more specific assertions than assertEqual in tests.Alasdair Nicol
2015-04-28Fixed template_tests failure on Windows.Tim Graham
2015-04-27Used assertIsInstance in tests.Alasdair Nicol
2015-04-26Fixed #24707 -- Improved error reporting for explicitly imported uncallable ↵Harry
views
2015-04-25Fixed #24689 -- Fixed DetailView methods with deferred QuerySet.Artis Avotins
2015-04-25Fixed #24649 -- Allowed using Avg aggregate on non-numeric field types.Tim Graham
2015-04-25Fixed #24499 -- Dropped support for PostGIS 1.5.Tim Graham
2015-04-25Fixed #24701 -- Converted model manager names to unicode in migrationsMarkus Holtermann
Thanks to Reto Aebersold for reporting the issue and Tim Graham and Claude Paroz for the review.
2015-04-24Fixed #24063 -- Allowed locale variants supported by gettext.Michal Čihař
The locale code can contain a variant after @, so allowed that.
2015-04-24Fixed #24643 -- Added get_context_data() method to FormMixinAndrei Kulakov
2015-04-24Delayed GDAL check for OSMGeoAdminClaude Paroz
2015-04-24Removed many HAS_GEOS conditional importsClaude Paroz
2015-04-24Lazy loading of GEOS functionsClaude Paroz
2015-04-24Fixed #22598 -- Allowed make_aware() to work with ambiguous datetimeJosh Smeaton
2015-04-24Fixed #24526 -- Combined django.request/security loggers with the root logger.Tim Graham
Thanks Carl Meyer for review.
2015-04-23Fixed failures with older Spatialite versionsClaude Paroz
2015-04-22Improved display of template loader postmortem on debug page.Preston Timmons
This now works for multiple Django engines and recursive loaders. Support for non-Django engines is still pending. Refs #15053.
2015-04-22Fixed #15053 -- Enabled recursive template loading.Preston Timmons
2015-04-22Deprecated legacy GeoManager/GeoQuerySet methodsClaude Paroz
2015-04-22Added MySQL support to GIS functionsClaude Paroz
2015-04-22Added Spatialite support to GIS functionsClaude Paroz
2015-04-22Fixed #24214 -- Added GIS functions to replace geoqueryset's methodsClaude Paroz
Thanks Simon Charette and Tim Graham for the reviews.
2015-04-21Fixed #24681 -- Removed Unicode bug in BrokenLinkEmailMiddlewareOliver A Bristow
2015-04-21Fixed #24573 -- Considered new related models for reloadingMarkus Holtermann
Thanks tttomekkk for the report.
2015-04-20Fixed #24591 -- Optimized cloning of ModelState objects.Marten Kenbeek
Changed ModelState.clone() to create a shallow copy of self.fields and self.managers.
2015-04-20Fixed #24654 -- Based ordering circular references detection on columns.Simon Charette
Thanks to Elmar Bucher for the report and Tim for the review.
2015-04-20Fixed #22394 -- Refactored built-in datetime lookups to transforms.Jon Dufresne
2015-04-20Refs #24397 -- Sped up model reloading in ProjectState.Marten Kenbeek
Created bulk_update() context manager on StateApps. Sped up unregistering models in reload_models() by using this context mananger.
2015-04-20Updated template tests to create their own engine.Preston Timmons
This continues work to treat Django templates as a library.
2015-04-20Fixed #24667 --- Repaired model_fields cardinality testYoong Kang Lim
2015-04-19Fixed #24658 -- Added missing Meta attribute in schema testsClaude Paroz
Without that, the Note model would be initially created and then the tests using that model failed when run in isolation.
2015-04-18Fixed #24595 Oracle test failureShai Berger
The only problem for Oracle was the test, which tested nullity on text/char fields -- but Oracle interprets_empty_strings_as_null.
2015-04-18Stopped special-casing postgres-specific testsClaude Paroz
Refs #23879.
2015-04-18Stopped conditional discovery of gis_tests appsClaude Paroz
Refs #23879.
2015-04-17Fixed #24349 -- Limited domain name labels to 63 characters in EmailValidatorAnoop Thomas Mathew
2015-04-17Fixed #24595 -- Prevented loss of null info in MySQL field alterationClaude Paroz
Thanks Simon Percivall for the report, and Simon Charette and Tim Graham for the reviews.
2015-04-16Fixed gis_tests when run without GIS dependencies.Tim Graham
2015-04-16Fixed fixtures tests failure on Python 2 with non-ASCII path.Tim Graham
2015-04-16Fixed #21652 -- Added notification when processing objects in loaddataYitzhak Clark
Added a running count of the objects processed by loaddata when verbosity >= 3.
2015-04-16Fixed #24605 -- Fixed incorrect reference to alias in subquery.Anssi Kääriäinen
Thanks to charettes and priidukull for investigating the issue, and to kurevin for the report.