Commit Graph

20492 Commits

Author SHA1 Message Date
Artis Avotins 86aaffa5a3 Fixed #24689 -- Fixed DetailView methods with deferred QuerySet. 2015-04-25 19:42:00 -04:00
Tim Graham 0f2e82b9ec Fixed #24704 -- Clarified system check interaction with runserver. 2015-04-25 15:06:17 -04:00
Tim Graham 2d76b61dc2 Fixed #24649 -- Allowed using Avg aggregate on non-numeric field types. 2015-04-25 13:06:14 -04:00
Tim Graham 26996e2d55 Fixed #24499 -- Dropped support for PostGIS 1.5. 2015-04-25 12:21:16 -04:00
Markus Holtermann faad6070ee Fixed #24701 -- Converted model manager names to unicode in migrations
Thanks to Reto Aebersold for reporting the issue and Tim Graham and
Claude Paroz for the review.
2015-04-25 18:17:06 +02:00
Marten Kenbeek 1521861b3c Fixed #24703 -- Changed squashmigrations to use a MigrationLoader
Changed squashmigrations to not instantiate a MigrationExecutor,
but to directly use a MigrationLoader instance instead.
2015-04-25 17:41:17 +02:00
Adam Zapletal 0cf7477ed8 Fixed a typo and formatting consistency in testing tools docs
I changed "appears" to "appear" and emphasized the word "not" to match
the rest of the document.
2015-04-25 12:22:53 +02:00
Michal Čihař 76d26d8922 Fixed #24063 -- Allowed locale variants supported by gettext.
The locale code can contain a variant after @, so allowed that.
2015-04-24 20:31:16 -04:00
Nik Nyby 9d6914da66 Added missing comma in LocMemCache example. 2015-04-24 20:29:07 -04:00
Andrei Kulakov 8a1824d465 Fixed #24643 -- Added get_context_data() method to FormMixin 2015-04-24 20:17:29 -04:00
Claude Paroz a37dcfd0a3 Delayed GDAL check for OSMGeoAdmin 2015-04-24 20:30:23 +02:00
Claude Paroz b695153852 Rearranged imports in geos files 2015-04-24 20:30:23 +02:00
Claude Paroz d9bcba9b29 Removed many HAS_GEOS conditional imports 2015-04-24 20:30:23 +02:00
Claude Paroz 61d09e61f5 Lazy loading of GEOS functions 2015-04-24 20:30:23 +02:00
Josh Smeaton 143255c8bb Fixed #22598 -- Allowed make_aware() to work with ambiguous datetime 2015-04-24 13:55:40 -04:00
Marcus Pennington 269a5dbdd3 Fixed #24700 -- Added dash to slug regex in http docs 2015-04-24 17:57:29 +01:00
Tim Graham 8efea1b8d5 Fixed #24526 -- Combined django.request/security loggers with the root logger.
Thanks Carl Meyer for review.
2015-04-24 11:07:42 -04:00
Nicolas Noé 37682368a6 Fixed #24656 -- Added missing imports to query expressions doc. 2015-04-24 10:54:19 -04:00
Daniel Harding ad31bc0565 Updated startproject MIDDLEWARE_CLASSES in docs. 2015-04-24 09:32:40 -04:00
Alasdair Nicol b9e972b961 Fixed #24695 -- Tidied up a couple of regexes in the CBV docs
Thanks datakid for the report
2015-04-24 09:23:28 -04:00
Tim Graham 618bc4e653 Documented INSTALLED_APPS requirement for HStoreField. 2015-04-24 08:25:33 -04:00
Claude Paroz 6d685b1674 Fixed failures with older Spatialite versions 2015-04-23 18:54:07 +02:00
Richard Eames dd99f57710 Fixed #24613 -- Added example to QuerySet.defer() documentation 2015-04-22 19:18:57 -04:00
Preston Timmons 8ae04e7630 Added docs for new template loader api.
Refs #15053.
2015-04-22 14:49:22 -05:00
Preston Timmons 65a7a0d9ee Improved display of template loader postmortem on debug page.
This now works for multiple Django engines and recursive loaders.
Support for non-Django engines is still pending.

Refs #15053.
2015-04-22 14:49:00 -05:00
Preston Timmons fc21471526 Fixed #15053 -- Enabled recursive template loading. 2015-04-22 14:49:00 -05:00
Claude Paroz 1b1b58bc7b Documented GeoQuerySet replacement by functions 2015-04-22 19:54:17 +02:00
Claude Paroz ea27e26b09 Deprecated legacy GeoManager/GeoQuerySet methods 2015-04-22 19:54:17 +02:00
Claude Paroz 71e20814fc Added MySQL support to GIS functions 2015-04-22 19:54:17 +02:00
Claude Paroz 44bdbbc316 Added Spatialite support to GIS functions 2015-04-22 19:54:17 +02:00
Claude Paroz d9ff5ef36d Fixed #24214 -- Added GIS functions to replace geoqueryset's methods
Thanks Simon Charette and Tim Graham for the reviews.
2015-04-22 19:54:17 +02:00
Tim Graham 1418f75304 Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt 2015-04-22 09:31:10 -04:00
Tim Graham 6ea9819f89 Clarified "AbstractUser.last_login allows null values" in 1.8 release notes. 2015-04-22 08:48:01 -04:00
Oliver A Bristow 4cd727095d Fixed #24681 -- Removed Unicode bug in BrokenLinkEmailMiddleware 2015-04-21 22:02:04 +02:00
Claude Paroz 6e8cb75e3e Fixed #24672 -- Clarified note about installing postgis_topology
Thanks Serhiy Zahoriya for the suggestion and Tim Graham for the
review.
2015-04-21 17:54:38 +02:00
Steve Hiemstra 258d81acbe Fixed #24682 -- Corrected a few generic editing view links 2015-04-21 10:26:19 -04:00
Markus Holtermann b93690c465 Fixed #24573 -- Considered new related models for reloading
Thanks tttomekkk for the report.
2015-04-21 11:35:45 +02:00
Matthew Wilkes e4b7daec11 Refs #24354 -- Prevented repointing of relations on superclasses when migrating a subclass's name change
The issue was hidden on 1.8+ until #24573 due to a bug inside the model
reloading process.

Forwardport of patch from ae87ad005f
2015-04-21 11:28:38 +02:00
Marten Kenbeek 1a1f16d67d Fixed #24591 -- Optimized cloning of ModelState objects.
Changed ModelState.clone() to create a shallow copy of self.fields
and self.managers.
2015-04-20 19:53:21 -04:00
Tim Graham c331eeb89c Forwardported 1.8.1 release notes. 2015-04-20 19:26:31 -04:00
Simon Charette b44ed404c7 Fixed #24654 -- Based ordering circular references detection on columns.
Thanks to Elmar Bucher for the report and Tim for the review.
2015-04-20 15:49:58 -04:00
Tim Graham ffe83d16bd Fixed #24659 -- Clarified docs of smtp.EmailBackend parameters. 2015-04-20 15:46:31 -04:00
Simon Charette 37e23c6060 Fixed #24674 -- Documented the correct NullBooleanField formfield.
Thanks to knbk for the report.
2015-04-20 15:18:41 -04:00
Jon Dufresne b5e0eede40 Fixed #22394 -- Refactored built-in datetime lookups to transforms. 2015-04-20 15:11:11 -04:00
Marten Kenbeek 039d7881b4 Refs #24397 -- Sped up model reloading in ProjectState.
Created bulk_update() context manager on StateApps. Sped up unregistering
models in reload_models() by using this context mananger.
2015-04-20 14:42:23 -04:00
Matt Robenolt 6387d9d41f Refactored PasswordResetTokenGenerator to be a bit more extensible. 2015-04-20 14:27:12 -04:00
Anton f5fbddf22f Fixed typo in docs/topics/class-based-views/intro.txt 2015-04-20 14:11:21 -04:00
Tim Graham e15c55e2bf Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284.
Thanks Carsten Fuchs.
2015-04-20 10:45:05 -04:00
Preston Timmons fb267a1d85 Updated template tests to create their own engine.
This continues work to treat Django templates as a library.
2015-04-20 09:11:37 -05:00
Neal Todd d84f01ff08 Amended get_all_related_objects() backwards compatible replacement. 2015-04-20 09:50:17 -04:00