Marc Tamlyn
36f514f065
Added HStoreField.
...
Thanks to `django-hstore` for inspiration in some areas, and many people
for reviews.
2014-11-04 09:26:40 +00:00
Veres Lajos
a71a2ea756
Fixed typos using https://github.com/vlajos/misspell_fixer
2014-11-03 20:59:30 -05:00
Zan Anderle
7b42036752
Fixed #5405 -- Added admindocs support for reStructured text in model docstrings
...
Thanks elvard and gkmngrgn for work on the patch and Markus H. for review.
2014-11-03 15:30:46 -05:00
Zan Anderle
1cf109515a
Changed docstrings in admindocs/utils to comply to PEP 257
2014-11-03 15:00:49 -05:00
Berker Peksag
f7969b0920
Fixed #23620 -- Used more specific assertions in the Django test suite.
2014-11-03 11:56:37 -05:00
Tim Graham
d6d55368d4
Fixed #23731 -- Fixed migrations crash when adding blank GeometryFields on PostGIS.
...
Thanks raratiru for the report and Claude Paroz for review.
2014-10-31 18:37:52 -04:00
Tim Graham
e548d08f24
Renamed SpatiaLite feature flag introduced in refs #23152 .
...
Thanks Doug Goldstein for the suggestion.
2014-10-31 15:55:45 -04:00
Aymeric Augustin
c0c1bb9e64
Avoided using private API get_template_from_string.
2014-10-31 11:38:53 +01:00
Tim Graham
57e40551e4
Fixed #23152 -- Added support for transactional Spatialite metadata initialization.
...
Thanks Doug Goldstein for the initial patch.
2014-10-30 13:52:42 -04:00
Tim Graham
03bd79ed21
Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations.
2014-10-29 08:21:24 -04:00
Berker Peksag
c9178ef17a
Limited lines to 119 characters in django/{contrib,db}.
...
Refs #23395 .
2014-10-29 07:59:35 -04:00
Claude Paroz
d49183e4be
Removed unused import
2014-10-24 17:07:50 +02:00
Claude Paroz
1bdf1cb1c0
Updated gis_migrations tests
2014-10-24 15:10:39 +02:00
a1tus
2d75515a4c
Fixed #23444 -- Deprecated django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
2014-10-23 09:49:24 -04:00
Tim Graham
36ea03eb36
Fixed #23701 -- Removed an unneeded check in collectstatic.
...
Thanks prathik for the report.
2014-10-22 13:11:37 -04:00
Loic Bistuer
533532302a
Fixed #23663 -- Initialize output streams for BaseCommand in __init__().
...
This helps with testability of management commands.
Thanks to trac username daveoncode for the report and to
Tim Graham and Claude Paroz for the reviews.
2014-10-22 09:25:50 +07:00
Claude Paroz
bbc3505ef8
Removed unneeded override_system_checks
...
Refs #23685 .
2014-10-21 20:54:32 +02:00
Claude Paroz
b8f2c972d0
Removed redundant skip_checks option for call_command
2014-10-20 17:26:00 +02:00
Loic Bistuer
0fb83f1491
Made the ping_google command override BaseCommand.handle() rather than execute().
...
Overriding execute() bypasses the system check framework among other things.
2014-10-19 22:26:51 +07:00
Claude Paroz
2e5b2c612e
Fixed #23579 -- Changed GEOSGeometry.__str__ to include the SRID
...
Thanks Tim Graham for the review.
2014-10-16 09:30:37 +02:00
Claude Paroz
bc46e4d4fa
Fixed two more tuple/int comparisons in gis tests
...
Refs 63ff417746
.
2014-10-11 17:14:29 +02:00
Claude Paroz
63ff417746
Fixed a tuple/int comparison in spatialite backend
...
On Python 3, comparing tuple with int raises a TypeError.
2014-10-11 16:56:48 +02:00
Konrad Świat
06b11b617e
Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.
...
Thanks ranjur for reporting bug, timgraham for review,
and collinanderson for contributing tips.
2014-10-10 12:10:32 -04:00
Claude Paroz
65c1a37490
Converted GIS lookups for Oracle
2014-10-09 21:38:50 +02:00
Claude Paroz
2bd1bbc424
Converted GIS lookups to use the new Lookup API
...
Thanks Tim Graham, Anssi Kääriäinen and Marc Tamlyn for the
reviews.
2014-10-09 21:38:50 +02:00
Marc Tamlyn
92a17eaae0
Fixed #23627 -- Allowed register_lookup to work as a decorator.
2014-10-09 18:44:58 +01:00
Tim Graham
0af4ddabf4
Fixed typos in comments.
2014-10-08 15:59:19 -04:00
Loic Bistuer
ed37f7e979
Fixed #23611 -- update_or_create failing from a related manager
...
Added update_or_create to RelatedManager, ManyRelatedManager and
GenericRelatedObjectManager.
Added missing get_or_create to GenericRelatedObjectManager.
2014-10-08 03:27:31 +07:00
Markus Holtermann
2f16ff5a6c
Fixed #23601 -- Ensured view exists in URLconf before importing it in admindocs.
2014-10-06 09:31:39 -04:00
Emmanuelle Delescolle
a24cf21722
Fixed #23604 -- Allowed related m2m fields to be references in the admin.
...
Thanks Simon Charette for review.
2014-10-06 08:35:16 -04:00
Tim Graham
32c7d3c061
Fixed #15089 -- Allowed contrib.sites to lookup the current site based on request.get_host().
...
Thanks Claude Paroz, Riccardo Magliocchetti, and Damian Moore
for contributions to the patch.
2014-10-01 16:23:20 -04:00
Claude Paroz
3339605821
Added a dumpdata/loaddata test for geographic content
2014-10-01 21:31:35 +02:00
Claude Paroz
d6a15026c4
Updated translations from Transifex
...
Forward port of e9c8aefbce
from stable/1.7.x
2014-09-30 20:55:50 +02:00
Nick Sandford
f5cfd09c25
Fixed #7361 -- Added cancel link to admin delete views.
2014-09-30 08:45:04 -04:00
Tim Graham
df578bf175
Added ordering to fix non-deterministic relatedapp test.
2014-09-29 08:53:44 -04:00
Thomas Chaumeny
b2aad7b836
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
...
Thanks Collin Anderson for the review.
2014-09-29 00:01:38 +07:00
Loic Bistuer
45840927d3
Silenced some deprecation warnings in contrib.sitemaps; refs #22384 .
2014-09-27 00:42:47 +07:00
Thomas Chaumeny
17557d068c
Fixed #8408 -- Added ModelAdmin.show_full_result_count to avoid COUNT() query.
...
Thanks lidaobing for the suggestion.
2014-09-26 12:12:40 -04:00
Claude Paroz
d1ca70110f
Factorized schema_editor() at BaseDatabaseWrapper level
2014-09-26 08:50:16 +02:00
Tim Graham
a8f07530a7
Fixed #23537 -- Added Oracle GIS SchemaEditor.
...
Thanks Shai Berger for review.
2014-09-25 20:16:54 -04:00
Tim Graham
74e7f91e6d
Fixed #23538 -- Added SchemaEditor for MySQL GIS.
...
Thanks Claude Paroz for suggestions and review.
2014-09-25 13:53:44 -04:00
Thomas Chaumeny
9f576dd54f
Added tolerance in equality testing to avoid random build failure
2014-09-25 07:19:23 -04:00
Thomas Chaumeny
ac2e7f08d8
Fixed use of assert* functions in some gis tests
2014-09-25 07:19:23 -04:00
Justin Caratzas
cf43a1ee90
Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() hooks to GenericInlineModelAdmin.
2014-09-24 06:32:42 -04:00
Tim Graham
a1709220d5
Added an Oracle workaround for a geogapp test; refs #23504 .
2014-09-23 20:47:08 -04:00
Tim Graham
729cd6a11a
Skipped a broken geoapp test on Oracle; refs #23504 .
2014-09-23 19:51:14 -04:00
Claude Paroz
2a1bdf5ced
Called table_names instead of get_table_list in migrations
2014-09-23 20:13:31 +02:00
Marc Tamlyn
c6fd1e904c
Fixed Oracle GIS gml() test failure introduced by e910340; refs #18757 .
2014-09-22 13:10:03 +01:00
Loic Bistuer
c9a53035d6
Generate GeoManager from GeoQuerySet. Refs #20625 .
...
This cleanup lays the groundwork for #23533 and also addresses
the issue that GeoManager.get_queryset() failed to pass the
database router hints to the QuerySet constructor.
Thanks Anssi Kääriäinen for the review.
2014-09-22 17:18:08 +07:00
Tim Graham
828edc5ba9
Skipped a broken GIS test on Oracle; refs #23504 .
2014-09-19 15:03:55 -04:00