Commit Graph

1601 Commits

Author SHA1 Message Date
Mariusz Felisiak 065832eaec
Fixed #32353 -- Confirmed support for PROJ 7.X. 2021-03-16 20:22:35 +01:00
Mariusz Felisiak 4d912e6697
Updated datum directory for PROJ 6 in GIS install instructions. 2021-03-15 08:20:36 +01:00
Markus Holtermann d9a266d657 Updated Git branch "master" to "main".
This change follows a long discussion on django-develops:

https://groups.google.com/g/django-developers/c/tctDuKUGosc/
2021-03-09 08:48:32 +01:00
Mariusz Felisiak 05bbff8263
Fixed typo in docs/ref/contrib/postgres/fields.txt. 2021-03-04 10:43:00 +01:00
Jack Aitken 5fd4f22d19 Fixed #32271 -- Improved consistency of docs CBV examples.
Co-Authored-By: Carles Pina i Estany <carles@pina.cat>
2021-03-02 08:33:05 +01:00
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