Loic Bistuer
9d104a21e2
Documented that m2m_changed isn't triggered when M2M is displayed as admin inline.
...
Refs #6707 .
2015-02-05 12:45:08 +07:00
darkryder
9ec8aa5e5d
Fixed #24149 -- Normalized tuple settings to lists.
2015-02-03 14:59:45 -05:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Tim Graham
1cd41874d5
Fixed typo in docs/ref/contrib/postgres/forms.txt.
2015-01-23 15:05:58 -05:00
Ng Zhi An
4669b6a807
Fixed #24170 -- Implemented decompress for BaseRangeField widgets
2015-01-22 19:36:15 +00:00
Simon Charette
dccf41cff0
Fixed #24186 -- Fixed a typo in the admin docs.
...
Thanks to Keryn Knight for the report.
2015-01-20 11:45:57 -05:00
Tim Graham
4548a282a1
Removed contrib.sites.models.RequestSite/get_current_site() aliases.
...
Per deprecation timeline; refs #21680 .
2015-01-18 13:36:32 -05:00
Tim Graham
ba27f89587
Clarified a contrib.sites deprecation and added to 1.7 release notes.
2015-01-18 13:33:19 -05:00
Tim Graham
3b89d2d540
Removed contrib.contenttypes.generic per deprecation timeline; refs #19774 .
2015-01-18 13:11:31 -05:00
Tim Graham
1d975ff44b
Removed usage of deprecated dumpdata options in docs.
2015-01-17 20:14:45 -05:00
Tim Graham
2c9e95639e
Removed ModelAdmin.get_formsets() per deprecation timeline; refs #20702 .
2015-01-17 18:02:35 -05:00
Tim Graham
c2d5f2903c
Removed contrib.flatpages.FlatPageSitemap per deprecation timeline; refs #23884 .
2015-01-17 14:40:22 -05:00
Collin Anderson
a420f83e7d
Fixed #24055 -- Keep reference to view class for resolve()
2015-01-17 22:09:10 +07:00
Tim Graham
41f0d3d3bc
Removed FastCGI support per deprecation timeline; refs #20766 .
2015-01-17 08:32:31 -05:00
Claude Paroz
b4ac232907
Fixed #24099 -- Removed contenttype.name deprecated field
...
This finsishes the work started on #16803 .
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
2015-01-16 20:21:34 +01:00
Claude Paroz
a79e6b6717
Fixed #24152 -- Deprecated GeoQuerySet aggregate methods
...
Thanks Josh Smeaton and Tim Graham for the reviews.
2015-01-16 19:53:02 +01:00
Keryn Knight
726a9550db
Fixed #24143 -- Encouraged use of Http404 messages for debugging.
2015-01-16 09:41:01 -05:00
Collin Anderson
e7771ec380
Fixed bad model example in admin docs.
2015-01-13 11:53:03 -05:00
Tim Graham
28de5cd4de
Fixed spelling errors in docs.
2015-01-11 13:24:13 -05:00
Aymeric Augustin
6c392bb2c0
Moved doc on the DTL's syntax to the ref/ section.
...
This makes room for a more general introduction about templating.
Updated some links to point to the new location, but kept those that
didn't talk specifically about the DTL.
2015-01-10 19:41:14 +01:00
Simon Charette
07988744b3
Fixed #13165 -- Added edit and delete links to admin foreign key widgets.
...
Thanks to Collin Anderson for the review and suggestions and Tim for the
final review.
2015-01-10 12:24:52 -05:00
Marc Tamlyn
48ad288679
Fixed #24001 -- Added range fields for PostgreSQL.
...
Added support for PostgreSQL range types to contrib.postgres.
- 5 new model fields
- 4 new form fields
- New validators
- Uses psycopg2's range type implementation in python
2015-01-10 16:18:19 +00:00
Tim Graham
c4e796aa1b
Fixed typo in docs/ref/contrib/admin/index.txt.
2015-01-01 08:18:39 -05:00
Thomas Tanner
46068d850d
Fixed #22295 -- Replaced permission check for displaying admin user-tools
2014-12-31 16:31:59 -05:00
Aymeric Augustin
9eb4f28e89
Deprecated TEMPLATE_CONTEXT_PROCESSORS.
2014-12-28 17:02:31 +01:00
Aymeric Augustin
d3205e3e2e
Deprecated TEMPLATE_DIRS.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
cf0fd65ed4
Deprecated TEMPLATE_LOADERS.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
cf1f36bb6e
Deprecated current_app in TemplateResponse and render(_to_response).
2014-12-28 17:02:29 +01:00
Aymeric Augustin
fdbfc98003
Deprecated some arguments of django.shortcuts.render(_to_response).
...
dictionary and context_instance and superseded by context.
Refactored tests that relied context_instance with more modern idioms.
2014-12-28 17:02:29 +01:00
Aymeric Augustin
92e8f1f302
Moved context_processors from django.core to django.template.
2014-12-28 17:00:07 +01:00
Tim Graham
c5fb34c47e
Documented AdminSite.has_permission(); refs #22295 .
2014-12-26 09:14:10 -05:00
Tim Graham
8842bc101c
Fixed some docs spelling mistakes.
2014-12-23 14:41:53 -05:00
Claude Paroz
6e08bde8c4
Added RasterSource/GDALBand GDAL objects
...
Based on Daniel Wiesmann's raster branch. Thanks Daniel Wiesmann
and Tim Graham for the reviews. Refs #23804 .
2014-12-23 16:36:18 +01:00
Collin Anderson
a58cfe8e71
Upgrade jQuery from 1.11.1 to 1.11.2
...
refs #23355
2014-12-22 20:32:00 -05:00
Claude Paroz
337cd09836
Updated some other external links in the docs
2014-12-19 18:07:52 +01:00
Claude Paroz
0a4b04fc23
Used https for most *.python.org links
2014-12-19 18:07:52 +01:00
Berker Peksag
9aeb917dad
Fixed #23884 -- Moved FlatPageSitemap into django.contrib.flatpages.
2014-12-15 09:45:31 -05:00
Kevin Marsh
e2868308bf
Fixed template tag braces spacing.
2014-12-12 09:34:18 -05:00
Claude Paroz
c0b65150ff
Fixed typo in spatialite.txt
...
Thanks Tim Graham for spotting the error.
2014-12-08 22:31:07 +01:00
Claude Paroz
bac7664f27
Ran 'CREATE EXTENSION postgis' during prepare_database hook
...
DatabaseWrapper.prepare_database has been introduced in 307de67073
.
2014-12-08 22:22:53 +01:00
Claude Paroz
8f97413fae
Fixed #20968 -- Checked Spatialite metadata before migrations
...
Thanks Kenial S. Lee for the initial patch and Tim Graham for
the review.
2014-12-08 22:22:53 +01:00
Claude Paroz
e309135081
Fixed documentation of GeoModelAdmin.openlayers_url
2014-12-06 12:47:08 +01:00
Tim Graham
1d3e41e1cf
Added versionadded annotation for contrib.postgres.
2014-12-04 16:42:24 -05:00
Berker Peksag
560b4207b1
Removed redundant numbered parameters from str.format().
...
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-12-03 14:27:38 -05:00
Claude Paroz
860eb01d17
Removed instructions to create a PostgreSQL cluster in GIS docs
...
Creating a new cluster is neither required not recommendable for
most users. The previous section explains how to create a user
with sufficient permissions to automatically create a database
during tests.
2014-11-29 11:21:25 +01:00
Thomas Chaumeny
17fe0bd808
Fixed #23423 -- Added unaccent lookup in django.contrib.postgres
2014-11-28 18:22:20 -05:00
Kenial Lee
cc870b8ef5
Fixed #23901 -- Documented how to use SpatiaLite with Homebrew.
2014-11-26 14:03:08 -05:00
Tim Graham
379431ef91
Updated GIS docs to use doc links.
2014-11-26 12:46:06 -05:00
Jannis Leidel
6302893112
Updated formtools docs to point at new package outside the Django repo.
...
Refs #23677 .
2014-11-26 09:41:52 -05:00
Simon Charette
e0d1f2684a
Added warning about get_inline_instances() permission checking; refs #23754 .
2014-11-25 13:14:01 -05:00
Claude Paroz
b0a58b9085
Updated an old note about GEOSGeometry.transform
2014-11-22 12:20:17 +01:00
Sergey Fedoseev
f1783ee479
Corrected Permission.max_length in docs; refs #8162 .
2014-11-21 08:20:48 -05:00
Carl Meyer
dee3946a91
Fix malformed note directives.
2014-11-17 16:42:54 -07:00
Julien Phalip
05e0e4674c
Merge pull request #3549 from psagers/master
...
Fixes a race condition in the documentation.
The example for django.contrib.admin.ModelAdmin.get_form was modifying self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests. This updated documentation demonstrates a safe method to override admin forms on a per-request basis.
2014-11-16 12:25:05 +01:00
Claude Paroz
5b9470efd8
Removed old version note in layermapping.txt
2014-11-15 20:42:08 +01:00
Peter Sagerson
0d1a9d203a
Fixes a race condition in the documentation.
...
The example for django.contrib.admin.ModelAdmin.get_form modifies
self.exclude. However, since ModelAdmin instances are global and have no
thread- or request-locality, this is not safe for concurrent
requests.[1] This updated documentation demonstrates a safe method to
override admin forms on a per-request basis.
[1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA
2014-11-15 11:31:09 -08:00
Claude Paroz
35dac5070b
Added a new GeoJSON serialization format for GeoDjango
...
Thanks Reinout van Rees for the review.
2014-11-15 18:07:18 +01:00
Claude Paroz
e541bbd0dc
Removed doc reference to pre-1.5 PostGIS
2014-11-13 14:38:19 +01:00
Claude Paroz
7fd1f3a645
Updated Fink doc section to be version-agnostic
2014-11-13 14:34:47 +01:00
Marc Tamlyn
83daf53636
Fix minor typo in documentation.
2014-11-04 21:08:32 +00:00
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
Berker Peksag
5c517ec218
Fixed versionchanged indentation in docs/.
2014-11-03 21:40:26 -05:00
Thomas Chaumeny
d3db878e4b
Moved CSRF docs out of contrib.
2014-11-03 07:47:39 -05:00
Zan Anderle
9e3aaa5a46
Explained why admindocs omits model methods with arguments.
2014-10-30 18:18:39 -04:00
Tim Graham
c0eea4645b
Added missing imports to example from previous commit.
2014-10-30 08:53:20 -04:00
Berker Peksag
4a9b4a23bd
Fixed #23575 -- Added a code example for custom AdminSite.
2014-10-30 08:46:14 -04:00
P.A. SCHEMBRI
388c6038fd
Added cross reference in admin docs to topic about saving objects in formsets.
2014-10-29 13:37:52 -04:00
Tim Graham
87eedfff44
Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.
...
Thanks Rolandde for the report.
2014-10-06 17:44:58 -04:00
Kostochko Dmitriy
13409b932a
Updated links in admin docs to use :ref:
...
per Sphinx docs: "Using ref is advised over standard reStructuredText
links to sections because it works across files, when section headings
are changed, and for all builders that support cross-references.
2014-10-06 10:46:16 -04:00
ticalcster
d49993fa8f
Fixed typo in docs/ref/contrib/sites.txt
2014-10-02 09:08:07 -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
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
Corey Farwell
37b13033c6
Removed sudo from pip commands in docs.
2014-09-22 15:49:48 -04:00
Ola Sitarska
b9b8895acb
Fixed #23527 -- Removed Cheetah references in docs
...
Thanks to @aaugustin for submitting the ticket.
2014-09-21 18:03:31 +02:00
Damien Baty
ad491ecc6e
Fixed #23488 -- Added AnonymousUser.get_username().
2014-09-18 10:48:28 -04:00
Collin Anderson
7353e26d5d
Fixed #23340 -- Corrected naturaltime docs to match behavior.
...
Thanks zachborboa for the report and blackguest for the patch.
2014-09-06 07:47:56 -04:00
John-Scott Atlakson
344f37718b
Fixed imports in `Sitemap for static views` example
2014-09-04 21:04:53 -04:00
Claude Paroz
3a44e20005
Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
...
Refs #20739 . Thanks Raphaël Hertzog for the report and the initial
patch.
2014-08-28 08:44:26 +02:00
areski
a81af7f49d
Fixed #13749 -- Added link from admin site to front-end site.
...
Thanks romankrv for the suggestion.
2014-08-27 08:34:53 -04:00
Tim Graham
7b9537fb27
Fixed #21567 -- Documented how to deploy multiple sites using the sites framework.
2014-08-26 15:22:08 -04:00
Tim Graham
a2bcec3491
Fixed #17707 , #20734 -- Added examples to URL namespacing docs.
...
Thanks Daniele Procida for review.
2014-08-26 14:31:13 -04:00
Tim Graham
7d62fb5957
Fixed #23355 -- Updated admin jQuery to 1.11.1.
2014-08-24 15:26:29 -04:00
Claude Paroz
1f45f3cea1
Updated docs about Spatialite collect/extent support
2014-08-23 18:03:11 +02:00
Claude Paroz
a7d964ab87
Replaced no_spatialite by connection features
...
Refs #22632 . Thanks Tim Graham for the review.
2014-08-23 15:41:13 +02:00
Tim Graham
a76aab3583
Fixed #23324 -- Mentioned Site.id in contrib.sites docs.
2014-08-22 12:56:38 -04:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Baptiste Mispelon
5853c87a45
Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
2014-08-18 18:55:12 +02:00
Tim Graham
a7443c24a3
Corrected content_type parameter name in sitemap docs.
...
mimetype was deprecated in 1.5 per 11ec0253ab
.
2014-08-13 21:44:36 -04:00
Collin Anderson
e5376999fa
Refs #23276 -- Added missing url() in some places.
2014-08-13 14:20:15 -04:00
Tim Graham
a9fd740d22
Fixed #23276 -- Deprecated passing views as strings to url().
2014-08-12 13:15:40 -04:00
Tim Graham
2003cb23d4
Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
2014-08-12 12:27:24 -04:00
Tim Graham
0efd72dc90
Fixed broken links in docs.
2014-08-05 08:23:34 -04:00
Stanislas Guerra
98e8da3709
Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters.
2014-08-04 09:39:02 -04:00
Tim Graham
d28396f526
Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.
2014-08-02 10:28:40 -04:00
Tim Graham
fb4f3e04b1
Updated MySQL links to version 5.6.
2014-08-02 10:27:01 -04:00
Tim Graham
8f9d6e83a0
Fixed #23145 -- Dropped support for Oracle < 11.1
2014-08-01 19:32:00 -04:00
Tim Graham
a2479f46f3
Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.
...
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
2014-08-01 17:51:49 -04:00
Tim Graham
1a31d9ef91
Removed some PostGIS 1.4 notes in the docs (refs #23108 ).
2014-08-01 10:53:53 -04:00
Tim Graham
a9bdce7e55
Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.
...
Thanks Claude Paroz for the review.
2014-08-01 10:26:00 -04:00
Nick Sandford
9d9f0acd7e
Fixed #13163 -- Added ability to show change links on inline objects in admin.
...
Thanks DrMeers for the suggestion.
2014-07-31 08:07:28 -04:00