Hannes Ljungberg
3aa545281e
Fixed #30916 -- Added support for functional unique constraints.
...
Thanks Ian Foote and Mariusz Felisiak for reviews.
2021-02-23 20:19:53 +01:00
manav014
3119a6deca
Fixed #26607 -- Allowed customizing formset kwargs with ModelAdmin.get_formset_kwargs().
...
Thanks Nick Pope for reviews.
2021-02-15 11:37:35 +01:00
Ramon Saraiva
dcb094abe8
Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.
2021-02-11 06:50:50 +01:00
Mariusz Felisiak
84283ab9cd
Fixed #32390 -- Dropped support for Oracle 12.2 and 18c.
2021-02-03 10:03:33 +01:00
Hannes Ljungberg
90ddf46ef7
Refs #26167 -- Corrected OpClass() example in docs.
2021-01-25 08:41:35 +01:00
Matthias Kestenholz
7b3ec6bcc8
Fixed #32371 -- Doc'd jquery.init.js dependency for admin widgets.
2021-01-20 20:32:46 +01:00
Mariusz Felisiak
5371342ed6
Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.
2021-01-19 12:25:20 +01:00
Mariusz Felisiak
2dd6a83d2d
Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per deprecation timeline.
2021-01-14 17:50:04 +01:00
Mariusz Felisiak
7cb5712edc
Refs #12990 -- Removed django.contrib.postgres.fields.JSONField per deprecation timeline.
2021-01-14 17:50:04 +01:00
Mariusz Felisiak
b7dd89ed53
Removed versionadded/changed annotations for 3.1.
2021-01-14 17:50:04 +01:00
mimi89999
b5cef91a91
Fixed #31259 -- Added admin dark theme.
2021-01-14 08:27:29 +01:00
Nick Pope
9204485396
Fixed #16117 -- Added decorators for admin action and display functions.
...
Refs #25134 , #32099 .
2021-01-13 17:19:22 +01:00
Hannes Ljungberg
83fcfc9ec8
Fixed #26167 -- Added support for functional indexes.
...
Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews.
Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
2021-01-13 11:47:50 +01:00
Jon Dufresne
ba31b01034
Fixed #31747 -- Fixed model enumeration via admin URLs.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-01-12 14:37:56 +01:00
Florian Apolloner
2d6179c819
Fixed #32191 -- Made CookieStorage use RFC 6265 compliant format.
...
Co-authored-by: Craig Smith <hello@craigiansmith.com.au>
2021-01-07 13:00:53 +01:00
Matthias Kestenholz
0a802233ec
Fixed #32018 -- Extracted admin colors into CSS variables.
...
Defined all colors used in the admin CSS as variables. Implemented the
following standardizations and accessibility improvements while at it:
- Improved the contrast of text to not use ratios of less than 3:1 anymore.
- Most hover states already used desaturated and darkened colors.
Changed object tools to follow the same rule instead of showing the
primary color on hover.
Various places used similar colors; those have been merged with the goal
of reducing the count of CSS variables. Contrasts have been improved in
a few places.
- Many borders used slightly different colors (e.g. #eaeaea vs. #eee)
- Help texts used #999 , this has been changed to --body-quiet-color
(#666 ) which has a better contrast.
Introduced fast color transitions on links and buttons.
2021-01-07 10:07:19 +01:00
Mariusz Felisiak
74fd233b14
Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0.
2020-12-30 09:01:56 +01:00
Jon Dufresne
429d089d0a
Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in docs.
2020-12-23 17:21:25 +01:00
Hasan Ramezani
bebd4cfa8f
Fixed #32273 -- Doc'd AdminSite.unregister().
2020-12-16 08:08:49 +01:00
Jan Pieter Waagmeester
991dce4fc5
Corrected docs regarding attributes required for logging in to the admin.
...
Regression in 939dcff24f
.
2020-12-11 23:12:43 +01:00
Hasan Ramezani
55fabc5337
Fixed #32232 -- Fixed typo in docs/ref/contrib/admin/actions.txt.
2020-11-30 10:07:28 +01:00
Mariusz Felisiak
931c6e982c
Refs #32230 -- Made LayerMapping support pathlib.Path.
2020-11-28 07:41:54 +01:00
Hasan Ramezani
b37be072a2
Fixed #32230 -- Made DataSource support pathlib.Path.
2020-11-28 07:36:19 +01:00
Neil Lyons
e46ca51c24
Refs #32230 -- Fixed DataSource example in GeoDjango tutorial.
...
DataSource.ds_input doesn't support pathlib.Path().
Regression in 26554cf5d1
.
2020-11-27 06:57:20 +01:00
Nick Pope
300def5c34
Doc'd that admin site booleans are tri-state.
2020-11-14 07:28:13 +01:00
Nick Pope
aa53655e6e
Improved examples in ModelAdmin.list_display docs.
2020-11-14 06:36:40 +01:00
Nick Pope
477c800443
Changed docs and a code comment to use gender-neutral pronouns.
...
Follow up to e1b7723817
.
2020-11-13 22:26:30 +01:00
Craig Smith
354c1524b3
Fixed #32045 -- Doc'd GenericRelatedObjectManager methods.
...
This also documents that .remove() and clear() methods delete related
objects.
2020-11-06 11:31:21 +01:00
Artur Beltsov
18c8ced81e
Fixed #32169 -- Added distinct support to JSONBAgg.
2020-11-04 21:22:54 +01:00
Tom Carrick
f5e07601b2
Fixed #32046 -- Added CreateCollation/RemoveCollation operations for PostgreSQL.
2020-10-21 10:53:44 +02:00
Peter Marheine
f87b0ecd37
Fixed #32041 -- Doc'd how to modify served files' content types on Windows.
2020-10-01 13:32:26 +02:00
Mariusz Felisiak
33e91f3ed8
Refs #32038 -- Added note to ModelAdmin.list_filter docs that GenericForeignKeys are not supported.
2020-09-25 10:09:28 +02:00
Enderson Menezes
67e4a9a4b9
Fixed #31909 -- Fixed typo in docs/ref/contrib/admin/index.txt.
2020-08-20 07:34:03 +02:00
Mariusz Felisiak
35b03788b0
Refs #9061 -- Allowed GenericInlineFormSet to disable deleting extra forms.
...
Follow up to 162765d6c3
.
2020-08-18 09:37:15 +02:00
Mariusz Felisiak
3254991762
Refs #20347 -- Allowed customizing the maximum number of instantiated forms in generic_inlineformset_factory().
...
Follow up to 433dd737f9
.
2020-08-18 09:37:15 +02:00
Thomas
cdead4f013
Fixed typo in docs/ref/contrib/postgres/fields.txt.
2020-08-07 07:33:11 +02:00
Viktor Garske
1173db4a16
Fixed #31822 -- Added support for comments URL per feed item.
...
The item_comments hook returns a comments URL which is then used by the
feed builder.
2020-07-30 07:36:27 +02:00
Andrzej Bartosiński
eb215da363
Corrected admin.register() signature in docs.
2020-07-29 12:53:11 +02:00
Florian Demmer
16218c2060
Fixed #27395 -- Added sitemap 'alternates' generation.
...
Updated the sitemap generator and default template to optionally
include link elements with hreflang attribute to alternate language
URLs.
2020-07-29 11:48:29 +02:00
Nick Pope
628c4a26ee
Refs #27996 -- Doc'd no extension required for RandomUUID() on PostgreSQL 13+.
...
https://www.postgresql.org/docs/13/functions-uuid.html
https://www.postgresql.org/docs/13/pgcrypto.html#id-1.11.7.34.10.5
2020-07-28 07:21:16 +02:00
David Chorpash
6ec5eb5d74
Refs #31720 -- Defined default output_field of BoolAnd() and BoolOr() aggregate functions.
2020-07-21 06:42:51 +02:00
David Chorpash
a2e621b14e
Refs #31720 -- Added examples to BoolAnd() and BoolOr() documentation.
2020-07-21 06:42:45 +02:00
Eric Theise
d08e6f55e3
FIxed typo in docs/ref/contrib/postgres/forms.txt.
2020-07-15 09:02:51 +02:00
Caio Ariede
d38c34119e
Fixed #21528 -- Added note about filtering form field's queryset based on instance to admin docs.
2020-07-13 20:32:57 +02:00
rico-ci
cb0da637a6
Fixed #31713 -- Added SpatialReference support to GDALRaster.transform().
2020-07-07 09:26:44 +02:00
Carlton Gibson
b142bd4a1b
Refs #6903 -- Adjusted ModelAdmin.preserve_filters docs.
2020-07-02 20:46:34 +02:00
Yash Saini
a8c0246ece
Refs #31541 -- Added example of creating Redirect objects to redirects app docs.
2020-06-23 12:36:53 +02:00
Adam Johnson
0ff3228844
Made small improvements to PostgreSQL operations docs.
2020-06-23 11:31:46 +02:00
Alix
26a413507a
Fixed #6933 -- Added support for searching against quoted phrases in ModelAdmin.search_fields.
2020-06-18 20:17:20 +02:00
David Smith
7f4db2d82b
Fixed #30933 -- Updated instructions for installing GeoDjango on Windows.
2020-06-17 20:09:19 +02:00
David Smith
6bc9283751
Adjusted model definition in GeoDjango tutorial.
...
The example uses the world border data set, where
one of the entries has a null field value.
2020-06-17 20:09:19 +02:00
Hannes Ljungberg
0d6d4e78b1
Fixed #31709 -- Added support for opclasses in ExclusionConstraint.
2020-06-16 08:16:14 +02:00
John Parton
a8473b4d34
Fixed #31691 -- Added ordering support to JSONBAgg.
2020-06-13 00:06:29 +02:00
Hannes Ljungberg
e0cdd0fcf5
Fixed #31649 -- Added support for covering exclusion constraints on PostgreSQL 12+.
2020-06-12 23:23:21 +02:00
Scott Cranfill
62f1655a64
Fixed #11157 -- Stopped removing stop words in admin's prepopulated_fields.
...
Co-Authored-By: Andy Chosak <andy@chosak.org>
2020-05-27 12:32:56 +02:00
Frantisek Holop
d693a086de
Fixed #31615 -- Made migrations skip extension operations if not needed.
...
- Don't try to create an existing extension.
- Don't try to drop a nonexistent extension.
2020-05-27 10:48:44 +02:00
Frantisek Holop
f3ed42c8ad
Refs #31615 -- Improved creating extension docs.
2020-05-27 10:46:22 +02:00
Mariusz Felisiak
20a8a443f0
Fixed #31578 -- Dropped support for MySQL 5.6.
2020-05-19 10:56:39 +02:00
xncbf
4029bcd6b2
Fixed #31577 -- Clarified docs about bounds of RangeFields.
2020-05-18 12:19:12 +02:00
Jon Dufresne
e341bed606
Refs #31034 -- Documented admin requires django.template.context_processors.request.
...
Required since d24ba1be7a
.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-05-14 11:00:51 +02:00
Mariusz Felisiak
e536fa5ce1
Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.
2020-05-14 06:33:00 +02:00
Claude Paroz
d4c5ef3ebb
Renamed PROJ.4 to PROJ.
2020-05-13 10:30:30 +02:00
Nick Pope
fbdb032de2
Used :envvar: role and .. envvar:: directive in various docs.
2020-05-13 09:14:40 +02:00
Jon Dufresne
05ed7104c0
Fixed numbered list in admin overview docs.
2020-05-13 09:09:07 +02:00
Mariusz Felisiak
4c5236ef93
Removed versionadded/changed annotations for 3.0.
2020-05-13 09:07:51 +02:00
Sergey Fedoseev
91e287cce0
Refs #30678 -- Added support for GDAL 3.1.
...
OSRSetAxisMappingStrategy() really returns void, so no errcheck is
needed. Previously set errcheck was raising positive false exceptions
on GDAL 3.1.
2020-05-12 11:25:19 +02:00
Mariusz Felisiak
17ea7cc973
Fixed #31569 -- Confirmed support for GEOS 3.8.
2020-05-12 09:06:06 +02:00
Claude Paroz
58f1b07e49
Fixed #30678 -- Added support for GDAL 3.
2020-05-12 09:06:06 +02:00
Tom Carrick
d24ba1be7a
Fixed #31034 -- Added a navigation sidebar to the admin.
...
Co-authored-by: elky <elky@users.noreply.github.com>
Co-authored-by: Goetz <goetz.buerkle@gmail.com>
2020-05-11 18:16:38 +02:00
sage
6789ded0a6
Fixed #12990 , Refs #27694 -- Added JSONField model field.
...
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael
Michel for mentoring this Google Summer of Code 2019 project and
everyone else who helped with the patch.
Special thanks to Mads Jensen, Nick Pope, and Simon Charette for
extensive reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-08 07:23:31 +02:00
Adam Johnson
1c2c6f1b51
Fixed a/an typos in "SQL" usage.
2020-05-06 06:35:26 +02:00
Mariusz Felisiak
30083e0780
Fixed #31485 -- Updated admin's jQuery to 3.5.1.
2020-05-05 11:00:05 +02:00
Adam Johnson
d17b380653
Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments.
2020-05-04 12:10:47 +02:00
Ian Foote
b4068bc656
Fixed #31455 -- Added support for deferrable exclusion constraints on PostgreSQL.
2020-05-01 09:08:36 +02:00
David Smith
505b7b6163
Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.
2020-05-01 06:11:27 +02:00
Mariusz Felisiak
b28be08cac
Fixed broken links in docs.
2020-04-28 10:09:45 +02:00
David Smith
2014319159
Updated iTunes podcast format link in syndication docs.
2020-04-20 08:10:13 +02:00
Nick Pope
058b38b43e
Improved message example in admin actions documentation.
...
Avoid partial string construction and make use of ``ngettext`` to show
example of how to handle plural variants with translations. Also make
use of ``messages.SUCCESS`` to highlight customizing the style of the
message - in this case it better fits what the message is conveying.
2020-04-16 11:26:33 +02:00
Mariusz Felisiak
f1a808a502
Used :rfc: role in various docs.
2020-04-15 18:31:30 +02:00
Sergey Fedoseev
b9e2355eb0
Fixed #31196 -- Added support for PostGIS 3.
2020-04-14 13:19:59 +02:00
Claude Paroz
a6b4c07b6e
Refs #31196 -- Installed postgis_raster extension on PostGIS 3+.
2020-04-14 09:34:01 +02:00
Mariusz Felisiak
69e2cd6fed
Fixed Sphinx warnings on duplicate object descriptions.
2020-04-07 09:48:52 +02:00
Adam Johnson
1cdfe8d912
Prevented (and corrected) single backtick usage in docs.
2020-04-01 14:55:11 +02:00
Carlton Gibson
8f2a6c76d1
Fixed #31330 -- Corrected catchall URL pattern in flatpages docs.
...
Use re_path() pattern with the regex used before original regression in
df41b5a05d
.
Regression in a0916d7212
.
2020-03-26 08:57:02 +01:00
Hannes Ljungberg
0b51a4f894
Fixed #28194 -- Added support for normalization and cover density to SearchRank.
2020-03-23 11:00:55 +01:00
Ryan Petrello
5f8495a40a
Fixed #31371 -- Increased User.first_name max_length to 150 characters.
2020-03-18 08:22:49 +01:00
Baptiste Mispelon
3baf92cf82
Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup.
2020-03-16 10:27:23 +01:00
jay20162016
924c01ba09
Fixed #31363 -- Added support for negative integers to intword template filter.
2020-03-16 08:44:43 +01:00
Hasan Ramezani
a0916d7212
Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
...
Regression in df41b5a05d
.
2020-03-14 20:08:53 +01:00
Mariusz Felisiak
30ca66eadd
Added missing backticks in various docs.
2020-03-06 11:52:49 +01:00
Hannes Ljungberg
65ab4f9f03
Fixed #31147 -- Added SearchHeadline to django.contrib.postgres.
2020-03-03 15:39:52 +01:00
Adam Johnson
3bd29a8a97
Documented default value of InlineModelAdmin.extra.
2020-03-03 09:05:27 +01:00
Mariusz Felisiak
5978de2ec0
Updated the GeoJSON format specification link to RFC 7946.
2020-01-29 09:35:18 +01:00
Mariusz Felisiak
0ac8ac8b0d
Refs #25778 -- Updated some links to HTTPS and new locations.
2020-01-29 09:34:37 +01:00
Jon Dufresne
958977f662
Fixed #31212 -- Updated psycopg links to HTTPS and new location.
2020-01-29 06:25:40 +01:00
Federico Jaramillo Martínez
372eaa395f
Fixed #28991 -- Added EmptyFieldListFilter class in admin.filters.
...
Thanks Simon Charette and Carlton Gibson for reviews.
Co-Authored-By: Jonas Haag <jonas@lophus.org>
Co-Authored-By: Christophe Baldy <christophe.baldy@polyconseil.fr>
2020-01-03 07:58:04 +01:00
Jon Dufresne
5e00bd1f77
Removed unnecessary code-block directives in various docs.
2019-12-23 14:47:13 +01:00
Garry Polley
d216e67b0c
Removed outdated information from contrib.sites docs.
2019-12-20 07:53:35 +01:00
Mike Hansen
d291c72bf2
Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.
2019-12-18 13:15:38 +01:00
James Turk
ff00a05347
Fixed #31088 -- Added support for websearch searching in SearchQuery.
2019-12-16 14:59:59 +01:00