Tim Graham
3c4fca271b
Fixed #24724 -- Fixed GIS initialization crash on Windows.
2015-05-01 15:47:34 -04:00
Tim Graham
2c3ce26beb
Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filter_* widgets.
2015-05-01 15:32:05 -04:00
Claude Paroz
6aed5cfc6f
Updated translations from Transifex
...
Updates for languages: Indonesian, Belarusian, Persian, and Dutch.
Forward port of cb370f8510
from stable/1.8.x
2015-04-30 14:29:08 +02:00
Tim Graham
26996e2d55
Fixed #24499 -- Dropped support for PostGIS 1.5.
2015-04-25 12:21:16 -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
Claude Paroz
6d685b1674
Fixed failures with older Spatialite versions
2015-04-23 18:54:07 +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
Matt Robenolt
6387d9d41f
Refactored PasswordResetTokenGenerator to be a bit more extensible.
2015-04-20 14:27:12 -04:00
Curtis Maloney
14ecbd02a3
Removed cases of six.iter* wrapped in a list()
...
There's absolutely no advantage [and a mild performance hit] to using six.iter*
in these cases.
2015-04-18 23:29:29 +10:00
Claude Paroz
36e90d1f45
Stopped special-casing postgres-specific tests
...
Refs #23879 .
2015-04-18 15:17:49 +02:00
Anssi Kääriäinen
fb5c7748da
Fixed #24615 -- ordering by expression not part of SELECT
...
Fixed queries where an expression was used in order_by() but the
expression wasn't in the query's select clause (for example the
expression could be masked by .values() call)
Thanks to Trac alias MattBlack85 for the report.
2015-04-16 09:40:47 +02:00
Riccardo Magliocchetti
bcf700b4e3
Removed code duplication between AdminSite.index() and app_index().
2015-04-15 09:56:22 -04:00
Eric Rouleau
d72e0178e9
Fixed #24593 -- Fixed number formatting of readonly IntegerFields in the admin.
2015-04-14 17:49:08 -04:00
Adam Zapletal
872eb26f54
Fixed #24621 -- Fixed and documented SessionBase.pop's second argument
...
Changed SessionBase.pop's second argument to explicitly be default=None
rather than *args since _session is always a dict. Thanks gabor for the
report and Tim Graham for the review.
2015-04-13 10:32:03 -04:00
Markus Holtermann
09595b4fc6
Fixed #24625 -- Prevented arbitrary file inclusion in admindocs
...
Thanks Tim Graham for the review.
2015-04-11 20:36:10 +02:00
Claude Paroz
4e7ed8d0d3
Fixed #24624 -- Replaced obsoleted rel.opts in admindocs view
...
Thanks Scott Sanders for the report, and Markus Holtermann and
Tim Graham for the reviews. Refs #24381 .
2015-04-11 15:29:02 +02:00
Tim Graham
c7679f1b58
Removed unused methods in GIS adapter.
2015-04-09 08:57:29 -04:00
Tim Graham
1273a7a0e8
Revert "Fixed #24474 -- Allowed configuring the admin's empty change list value."
...
This reverts commit 72f769f494
.
There are several test failures that need to be fixed.
2015-04-08 20:39:59 -04:00
Loek van Gent
72f769f494
Fixed #24474 -- Allowed configuring the admin's empty change list value.
2015-04-08 20:27:01 -04:00
Christopher Luc
e37d52bd5e
Fixed #22993 -- Deprecated skipIfCustomUser decorator
2015-04-07 09:45:32 -04:00
Claude Paroz
88dfe544f6
Fetched updated contrib translations from Transifex
...
Forward port of 5483c66f85
from stable/1.8.x
2015-04-01 19:51:50 +02:00
Tim Graham
845817b039
Fixed #24466 -- Added JavaScript escaping in a couple places in the admin.
...
Thanks Aymeric Augustin and Florian Apolloner for work on the patch.
2015-03-30 19:07:17 -04:00
Tim Graham
b86abbceb9
Fixed #24115 -- Allowed bcrypt hashers to upgrade passwords on rounds change.
...
Thanks Florian Apolloner for the review.
2015-03-30 18:52:59 -04:00
Andriy Sokolovskiy
e4cf8c8420
Fixed #24301 -- Added PostgreSQL-specific aggregate functions
2015-03-30 10:44:37 -04:00
Claude Paroz
c2bfd76ec3
Refs #15779 -- Fixed UserChangeForm regression introduced by 1791a7e75
...
Thanks Tim Graham for reporting the regression.
2015-03-28 09:24:01 +01:00
Moritz Sichert
1f2abf784a
Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates.
2015-03-27 19:46:20 -04:00
Caroline Simpson
dc5b01ad05
Fixed #18773 -- Added logging for template variable resolving
...
Added a django.template logger without a default handler. Added
logging if there is an exception while resolving variables in a
template.
2015-03-27 19:19:48 -04:00
Bas Peschier
9128762f16
Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set.
...
This introduces a force_append_slash argument for request.get_full_path()
which is used by RedirectFallbackMiddleware and CommonMiddleware when
handling redirects for settings.APPEND_SLASH.
2015-03-26 09:26:55 -04:00
Anssi Kääriäinen
8f30556329
Renamed Field.rel attribute to remote_field
...
Field.rel is now deprecated. Rel objects have now also remote_field
attribute. This means that self == self.remote_field.remote_field.
In addition, made the Rel objects a bit more like Field objects. Still,
marked ManyToManyFields as null=True.
2015-03-25 08:16:12 -04:00
Riccardo Magliocchetti
0decef337f
Fixed #24405 -- Made admin related object JavaScript overridable
...
Consolidated it in one file and move the DOM related stuff to the
template so it is easily overridable. To override the popup behavior
you need to add handlers for the custom events triggered in the
admin_change_form_document_ready template block.
2015-03-24 11:51:37 -04:00
TomV
a4a58811b9
Removed redundant model instantiation in contrib.admin; refs #11390 .
2015-03-23 10:06:25 -04:00
Karl Hobley
aea02ddfb7
Fixed #24490 -- Set LogEntry.change_message when adding an object.
2015-03-20 18:25:06 -04:00
Daniel Wiesmann
0d9b018e07
Fixed gis test failures when numpy isn't installed.
...
Thanks to Bas Peschier for pointing this out. Refs #23804 .
2015-03-20 13:42:55 -04:00
Yair Chuchem
eb5ebcc2d0
Fixed #24285 -- Made for_user argument optional for {% get_admin_log %} tag
2015-03-20 08:32:25 -04:00
Loek van Gent
35b3158d52
Fixed #24417 -- Added ModelAdmin.get_list_select_related()
2015-03-19 08:52:28 -04:00
Karl Hobley
81e1a35c36
Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
2015-03-18 19:00:09 -04:00
Tim Graham
02d78bb1a8
Fixed build failure introduced by refs #23757 .
2015-03-18 18:46:06 -04:00
Claude Paroz
65129aac07
Fixed #23757 -- Added 3D introspection support to Spatialite backend
...
Thanks Tim Graham for the review.
2015-03-18 19:27:44 +01:00
Claude Paroz
465edf2bb2
Updated translation catalogs
...
Strings are frozen in anticipation of the Django 1.8 release.
Forward port of 1cd2584c98
from stable/1.8.x
2015-03-18 09:31:00 +01:00
Claude Paroz
debf521d49
Removed translations from contrib.messages
...
The only one translatable string will be handled in the core catalog.
Forward port of 1bb712d79c
from stable/1.8.x
2015-03-18 09:30:20 +01:00
Josh Smeaton
88d798d71a
Refs #24485 -- Renamed some expression types
2015-03-17 08:40:18 -04:00
Daniel Wiesmann
b9cb81570e
Made SRID a required parameter for GDALRaster instantiation; refs #23804 .
...
Earlier versions of GDAL do not allow the srid to be set to 0,
so it should be a required parameter to ensure compatibility.
2015-03-17 08:16:12 -04:00
Daniel Wiesmann
f269c1d6f6
Added write support for GDALRaster
...
- Instantiation of GDALRaster instances from dict or json data.
- Retrieve and write pixel values in GDALBand objects.
- Support for the GDALFlushCache in gdal C prototypes
- Added private flush method to GDALRaster to make sure all
data is written to files when file-based rasters are changed.
- Replaced ``ptr`` with ``_ptr`` for internal ptr variable
Refs #23804 . Thanks Claude Paroz and Tim Graham for the reviews.
2015-03-16 19:37:43 +01:00
Marten Kenbeek
818182b514
Fixed #24488 -- Made create_default_site() use default pk of 1.
...
Fixed create_default_site() to use a default value in case
settings.SITE_ID isn't set; refs #23945 .
2015-03-16 13:30:59 -04:00