Commit Graph

13165 Commits

Author SHA1 Message Date
Tim Graham 4d83b0163e Fixed -- Replaced render_to_response() with render() in docs examples. 2015-12-23 09:14:32 -05:00
Sergey Fedoseev 312fc1af7b Fixed -- Removed handling of thread-non-safe GEOS functions. 2015-12-23 08:02:37 -05:00
Sergey Fedoseev 5d348bba31 Fixed -- Added support for GEOSisClosed. 2015-12-22 16:54:02 -05:00
Jon Dufresne f1628f6be1 Fixed -- Added "python" as an interface to the shell command.
Deprecates the "--plain" option.
2015-12-22 08:22:12 -05:00
Tim Graham b10f66831b Fixed -- Removed support for 'skip_validation' in BaseCommand.execute(**options). 2015-12-21 14:26:42 -05:00
Karen Tracey 5399ccc0f4 Fixed -- Added ability to specify classes on admin inline fieldsets.
This includes the ability to collapse inlines by specifying a class named
'collapse'.
2015-12-21 13:50:06 -05:00
Emre Yilmaz 63a6a653d4 Fixed -- Enhanced the migration warning for runserver.
Added unapplied migration count and the list of unmigrated apps.
2015-12-21 12:54:29 -05:00
Tim Graham 541000773a Replaced some usage of django.jQuery with $. 2015-12-21 09:29:58 -05:00
Tim Graham f18b08748a Fixed -- Fixed the admin's list_editable add/change buttons. 2015-12-21 09:29:57 -05:00
Tim Graham fa9ce4e9a6 Fixed -- Fixed migrate --fake-initial detection of many-to-many tables. 2015-12-19 13:37:24 -05:00
Sergey Fedoseev c984e2bc15 Fixed -- Added trim and precision properties to WKTWriter. 2015-12-18 19:44:43 +01:00
Claude Paroz cd3c042b04 Fixed -- Allowed language not in Django's default LANGUAGES
This fixes a regression introduced by a5f6cbce07.
Thanks Gavin Wahl for the report and Tim Graham for the review.
2015-12-18 17:50:16 +01:00
Niels Van Och 99a1265a39 Fixed -- Added path to makemigration's output of migration file. 2015-12-18 11:20:00 -05:00
Simon Charette 3738e4ac46 Fixed -- Handled base array fields validation errors with params.
Thanks to Trac alias benzid-wael for the report.
2015-12-17 20:25:04 -05:00
Ian Foote 86eccdc8b6 Fixed -- Removed duplicate ids in prefetch_related() queries. 2015-12-17 19:08:30 -05:00
Sergey Fedoseev ed1bcf0515 Refs -- Fixed evaluation of zero-length slices of QuerySet.values() on Oracle. 2015-12-17 17:07:10 -05:00
Sven Grunewaldt 9af40f5df1 Fixed -- Fixed incorrect timezone warnings in custom admin templates. 2015-12-17 14:35:13 -05:00
Claude Paroz d91cc25a2a Fixed -- Fixed TypedChoiceField.has_changed with nullable field
This fixes a regression introduced by 871440361.
2015-12-17 15:38:19 +01:00
Simon Charette c4e372aaf4 Fixed -- Made sure AlterModelManager forces a reload of its model state.
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus
for the review.
2015-12-15 12:22:59 -05:00
Stewart Park b7fdd60d85 Fixed -- Skipped SQL_AUTO_IS_NULL query on MySQL if not needed. 2015-12-15 10:30:57 -05:00
Sergey Fedoseev 69b69f6d60 Fixed -- Fixed evaluation of zero-length slices of QuerySet.values(). 2015-12-15 07:29:35 -05:00
Ed Bartosh 423b3afce4 Fixed -- Removed redundant transaction in QuerySet.update_or_create().
There is no need to wrap the save() call in transaction.atomic() as
it's already done down the call stack in Model.save_base().
2015-12-14 19:41:11 -05:00
Sergey Fedoseev 5146e2cf98 Fixed -- Allowed creation of empty GEOS geometries. 2015-12-14 13:29:38 -05:00
Simon Charette 8035cee922 Fixed -- Prevented fast deletes matching no rows from crashing on MySQL.
Thanks to Trac aliases gerricom for the report, raphaelmerx for the
attempts to reproduce and Sergey Fedoseev and Tim for the review.

Refs 
2015-12-14 13:12:36 -05:00
Johannes Hoppe 5233b70070 Fixed -- Made HttpReponse immediately close objects. 2015-12-14 12:46:48 -05:00
Sergey Fedoseev a6c803a2e3 Fixed -- Made predicates of OGRGeometry return bool instead of int. 2015-12-14 11:30:36 -05:00
Anssi Kääriäinen cd0ba8053d Fixed -- Fixed queries with GenericRelations to multi-table inheritance child models. 2015-12-14 10:48:01 -05:00
Claude Paroz ed20dd2e85 Fixed -- Prevented UnicodeDecodeError for Q object repr
Thanks Ben Kraft for the report, and Simon Charette for the review.
2015-12-13 15:07:17 +01:00
Iacopo Spalletti d693074d43 Fixed -- Added keep_lazy() as a replacement for allow_lazy().
Thanks to bmispelon and uruz for the initial patch.
2015-12-12 14:46:48 -05:00
Sergey Fedoseev ed7b1bdf01 Fixed -- Removed gis.utils.ogrinfo.sample backwards compatibility alias. 2015-12-12 12:00:24 -05:00
Sergey Fedoseev f7889b83b0 Fixed -- Removed gis.utils.srs.add_postgis_srs() backwards-compatibility alias. 2015-12-12 10:49:04 -05:00
Sergey Fedoseev d40a38b335 Unwrapped gdal.Envelope import from try-except as fail of `import ctypes` is not expected. 2015-12-12 09:52:59 -05:00
Tim Graham 10427646b8 Fixed -- Added unicode_literals import to apps.py generated by startapp. 2015-12-12 09:34:01 -05:00
Claude Paroz b0ad5081d5 Fixed -- Corrected Slovak local name 2015-12-12 09:18:06 +01:00
Tim Graham 59f861fcb4 Fixed -- Removed unused LOGOUT_URL setting.
Thanks hop for the report and patch.
2015-12-11 12:43:02 -05:00
Sergey Fedoseev 8ab58b8052 Fixed -- Fixed admin deletion page summary counts for related objects. 2015-12-10 18:09:03 -05:00
Federico Frenguelli 3a36c80795 Fixed -- Fixed missing PostgreSQL index on Char/TextField when using AlterField.
Thanks to Emanuele Palazzetti for the help.
2015-12-10 16:12:51 -05:00
Johannes Hoppe cf546e11ac Fixed -- Made form Media and static template tag use staticfiles if installed. 2015-12-10 14:30:19 -05:00
Derek J. Curtis 6be9589eb3 Fixed -- Fixed regression in CommonMiddleware ETag support. 2015-12-10 13:51:07 -05:00
Tim Graham 179fbab7e0 Fixed -- Updated the project template's include() example.
Referencing URLs by dotted path is a stronger convention than
importing the URLs.
2015-12-09 11:27:16 -05:00
Amos Onn 542b7f6c50 Fixed -- Fixed state bug in SeparateDatabaseAndState.database_backwards(). 2015-12-09 11:06:57 -05:00
Claude Paroz cd40d9e721 Fixed -- Ignored exceptions when destroying geometry objects
Due to randomness of garbage collection with geometry objects, it's
easier to simply ignore AttributeError/TypeError generally raised when
parts of objects are already garbage-collected.
Thanks Sergey Fedoseev and Tim Graham for reviewing the patch.
2015-12-08 22:06:34 +01:00
Raphael Michel 82976e5c3f Fixed -- Added URLValidator hostname length validation.
URLValidator now validates the maximum length of a hostname and the
maximum length of all labels inside the hostname.
2015-12-08 15:46:45 -05:00
Sergey Fedoseev a8614fb438 Fixed -- Removed OGRGeometry.transform_to() backwards-compatibility method. 2015-12-08 10:05:38 +05:00
Simon Charette 59b57e672c Fixed -- Fixed a system check crash with nested ArrayFields.
Thanks to Jean Gourds for the report, Tim and Claude for the review.
2015-12-07 14:45:22 -05:00
Attila Tovt 6f229048dd Fixed -- Made Model.refresh_from_db() update FileField's instance. 2015-12-05 17:23:13 -05:00
Thomas Grainger d638cdc42a Fixed -- Removed inline JavaScript from the admin.
This allows setting a Content-Security-Policy HTTP header
(refs ).

Special thanks to blighj, the original author of this patch.
2015-12-05 15:51:57 -05:00
Emre Yilmaz 8e838d9c86 Fixed -- Fixed BaseCache.get_or_set() on the DummyCache backend.
This also fixes a possible data eviction race condition between
setting and getting a key. Another thread could remove the key
before get_and_set() accesses it again. In this case, now the
default value will be returned instead of None.
2015-12-04 12:22:17 -05:00
Sergey Fedoseev 25f5b5c19d Fixed -- Added support for GeoHash function on SpatiaLite. 2015-12-04 08:09:21 -05:00
Alexander Sosnovskiy b61eab18f7 Fixed -- Added models.Field.rel_db_type(). 2015-12-04 07:55:41 -05:00