1
0
mirror of https://github.com/django/django.git synced 2024-11-20 00:14:08 +00:00
Commit Graph

1107 Commits

Author SHA1 Message Date
Bryan Marty
455034d4df Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.
2015-10-28 15:44:53 -04:00
Claude Paroz
40a2262506 Added versionadded directive for GDALRaster.srid
Complement to 48548d1a47.
2015-10-28 15:35:23 +01:00
Daniel Wiesmann
48548d1a47 Refs #25588 -- Added the srid property to GDALRaster
Geometry objects have an srid property, so this addition makes the raster api
more similar to the geometries api.
2015-10-28 15:27:19 +01:00
Tim Graham
9c5e272860 Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
Tim Graham
e0c0080e29 Fixed typo in docs/ref/contrib/admin/index.txt 2015-10-26 09:03:04 -04:00
Curtis Maloney
35440ceab7 Optimized docs images and documented the process. 2015-10-24 14:57:21 -04:00
Sergey Fedoseev
a7bb5af50b Fixed #25583 -- Allowed calling transform with CoordTransform even if SRID is invalid. 2015-10-24 11:39:24 -04:00
Sergey Fedoseev
310049a5ae Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform. 2015-10-24 10:53:48 +02:00
Dheerendra Rathor
59e85f09c6 Fixed #25519 -- Made the admin "View site" link point to sites running on a subpath.
Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been
customized from the default value of '/'.
2015-10-22 13:51:00 -04:00
Sergey Fedoseev
92c1ae1b0b Fixed quotes in GeoQuerySet aggregates examples. 2015-10-13 23:39:29 -04:00
Claude Paroz
533c10998a Added precision about GeoJSON field outputs 2015-10-12 21:48:29 +02:00
Claude Paroz
617b1a21f5 Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-11 12:24:33 +02:00
Claude Paroz
37d06cfc46 Fixed #25499 -- Added the ability to pass an expression in distance lookups
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-09 15:27:47 +02:00
Tim Graham
e0837f2cb1 Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
Claude Paroz
41ed6338a4 Upgraded OpenLayers version from 2.13 to 2.13.1
Thanks Daniel Hahler for the initial patch.
2015-10-03 12:36:39 +02:00
Andrew Artajos
d2ef521a53 Fixed #25398 -- Revised instances of os.path.join()
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')
2015-10-03 09:07:25 +02:00
Tim Graham
b47552b445 Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt 2015-09-29 19:40:35 -04:00
Tim Graham
4cd2bdae07 Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__(). 2015-09-28 07:20:46 -04:00
Tim Graham
54848a96dd Removed versionadded/changed annotations for 1.8. 2015-09-23 19:31:11 -04:00
Tim Graham
75374d3797 Refs #24099 -- Removed compatibility shim for ContentType.name field. 2015-09-23 19:31:10 -04:00
Tim Graham
5d383549ee Refs #24152 -- Removed deprecated GeoQuerySet aggregate methods.
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
3af9b70028 Refs #22789 -- Removed contrib.webdesign per deprecation timeline. 2015-09-23 19:31:09 -04:00
ramez
1335aa2fb9 Fixed #15760 -- Added JavaScript events for admin inline forms. 2015-09-21 15:34:44 -04:00
Unai Zalakain
aac2a2d2ae Fixed #13110 -- Added support for multiple enclosures in Atom feeds.
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is
then used by the feed builder. If the feed is a RSS feed, an exception is
raised as RSS feeds don't allow multiple enclosures per feed item.

The ``item_enclosures`` hook defaults to an empty list or, if the
``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure``
built from the ``item_enclosure_url``, ``item_enclosure_length``, and
``item_enclosure_mime_type`` hooks.
2015-09-18 18:31:58 -04:00
Tim Graham
d074926ca1 Dropped support for Oracle 11.1. 2015-09-18 09:18:09 -04:00
Tim Graham
abd33d80db Removed obsolete pysqlite documentation.
These steps are no longer needed as of pysqlite 2.7.0.
76f34850be
2015-09-17 18:41:37 -04:00
Stephen Paulger
443dffbeb2 Remove unnecessarily rude terminology. 2015-09-16 12:05:28 +01:00
Tim Graham
64d7a553e1 Fixed #25369 -- Corrected syndication's get_object() example. 2015-09-14 15:30:01 -04:00
Ryan Allen
fba8655e88 Renamed admin doc image files to match the documentation they are for. 2015-09-11 12:01:13 -04:00
Ryan Allen
6e8ddbaa25 Fixed #25200 -- Updated admin screenshots in docs. 2015-09-11 12:00:10 -04:00
Flavio Curella
0c7c18cc9e Fixed #25380 -- Added Postgres.app to the PostGIS options on OS X. 2015-09-11 07:58:46 -04:00
Flavio Curella
dfced0921c Fixed #25379 -- Removed obsolete information from GeoDjango tutorial.
Django 1.9 drops support for PostgreSQL 9.0 where creating
a database using a template was needed.
2015-09-10 20:46:08 -04:00
Ola Sitarska
f2f8972def Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.
Thanks Jaap Roes for the idea and initial patch.
2015-09-08 19:13:43 -04:00
Raphael Michel
1bbca7961c Fixed #25350 -- Added alias --no-input for --noinput to management commands. 2015-09-08 08:41:03 -04:00
Zan Anderle
f3dc173240 Fixed #24917 -- Made admindocs display model methods that take arguments. 2015-09-07 15:07:39 -04:00
Maxime Lorant
5153a3bfdc Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
Tim Graham
123984ff66 Fixed #25289 -- Updated admin's jQuery to 2.1.4. 2015-08-31 09:39:43 -04:00
Y3K
b649f68649 Fixed #25262 -- Removed the enable_comments field from FlatPageAdmin. 2015-08-29 08:55:50 -04:00
David Sanders
7efdd40407 Updated PROJ.4 link to new GitHub wiki. 2015-08-25 09:57:04 -04:00
Anton Strogonoff
20787b5c29 Used consistent capitalization and hyphenation of "class-based views" in docs. 2015-08-18 19:07:10 -04:00
Anton Strogonoff
d35f184b20 Limited line length in docs/ref/contrib/messages.txt example. 2015-08-17 07:44:04 -04:00
Brendan Hayward
c9fb4f3c45 Fixed #25205 -- Removed doc references to deprecated GeoManager class. 2015-08-11 10:14:44 -04:00
Tim Graham
56ed80ac2a Fixed typo in docs/ref/contrib/gis/geoquerysets.txt 2015-08-11 09:33:06 -04:00
Tim Graham
5980b05c1f Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
This mostly reverts 5643a3b51b and
81e1a35c36.

Thanks Carl Meyer for review.
2015-08-10 08:51:32 -04:00
Claude Paroz
e9c5c39631 Updated various links in docs 2015-08-08 13:57:15 +02:00
Claude Paroz
64982cc2fb Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
Tim Graham
28cb272a72 Fixed #25224 -- Fixed typo in docs/ref/contrib/flatpages.txt 2015-08-04 14:45:15 -04:00
Tim Graham
f93e7f5674 Fixed #24690 -- Added a warning about mutable defaults for ArrayField/JSONField. 2015-08-01 07:46:30 -04:00
Flavio Curella
1e2362ca0f Refs #25184 -- Started deprecation for contrib.gis.geoip. 2015-07-31 10:09:06 -04:00
Flavio Curella
7f0953ce1f Fixed #25184 -- Added support for MaxMind GeoLite2 database format 2015-07-31 09:45:03 -04:00
Flavio Curella
c2e70f0265 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
Tim Graham
87d55081ea Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
Thanks hellbeast for the initial patch.
2015-07-27 10:32:47 -04:00
Claude Paroz
1da170a203 Fixed #25141 -- Diminished GDAL dependence during geojson serialization
Only require GDAL if contained geometries need coordinate transformations.
Thanks drepo for the report and Tim Graham for the review.
2015-07-20 20:22:29 +02:00
Ali Vakilzade
ecf4ed246a Fixed signature of ModelAdmin.get_paginator() in docs. 2015-07-20 08:07:31 -04:00
Ben Spaulding
83f6373030 Fixed #25116 -- Removed long-broken admindocs bookmarklets
These were broken back in commit 64e11a6.
2015-07-13 08:18:58 -04:00
Chris McCollister
d62194a260 Fixed #24984 -- Added link to Jinja2 static tag instructions in staticfiles docs. 2015-07-13 07:38:18 -04:00
Tim Graham
f59667c121 Fixed #25033 -- Added context_processors.auth to documented admin dependencies. 2015-06-27 14:27:03 -04:00
Daniel Wiesmann
c078021555 Refs #24840 -- Added GDALRaster Warp and transform methods
Thanks to Tim Graham for the review.
2015-06-24 18:31:22 +02:00
Tim Graham
5ae0dd6abf Fixed #25001 -- Doc'd caveat about collectstatic and removing INSTALLED_APPS.
Thanks aRkadeFR for the initial patch.
2015-06-22 12:36:38 -04:00
Bipin Suresh
34047b23e2 Fixed #24983 -- Clarified contrib.sites Site.domain is fully qualified. 2015-06-22 09:39:54 -04:00
Claude Paroz
1c90a3dcca Fixed #24985 -- Added note about possible invalid feed content
Thanks Michael Wood for the report and Tim Graham for the review.
2015-06-21 20:53:01 +02:00
Claude Paroz
ffdf507ec0 Added GDAL 2.0 support 2015-06-20 14:40:50 +02:00
Daniel Wiesmann
b769bbd4f6 Fixed #23804 -- Added RasterField for PostGIS.
Thanks to Tim Graham and Claude Paroz for the reviews and patches.
2015-06-19 14:36:43 -04:00
Nick Pope
b3d5dc6932 Fixed #24834 -- Fixed get_current_site() when Host header contains port.
When the Host header contains a port, looking up the Site record fails
as the host will never match the domain.
2015-06-18 10:18:12 -04:00
Adam Chainz
d34d39ade7 Fixed #24894 -- Added contrib.postgres.functions.TransactionNow 2015-06-15 14:03:17 -04:00
argaen
1725d00991 Fixed import in docs/ref/contrib/syndication.txt 2015-06-09 12:36:34 -04:00
Marten Kenbeek
1e82094f1b Fixed #21927 -- Made application and instance namespaces more distinct.
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Loek van Gent
0207bdd2d4 Fixed #24474 -- Allowed configuring the admin's empty change list value. 2015-06-04 21:06:26 -04:00
Marc Tamlyn
7bda2d8ebc Fixed #24837 -- field__contained_by=Range
Provide `contained_by` lookups for the equivalent single valued fields
related to the range field types. This acts as the opposite direction to
rangefield__contains.

With thanks to schinckel for the idea and initial tests.
2015-06-04 19:29:59 +01:00
Tim Graham
c954931abd Refs #24811 -- Fixed syntax error in CREATE EXTENSION example query. 2015-05-31 06:24:08 -04:00
Marc Tamlyn
33ea472f69 Fixed #24604 -- Added JSONField to contrib.postgres. 2015-05-30 23:10:30 +01:00
Marc Tamlyn
74fe4428e5 Add HasAnyKeys lookup for HStoreField. 2015-05-30 21:39:45 +01:00
Curtis
c005a6620e Optimise the rest of the PNGs in docs 2015-05-29 15:22:40 +10:00
Tim Graham
9ef2615d49 Fixed #24811 -- Added details on installing PostgreSQL extensions. 2015-05-23 15:38:30 -04:00
I am Clinton
32f0c8f796 Cosmetic edits and minor fixes to docs/ref/contrib/admin/index.txt 2015-05-21 20:23:26 -04:00
latyas(懒)
8b106cfaa0 Fixed typo in docs/ref/contrib/admin/index.txt 2015-05-20 08:13:56 -04:00
Piotr Jakimiak
70e3e2e08e Fixed #24774 -- Made contrib.site's Site.domain field unique 2015-05-16 08:43:42 -04:00
Riccardo Magliocchetti
bd53db5eab Fixed #24553 -- Added the list of available applications to AdminSite.each_context() 2015-05-11 12:07:36 -04:00
Sławomir Ehlert
64ed8cdc9f Fixed typos in docs/ref/contrib/gis/geoquerysets.txt 2015-05-06 09:58:42 -04:00
Abhaya Agarwal
9096e2b5f7 Fixed #24736 -- Documented the Sitemap.limit attribute 2015-05-05 09:18:21 -04:00
Dave Hodder
08c980d752 Updated capitalization in the word "JavaScript" for consistency 2015-05-01 13:26:42 -04:00
Markus Bertheau
4a438e400b Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator. 2015-04-28 12:07:02 -04:00
Tim Graham
26996e2d55 Fixed #24499 -- Dropped support for PostGIS 1.5. 2015-04-25 12:21:16 -04:00
Tim Graham
618bc4e653 Documented INSTALLED_APPS requirement for HStoreField. 2015-04-24 08:25:33 -04:00
Claude Paroz
1b1b58bc7b Documented GeoQuerySet replacement by functions 2015-04-22 19:54:17 +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
Tim Graham
e15c55e2bf Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284.
Thanks Carsten Fuchs.
2015-04-20 10:45:05 -04:00
Tim Graham
d3bf5e7b00 Fixed #24645 -- Documented use of HStoreExtension. 2015-04-16 07:22:01 -04:00
Justin Bronn
508b06f389 Update to indicate GDAL 1.11 is supported. 2015-04-13 15:26:28 -04:00
Justin Bronn
4fb0023816 Update PROJ.4 source instructions to use 4.9.1. 2015-04-13 15:24:17 -04:00
Justin Bronn
db3f07f4c3 Update link to use GEOS 3.4.2 in source installation docs. 2015-04-13 13:57:00 -04:00
andredelorme
d5d92260bb Fixed typo in docs/ref/contrib/admin/index.txt 2015-04-09 13:44:11 -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
Andriy Sokolovskiy
e4cf8c8420 Fixed #24301 -- Added PostgreSQL-specific aggregate functions 2015-03-30 10:44:37 -04:00
Markus Holtermann
c5cc332bf2 Fixed #24550 -- Added migration operation description to sqlmigrate output
Thanks Tim Graham for the review.
2015-03-30 16:31:20 +02:00
Tim Graham
0c91a419f8 Dropped support for PostgreSQL 9.0. 2015-03-27 12:10:55 -04:00
Fabio Natali
cb506aed2a Fixed #23814 -- Documented apps refactored out of Django. 2015-03-25 08:46:23 -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