Carlton Gibson
d22f67848c
[3.0.x] Refs #31485 -- Backported jQuery upgrade to 3.5.1.
2020-06-02 14:36:31 +02:00
Jon Dufresne
7fa16e58d0
[3.0.x] Fixed numbered list in admin overview docs.
...
Backport of 05ed7104c0
from master
2020-05-13 09:10:39 +02:00
Adam Johnson
cdf320dfb2
[3.0.x] Fixed a/an typos in "SQL" usage.
...
Backport of 1c2c6f1b51
from master
2020-05-06 06:36:16 +02:00
David Smith
fc0e0876da
[3.0.x] Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.
...
Backport of 505b7b6163
from master
2020-05-01 06:11:58 +02:00
Mariusz Felisiak
e19ab18773
[3.0.x] Fixed broken links in docs.
...
Backport of b28be08cac
from master
2020-04-28 10:10:15 +02:00
David Smith
192c1ec5cc
[3.0.x] Updated iTunes podcast format link in syndication docs.
...
Backport of 2014319159
from master
2020-04-20 08:10:42 +02:00
Nick Pope
70b1c947c8
[3.0.x] 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.
Backport of 058b38b43e
from master
2020-04-16 11:28:41 +02:00
Mariusz Felisiak
e42320d2f2
[3.0.x] Used :rfc: role in various docs.
...
Backport of f1a808a502
from master.
2020-04-15 20:02:38 +02:00
Mariusz Felisiak
255f3f77d2
[3.0.x] Fixed Sphinx warnings on duplicate object descriptions.
...
Backport of 69e2cd6fed
from master
2020-04-07 09:49:31 +02:00
Adam Johnson
0342d47e7a
[3.0.x] Prevented (and corrected) single backtick usage in docs.
...
Backport of 1cdfe8d912
from master.
2020-04-01 15:15:21 +02:00
Carlton Gibson
3bb1e6c504
[3.0.x] 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
.
Backport of 8f2a6c76d1
from master
2020-03-26 09:18:45 +01:00
Hasan Ramezani
6831049fc2
[3.0.x] Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
...
Regression in df41b5a05d
.
Backport of a0916d7212
from master
2020-03-14 20:10:05 +01:00
Mariusz Felisiak
f389e2c960
[3.0.x] Added missing backticks in various docs.
...
Backport of 30ca66eadd
from master
2020-03-06 11:53:35 +01:00
Adam Johnson
4977f2084e
[3.0.x] Documented default value of InlineModelAdmin.extra.
...
Backport of 3bd29a8a97
from master
2020-03-03 09:05:52 +01:00
Mariusz Felisiak
b0207ac674
[3.0.x] Updated the GeoJSON format specification link to RFC 7946.
...
Backport of 5978de2ec0
from master
2020-01-29 09:35:51 +01:00
Mariusz Felisiak
27e4ebc0ba
[3.0.x] Refs #25778 -- Updated some links to HTTPS and new locations.
...
Backport of 0ac8ac8b0d
from master
2020-01-29 09:35:45 +01:00
Jon Dufresne
21cc097403
[3.0.x] Fixed #31212 -- Updated psycopg links to HTTPS and new location.
...
Backport of 958977f662
from master
2020-01-29 06:53:43 +01:00
Jon Dufresne
eb40426259
[3.0.x] Removed unnecessary code-block directives in various docs.
...
Backport of 5e00bd1f77
from master
2019-12-23 14:48:16 +01:00
Garry Polley
d2100340f3
[3.0.x] Removed outdated information from contrib.sites docs.
...
Backport of d216e67b0c
from master
2019-12-20 08:44:01 +01:00
Sergey Fedoseev
c332f89dc6
[3.0.x] Doc'd SpatiaLite support of 3D geometry fields.
...
Support was added in 65129aac07
.
Backport of 85c5989007
from master
2019-11-25 09:31:33 +01:00
Daniel Fairhead
1922119252
[3.0.x] Fixed #15742 -- Fixed an example of collecting selected objects in ModelAdmin.actions docs.
...
The queryset argument is already filtered, and request.POST doesn't
contain all selected objects when "Select All" is used.
Backport of e651b3095c
from master
2019-11-06 13:41:15 +01:00
Alasdair Nicol
78fc05303a
[3.0.x] Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs.
...
Backport of b991eefd3a
from master
2019-11-05 12:42:04 +01:00
Mariusz Felisiak
336c9cb7f4
[3.0.x] Fixed #30562 -- Doc'd MariaDB support for GIS spatial lookups.
...
Backport of 1c5ec221a4
from master
2019-10-16 16:34:47 +02:00
Mariusz Felisiak
8047961d7c
[3.0.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
...
Backport of 440603a4bc
from master
2019-10-16 14:40:16 +02:00
Mariusz Felisiak
76e159e2c3
[3.0.x] Refs #22423 -- Corrected crosses lookup support on MySQL in documentation.
...
Support was added in 15715bf
.
Backport of 5becb36a79
from master
2019-10-16 13:57:04 +02:00
Tamer Sherif
3ea957b543
[3.0.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
...
Backport of e3f647f4d5
from master
2019-10-07 11:10:38 +02:00
Sjbrgsn
516200c09e
[3.0.x] Fixed #30817 -- Clarified return value of Sitemap.items().
...
Backport of 7b3c06cd72
from master
2019-10-02 12:16:48 +02:00
Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
...
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
Berker Peksag
400ec5125e
Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods.
...
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2019-08-29 19:32:12 +02:00
daniel a rios
b5a5c92c72
Fixed #30066 -- Enabled super user creation without email and password
2019-08-29 12:49:16 +02:00
Dulmandakh
06372a8d27
Fixed #30507 -- Updated admin's jQuery to 3.4.1.
2019-08-23 11:00:16 +02:00
Mads Jensen
85ac838d9e
Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently operations for PostgreSQL.
...
Thanks to Simon Charettes for review.
Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2019-08-21 13:10:06 +02:00
François Freitag
9a88e43aeb
Fixed broken links and redirects in documentation.
...
Removed reference to custom builds, feature removed in
8e6b3bba99
.
2019-08-21 10:57:24 +02:00
Garry Polley
10528a81ed
Removed outdated examples of flatpages served sites.
...
Removing the lawrence journal flat page examples because one is no longer a web page (404) and the other is no longer served by Django: https://www.reddit.com/r/django/comments/8v0fpb/the_lawrence_journalworld_where_django_was/
2019-08-19 12:27:10 +02:00
Mariusz Felisiak
49aeabbf27
Fixed broken links and redirects to OGR library in docs.
2019-08-19 11:43:06 +02:00
Claude Paroz
eed2e740f7
Fixed #30461 -- Made GeoIP2 and GEOIP_PATH setting accept pathlib.Path as library path.
...
Thanks Nikita Krokosh for the initial patch.
2019-08-13 19:44:10 +02:00
Mads Jensen
a3417282ac
Fixed #29824 -- Added support for database exclusion constraints on PostgreSQL.
...
Thanks to Nick Pope and Mariusz Felisiak for review.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-07-16 18:04:41 +02:00
Mads Jensen
7174cf0b00
Refs #29824 -- Added RangeOperators helper class.
2019-07-16 16:57:46 +02:00
Mariusz Felisiak
ad4e83a6d1
Fixed heading level typo in docs/ref/contrib/postgres/fields.txt.
2019-07-16 15:08:14 +02:00
Carlton Gibson
4b32d039db
Fixed #28588 -- Doc'd User.has_perm() & co. behavior for active superusers.
...
Equivalent note for PermissionsMixin was added in d33864ed13
.
2019-07-02 11:20:53 +02:00
Mariusz Felisiak
9aeac29949
Removed unnecessary backslashes from docs.
2019-06-20 14:04:36 +02:00
Mariusz Felisiak
fc2536fe66
Refs #29548 -- Doc'd MariaDB support for GIS database functions.
2019-06-13 10:26:21 +02:00
Mariusz Felisiak
b616f65855
Added missing support for PointOnSurface function on MariaDB.
2019-06-12 10:51:43 +02:00
Jon Dufresne
9e38ed0536
Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and filesizeformat filters.
...
intword and filesizeformat passed floats to ngettext() which is
deprecated in Python 3.7. The rationale for this warning is documented
in BPO-28692: https://bugs.python.org/issue28692 .
For filesizeformat, the filesize value is expected to be an int -- it
fills %d string formatting placeholders. It was likely coerced to a
float to ensure floating point division on Python 2. Python 3 always
does floating point division, so coerce to an int instead of a float to
fix the warning.
For intword, the number may contain a decimal component. In English, a
decimal component makes the noun plural. A helper function,
round_away_from_one(), was added to convert the float to an integer that
is appropriate for ngettext().
2019-06-11 20:34:59 +02:00
Jon Dufresne
175656e166
Fixed intword example in docs/ref/contrib/humanize.txt.
2019-06-11 20:18:36 +02:00
Tobias Bengfort
581a0f4545
Refs #30226 -- Added User.get_user_permissions() method.
...
Added to mirror the existing User.get_group_permissions().
2019-06-05 13:56:37 +02:00
Tobias Bengfort
75337a6050
Fixed #30226 -- Added BaseBackend for authentication.
2019-06-05 13:39:46 +02:00
Mariusz Felisiak
5ab75adb90
Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0.
2019-06-03 14:08:51 +02:00
parth
8543647306
Fixed #28831 -- Doc'd that InlineModelAdmin methods' obj argument is the parent object.
2019-05-31 12:35:15 +02:00
Daniel Hepper
ccb7f7c6d2
Fixed #25633 -- Updated macOS Spatialite installation instructions.
...
Updated the Spatialite installation instruction to refer to the latest
available version from KyngChaos, as Gaia-SINS does not provide MacOS
binaries anymore.
2019-05-17 16:23:08 +02:00