1
0
mirror of https://github.com/django/django.git synced 2024-12-28 03:55:50 +00:00
Commit Graph

1715 Commits

Author SHA1 Message Date
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
Jon Dufresne
e703b93a65 Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags. 2019-12-11 09:49:54 +01:00
Hasan Ramezani
5d674eac87 Fixed #31039 -- Added support for contained_by lookup with AutoFields, SmallIntegerField, and DecimalField. 2019-12-05 15:50:39 +01:00
Sergey Fedoseev
85c5989007 Doc'd SpatiaLite support of 3D geometry fields.
Support was added in 65129aac07.
2019-11-25 09:29:50 +01:00
Sergey Fedoseev
a5855c8f0f Fixed #30996 -- Added AsWKB and AsWKT GIS functions. 2019-11-22 13:40:48 +01:00
Sergey Fedoseev
f95b59a1b3 Fixed #30994 -- Added Oracle support for AsGeoJSON GIS function. 2019-11-18 15:32:44 +01:00
Dulmandakh
24b9f50823 Fixed #29916 -- Added lower_inc, lower_inf, upper_inc, and upper_inf lookups for RangeFields.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-11-14 22:27:29 +01:00
Nick Pope
02983c5242 Fixed #30943 -- Added BloomIndex to django.contrib.postgres. 2019-11-07 11:23:53 +01:00
Jon Dufresne
26554cf5d1 Fixed #29983 -- Replaced os.path() with pathlib.Path in project template and docs.
Thanks Curtis Maloney for the original patch.
2019-11-07 11:11:27 +01:00
Daniel Fairhead
e651b3095c 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.
2019-11-06 12:49:27 +01:00
Alasdair Nicol
b991eefd3a Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs. 2019-11-05 12:41:14 +01:00
Sergey Fedoseev
6bbf9a20e2 Fixed #29770 -- Added LinearRing.is_counterclockwise property. 2019-10-25 14:28:26 +02:00
Mariusz Felisiak
3a8af298b9 Fixed #30890 -- Added MariaDB support for the relate lookup. 2019-10-18 07:46:31 +02:00
Mariusz Felisiak
1c5ec221a4 Fixed #30562 -- Doc'd MariaDB support for GIS spatial lookups. 2019-10-16 16:33:43 +02:00
Mariusz Felisiak
440603a4bc
Refs #28436 -- Corrected docs regarding MySQL support of distance lookups. 2019-10-16 14:39:13 +02:00
Mariusz Felisiak
5becb36a79
Refs #22423 -- Corrected crosses lookup support on MySQL in documentation.
Support was added in 15715bf.
2019-10-16 13:56:23 +02:00
Tamer Sherif
e3f647f4d5 Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called. 2019-10-07 10:38:08 +02:00
Sjbrgsn
7b3c06cd72 Fixed #30817 -- Clarified return value of Sitemap.items(). 2019-10-02 11:55:56 +02:00
Mariusz Felisiak
f1894bae30 Refs #28606 -- Removed CachedStaticFilesStorage per deprecation timeline. 2019-09-10 12:01:00 +02:00
Mariusz Felisiak
b47bb4c4a7 Refs #29598 -- Removed FloatRangeField per deprecation timeline. 2019-09-10 12:01:00 +02:00
Mariusz Felisiak
416c584cab Removed versionadded/changed annotations for 2.2. 2019-09-10 12:01:00 +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
Jon Dufresne
97d3321e89 Changed tuple choices to list in docs. 2019-05-15 14:31:42 +02:00
Chris Adkins
705ef6cfeb Fixed #30447 -- Added 'is_in_european_union' in GeoIP2.city() dict. 2019-05-07 13:31:44 +02:00
Tobias Kunze
3166880301 Fixed #29352 -- Allowed specifying a Feed language. 2019-05-06 15:10:54 +02:00
Daniel Musketa
6fd9c9daa6 Fixed #30365 -- Fixed syntax highlighting in SQL examples.
Sphinx interprets some "%[a-z]" in SQL statements as a
"Literal.String.Interpol" which leads to incorrect highlighting.
2019-04-23 12:37:50 +02:00
Dustin Neighly
49fb3f5f3e Fixed #30341 -- Added support for the furlong unit in Distance. 2019-04-19 08:54:23 +02:00
Ramiro Morales
aed89adad5 Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints. 2019-04-18 14:41:15 +02:00
Ville Skyttä
03db5fddfd Fixed typos in docs, comments, and exception messages. 2019-04-18 09:33:53 +02:00
Willy Njundong
8180ffba21 Updated SpatiaLite install instructions to suggest first package from recent Debian-based distributions. 2019-04-17 07:34:13 +02:00
Hasan Ramezani
917fd9d03f
Fixed #27755 -- Added ModelAdmin.get_inlines() hook. 2019-04-17 07:16:04 +02:00
Tim Graham
c84b91b760 Refs #27807 -- Removed docs for User.username_validator.
The new override functionality claimed in refs #21379 doesn't work.
Forwardport of 714fdbaa70 from stable/1.10.x.
2019-04-07 20:02:20 -04:00
Nick Pope
198a2a9381 Removed unnecessary /static from links to PostgreSQL docs. 2019-03-29 21:49:44 -04:00
Tim Graham
a68c029e22
Used extlinks for Django's source code. 2019-03-28 20:32:17 -04:00
Jani Tiainen
044cc54420
Fixed #30259 -- Added support for admin_order_field attribute on properties in ModelAdmin.list_display. 2019-03-24 20:43:56 +01:00
Francisco Couzo
0193bf874f Fixed #28738 -- Added the GeometryDistance function. 2019-03-20 12:54:42 -04:00
Tim Graham
21f9d43737
Removed docs of unused libgeoip1/python-gdal packages. 2019-02-14 09:46:34 -05:00
Hasan Ramezani
f63811f481 Fixed #29943 -- Doc'd that admin changelist may add pk to ordering. 2019-02-12 21:35:49 -05:00
Claude Paroz
15715bf2a2 Fixed #22423 -- Added support for MySQL operators on real geometries.
Thanks Viswanathan Mahalingam for the report and initial patch, and
Nicke Pope and Tim Graham for the review.
2019-02-12 17:29:16 -05:00
Claude Paroz
8cf9dbee6a Doc'd database functions for overlaps lookup. 2019-02-12 15:41:50 -05:00
Tim Graham
ea87a85fad
Dropped support for GEOS 3.4. 2019-02-09 08:40:55 -05:00
Tim Graham
b2333426de
Confirmed support for GDAL 2.4. 2019-02-09 08:38:49 -05:00
Tim Graham
e7fd69d051 Fixed #30166 -- Dropped support for GDAL 1.11. 2019-02-08 14:08:05 -05:00
Mariusz Felisiak
759a9b710c
Updated Oracle docs links to Oracle 18c. 2019-02-07 09:59:47 +01:00
Mariusz Felisiak
21bb71ef0d
Fixed #30157 -- Dropped support for Oracle 12.1.
Thanks Tim Graham for the review.
2019-02-06 19:25:04 +01:00
Tim Graham
39ebdf5a3c Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1. 2019-02-04 18:07:02 -05:00
Tim Graham
d47498c5df Fixed #30156 -- Dropped support for SpatiaLite 4.1 and 4.2. 2019-02-04 13:16:38 -05:00
Tim Graham
4763c97191 Refs #30055 -- Bumped minimum SQLite version in GIS docs. 2019-02-04 11:46:54 -05:00
Robert Coup
a8b03bea18 Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText). 2019-01-31 13:13:53 -05:00
Pavel Savchenko
130192b12b Corrected GenericRelation's related_query_name manual lookup example.
And changed related_query_name to a singular noun.
2019-01-21 10:13:42 -05:00
Tim Graham
6713926ebe Refs #28606 -- Corrected deprecation version for CachedStaticFilesStorage. 2019-01-17 18:34:44 -05:00
Tim Graham
6f23996a59 Refs #28841 -- Removed ForceRHR function per deprecation timeline. 2019-01-17 10:52:19 -05:00
Tim Graham
ec7e179aeb Removed versionadded/changed annotations for 2.1. 2019-01-17 10:50:25 -05:00
MaximZemskov
3c01fe30f3 Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
Restored backwards compatibility after refs #27991.
Regression in be6ca89396.
2019-01-11 18:02:43 -05:00
Sanyam Khurana
76d31be2d0 Refs #23829 -- Made ping_google command/function use https for the sitemap URL. 2019-01-11 10:32:22 -05:00
Sanyam Khurana
6d73278d38 Documented ping_google()'s ping_url argument. 2019-01-11 09:43:51 -05:00
Joshua Cannon
db1b10ef0d Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user(). 2019-01-09 20:01:04 -05:00
Tim Graham
4ca2820ff5 Corrected whitespace in docs/ref/contrib/auth.txt. 2019-01-09 18:22:29 -05:00
Marten Kenbeek
7a6dbbb655 Added import locations to contrib.postgres aggregates and validators docs. 2018-12-24 16:36:00 -05:00
Nick Pope
e626a3f993 Renamed Sqlite and Sqlite3 references to SQLite. 2018-12-22 18:52:54 -05:00
Tim Graham
682cdf6cab Refs #28205 -- Corrected ModelAdmin.prepopulated_fields docs regarding when they're populated. 2018-11-28 14:48:03 -05:00
Tim Graham
926fa7116f Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates. 2018-11-27 11:20:23 -05:00
François Freitag
9b15ff08ba Used auto-numbered lists in documentation. 2018-11-15 13:54:28 -05:00
Timothy Allen
e819554018 Fixed #29939 -- Increased Group.name max_length to 150 characters. 2018-11-14 15:13:34 -05:00
Mads Jensen
961f8e9985 Updated some links to https and new locations. 2018-11-10 17:40:50 -05:00
Tim Graham
0b98e8fdad Fixed #29941 -- Fixed missing variable in docs/ref/contrib/contenttypes.txt.
Regression in b47552b445.
2018-11-09 19:49:06 -05:00
Matthias Kestenholz
f9ff1df1da Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins. 2018-11-09 18:52:30 -05:00
Tobias Bengfort
9a63d840ff Fixed inconsistent indentation in docs/ref/contrib/auth.txt. 2018-11-03 11:07:44 -04:00
Theofanis Despoudis
084536a9be Fixed #27994 -- Documented ManifestFilesMixin. 2018-11-01 11:15:13 -04:00
Tim Graham
7f2b27e95c Fixed code highlighting in docs/ref/contrib/staticfiles.txt. 2018-10-29 11:55:32 -04:00
Tim Graham
f892781b95 Fixed #28606 -- Deprecated CachedStaticFilesStorage. 2018-10-27 11:58:29 -04:00
Atul Varma
3deea61f26 Removed "encoding" description in GIS tutorial.
An omission in 388165ade4.
2018-10-21 12:14:06 -04:00
Jon Dufresne
e90af8bad4 Capitalized "Python" in docs and comments. 2018-10-09 09:26:07 -04:00
Stefano Chiodino
6de7f9ec60 Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField. 2018-10-02 19:17:23 -04:00
Sergey Fedoseev
51da347c32 Fixed #29795 -- Confirmed support for PostGIS 2.5. 2018-09-26 13:36:38 -04:00
Jon Dufresne
82f286cf6f Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
Sergey Fedoseev
8aad4a38ae Confirmed support for GEOS 3.7. 2018-09-18 09:52:02 -04:00
Claude Paroz
f5e347a640 Fixed #27899 -- Added support for phrase/raw searching in SearchQuery.
Thanks Tim Graham, Nick Pope, and Claude Paroz for contribution and review.
2018-09-17 12:03:52 -04:00
Sergey Fedoseev
c5e450ac95 Fixed #29761 -- Confirmed support for PROJ 5.x. 2018-09-17 12:03:30 -04:00
Adam Zapletal
57fd3700d4 Fixed typo in docs/ref/contrib/postgres/search.txt. 2018-09-12 18:12:34 -04:00
Curtis Maloney
c49ea6f591 Refs #20910 -- Replaced snippet directive with code-block. 2018-09-10 13:00:34 -04:00
Claude Paroz
388165ade4 Fixed LayerMapping encoding in geodjango tutorial.
GDAL >= 1.9 automatically converts latin-1-encoded strings from Shapefiles to
UTF-8.
2018-08-28 18:59:34 +02:00
Rodrigo
939dcff24f Polished the admin overview docs. 2018-08-21 11:35:50 -04:00
Tim Graham
7f6b013bf6 Fixed #29677 -- Doc'd return value of StaticFilesStorage.post_process(). 2018-08-16 10:37:33 +02:00
Adam Johnson
45086c294d Clarified the values accepted by ModelAdmin.fields. 2018-08-03 16:12:26 -04:00
Danilo Bargen
2e06ff8e14 Fixed #29633 -- Doc'd the geometry type for each model field. 2018-08-03 10:22:11 -04:00
Nick Pope
6b4d1ec8ff Fixed #29614 -- Added BTreeIndex to django.contrib.postres. 2018-08-02 11:42:57 -04:00
Nick Pope
d6381d3559 Fixed #28990 -- Added autosummarize parameter to BrinIndex. 2018-08-02 11:26:58 -04:00
Nick Pope
4c36e9e492 Fixed #28887 -- Added SpGistIndex to django.contrib.postgres. 2018-08-02 11:08:08 -04:00
Nick Pope
d526b07784 Fixed #26974 -- Added HashIndex to django.contrib.postgres.
Thanks Akshesh Doshi for the initial implementation.
2018-08-02 10:39:18 -04:00
luz.paz
97e637a87f Fixed typos in comments and docs. 2018-08-01 16:09:22 -04:00
Claude Paroz
6e78e10549 Added doc links for django.utils.html.escape(). 2018-07-18 11:32:27 -04:00
Maxime Lorant
31407fa3b3 Removed duplicate words in docs.
.
2018-07-18 11:24:06 -04:00
Daniel Wiesmann
8f75d21a2e Fixed #28566 -- Added path matching to collectstatic ignore patterns. 2018-07-13 16:48:19 -04:00
Floris den Hengst
96199e562d Fixed #26067 -- Added ordering support to ArrayAgg and StringAgg. 2018-06-28 20:29:33 -04:00
Sergey Fedoseev
9af83a62e7 Added description, example, and SQL equivalents for equals and same_as GIS lookups. 2018-06-22 09:54:41 -04:00
Sergey Fedoseev
a799dc51b9 Fixed #29509 -- Added SpatiaLite support for covers and coveredby lookups. 2018-06-21 09:25:31 -04:00
Sergey Fedoseev
12018cef83 Refs #28841 -- Added ForcePolygonCW to GIS database functions table. 2018-06-21 08:54:13 -04:00
Sergey Fedoseev
fa453b03a6 Fixed #29507 -- Added Oracle support for Envelope GIS function. 2018-06-20 16:48:57 +05:00
Carlton Gibson
5b73317181 Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields. 2018-06-18 15:36:20 -04:00
Carlton Gibson
958c7b301e Fixed #29419 -- Allowed permissioning of admin actions. 2018-06-18 15:07:29 -04:00
Carlton Gibson
b30f9b131c Refs #29419, #8936 -- Removed change permission requirement for admin actions.
Partially reverted 825f0beda8.
2018-06-13 14:49:28 -04:00
Brylie Christopher Oxley
ae26e0ad2c Updated GIS install instructions to use placeholders for GIS library versions. 2018-06-12 15:22:05 -04:00
Tim Graham
9e4f26bb40
Fixed #29483 -- Confirmed support for GDAL 2.3. 2018-06-12 13:34:58 -04:00
Tim Graham
860903b261
Dropped support for GDAL 1.9 and 1.10. 2018-06-11 08:33:09 -04:00
Claude Paroz
f3836144db Fixed #29484 -- Removed the need to specify SPATIALITE_LIBRARY_PATH with Spatialite 4.2+.
Thanks Tim Graham for the review.
2018-06-09 09:24:20 +02:00
humbertotm
747ff7a30b Fixed #29385 -- Made admindocs ModelDetailView show model properties.
Original patch by bkaluza. Tests and docs by humbertotm.
2018-06-03 21:00:28 -04:00
Tim Graham
f185d929fa
Fixed #29460 -- Added support for GEOS 3.6. 2018-05-31 11:35:59 -04:00
Tim Graham
7543ab1f8d Removed versionadded/changed annotations for 2.0. 2018-05-17 11:00:10 -04:00
olivierdalang
825f0beda8 Fixed #8936 -- Added a view permission and a read-only admin.
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-16 06:44:55 -04:00
T N
2405833c53 Fixed #29401 -- Updated admin's jQuery to 3.3.1. 2018-05-13 13:02:24 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
Follow-up of d97cce3409 and 7d3fe36c62.
2018-05-12 19:37:42 +02:00
Hasan Ramezani
7d3fe36c62 Alphabetized imports in docs/ref/contrib/postgres/fields.txt. 2018-05-07 07:46:29 -04:00
Kelly Hogan
9e86185936 Fixed #29351 -- Doc'd that ModelAdmin.prepopulated_fields removes stop words. 2018-05-02 13:15:39 -04:00
Brett Cannon
64b74804c5 Fixed #29334 -- Updated pypi.python.org URLs to pypi.org. 2018-04-17 20:24:27 -04:00
Jon Dufresne
be6ca89396 Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().
Thanks Vladimir Ivanov for the initial patch.
2018-04-04 19:21:50 -04:00
Jon Dufresne
b31a9149e1 Documented InlineModelAdmin.has_(add/change/delete)_permission(). 2018-04-04 14:32:35 -04:00
Dmitry Dygalo
c979c0a2b8 Fixed #25718 -- Made a JSONField lookup value of None match keys that have a null value. 2018-04-04 10:53:46 -04:00
Tim Graham
a4f0e9aec7 Fixed #28718 -- Allowed user to request a password reset if their password doesn't use an enabled hasher.
Regression in aeb1389442.
Reverted changes to is_password_usable() from
703c266682 and documentation changes from
92f48680db.
2018-03-22 10:03:43 -04:00
Tim Graham
5fa4f40f45 Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-20 12:10:10 -04:00
Tim Graham
4c02e3cda3 Refs #27728 -- Made cosmetic edits to admin template tag template overriding. 2018-03-01 11:45:08 -05:00
Raffaele Salmaso
5cc28dc752 Fixed #27728 -- Allowed overriding admin templatetags templates. 2018-02-28 08:49:40 +01:00
Becky Smith
8116e588db Fixed #17962 -- Added ModelAdmin.get_deleted_objects(). 2018-02-24 20:41:43 -05:00
Jon Dufresne
f5c6fc045a Added backticks around obj argument in admin docs. 2018-02-22 11:15:04 -05:00
Andreas Pelme
e307ff29d2 Fixed #27810 -- Allowed query expressions in admin_order_field. 2018-02-15 21:00:31 -05:00
Tim Graham
d63c00a428 Corrected doc'd type of some parameters from string to str. 2018-02-12 09:16:57 -05:00
Stanislav Karpov
6d794fb762 Fixed #28960 -- Added GEOSGeometry.buffer_with_style(). 2018-02-10 19:45:58 -05:00
Alexander Gaevsky
ef2512b2ff Fixed #25790 -- Allowed disable column sorting in the admin changelist.
Thanks Ramiro Morales for completing the patch.
2018-02-07 17:46:28 -05:00
Raffaele Salmaso
da3df5b878 Fixed #8500 -- Allowed overriding the default admin site instance. 2018-02-03 18:51:10 -05:00
Rodrigo
4fe0e619e7 Disambiguated "settings" in SpatiaLite note. 2018-01-31 12:20:24 -05:00
Rodrigo
9817add9e0 Doc'd specifying the ENGINE setting as part of configuring contrib.gis. 2018-01-31 12:09:26 -05:00
Rodrigo
7c5cf33127 Fixed location of spatialite_source label. 2018-01-31 11:27:55 -05:00
Tim Graham
92f48680db Expanded docs for AbstractBaseUser.has_usable_password(). 2018-01-27 11:03:41 -05:00
Tim Graham
f0f383b635 Fixed "template tag" spelling in docs. 2018-01-23 09:40:18 -05:00
Jon Dufresne
ff05de760c Fixed #29038 -- Removed closing slash from HTML void tags. 2018-01-21 02:09:10 -05:00
Ramiro Morales
37c17846ad Fixed #28343 -- Add an OS chooser for docs command line examples. 2018-01-20 12:38:48 -05:00
Дилян Палаузов
a38ae914d8 Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements. 2018-01-12 12:44:50 -05:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS. 2018-01-07 14:28:41 +01:00
Sergey Fedoseev
762bd34c36 Fixed #28842 -- Added SpatiaLite support for ForcePolygonCW function. 2018-01-06 19:24:44 -05:00
Vasilis Aggelou
777f216d55 Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete selected objects" deletion. 2018-01-05 18:28:45 -05:00
Tim Graham
5d5a2bd299 Confirmed support for PostGIS 2.4. 2018-01-04 17:27:14 -05:00
Mariusz Felisiak
83a36ac49a
Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
Sergey Fedoseev
47aba5ed1f Linked GIS functions docs to corresponding MySQL docs. 2017-12-28 14:21:19 +05:00
Sergey Fedoseev
aefe624c62 Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR. 2017-12-27 19:26:14 -05:00
Tim Graham
6deaddcca3 Fixed #28956 -- Updated admin's jQuery to 3.2.1. 2017-12-26 10:21:05 -05:00
Sam Collins
2d75e74e18 Fixed typo in docs/ref/contrib/admin/index.txt. 2017-12-07 10:52:46 -05:00
Krzysztof Nazarewski
244cc40155 Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.
Thanks Krzysztof Nazarewski for the initial patch.
2017-11-18 19:33:52 -05:00
Tim Graham
abaf0ab4a4
Fixed #28777 -- Clarified the docs for admin.register's args. 2017-11-09 21:21:43 -05:00
Sergey Fedoseev
8869142a4d Fixed #28632 -- Updated docs about using raw SQL with GIS and doc'd changes from refs #28518 in release notes. 2017-11-04 10:50:28 -04:00
Botond Beres
56b364bacc Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add forms. 2017-10-28 13:08:10 -04:00
Ryan Verner
9473a8481a Fixed #28740 -- Added 'continent_code' and 'continent_name' in GeoIP2.city() dict. 2017-10-25 10:07:37 -04:00
Tim Graham
1a82fc245e Fixed #28613 -- Doc'd the return value for GenericForeignKey when the related object is deleted. 2017-10-20 14:52:48 -04:00
Collin Stedman
4a861e8850 Refs #19295 -- Doc'd that ManifestStaticFilesStorage doesn't work with runserver --insecure. 2017-10-18 20:38:30 -04:00
Simon Willison
346eb32861 Made SearchQuery examples less sterotyped. 2017-10-17 09:29:47 -04:00
Mads Jensen
22ff4f81b1 Fixed #28423 -- Expanded docs for indexing contrib.postgres fields. 2017-10-09 12:19:08 -04:00
Tim Graham
27193aea00 Fixed #28584 -- Dropped support for SQLite < 3.7.15. 2017-10-03 10:42:18 -04:00
Tim Graham
fd866c25d1 Fixed #28654 -- Dropped support for SpatiaLite 4.0. 2017-09-30 14:13:18 -04:00
Michael Käufl
259fec8de0 Fixed #28651 -- Fixed typo in docs/ref/contrib/postgres/fields.txt. 2017-09-29 08:50:22 -04:00
Tim Graham
1d8cfa3608 Fixed #28626 -- Dropped support for PostgreSQL 9.3.
Thanks Simon Charette for the introspection changes.
2017-09-27 11:00:04 -04:00
Tim Graham
8a1768432b Fixed #28552 -- Dropped support for MySQL 5.5. 2017-09-25 14:48:11 -04:00
Tim Graham
d90936f41a Refs #27788 -- Corrected minimum supported Oracle version in GIS docs. 2017-09-22 15:09:37 -04:00
Tim Graham
5446b72003 Removed versionadded/changed annotations for 1.11. 2017-09-22 12:51:18 -04:00
Niall Dalton
4fe6588da3 Fixed #28576 -- Added color interpretation method to GDALBand. 2017-09-21 09:42:38 -04:00
Sjoerd Job Postmus
df41b5a05d Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Johannes Hoppe
f13bd32110 Refs #14370 -- Fixed typo in ModelAdmin.autocomplete_fields docs. 2017-09-19 08:51:46 -04:00
Johannes Hoppe
94cd8efc50 Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin.
Thanks Florian Apolloner and Tim Graham for review and
contributing to the patch.
2017-09-18 13:48:02 -04:00
Sergey Fedoseev
bd903e8a6e Fixed #28570 -- Dropped support for GEOS 3.3.x.
Removed setting SRID in GEOSGeometry.clone() which was only required
in GEOS 3.3.0.
2017-09-11 13:57:24 -04:00
Sergey Fedoseev
63d2472b10 Fixed capitalization of "Spherical Mercator." 2017-09-09 09:35:30 -04:00
Mads Jensen
f4135783ad Fixed #28126 -- Added GistIndex to contrib.postgres.
Thanks to Marc Tamlyn for the initial patch.
2017-09-04 21:08:02 -04:00
Simon Meers
60443e84b3 Fixed #17985 -- Documented ModelAdmin.lookup_allowed(). 2017-09-02 13:54:33 -04:00
Nick Pope
11f4c52ec7 Fixed #28525 -- Documented GDAL and GeoIP exceptions. 2017-09-02 09:10:18 -04:00
Nick Pope
cbb27d603b Reordered GeoIP docs be consistent with GDAL/GEOS ordering. 2017-09-01 09:48:25 -04:00
Nick Pope
49017dc13a Made GeoIP docs headers consistent with other GIS docs. 2017-09-01 09:44:41 -04:00
jkrzy
20a761697f Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files. 2017-08-30 16:40:19 -04:00
Jkrzy
da3a5cee4f Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs. 2017-08-30 06:25:51 -04:00
Claude Paroz
3c0b2b80ed Fixed #28532 -- Fixed typo in PostgreSQL field docs
Thanks Andreas Poisel for the report.
2017-08-26 10:20:01 +02:00
Tom
b78d100fa6 Fixed #27849 -- Added filtering support to aggregates. 2017-08-12 17:58:28 -04:00
Tim Graham
14172cf442 Fixed #28415 -- Clarified what characters ASCII/UnicodeUsernameValidator accept. 2017-07-27 08:42:01 -04:00
Sergey Fedoseev
f3bada9889 Fixed #28436 -- Added support for distance lookups on MySQL. 2017-07-26 08:50:56 -04:00
jmk
841b464883 Fixed 403 link in docs/ref/contrib/gis/install/spatialite.txt. 2017-07-17 12:26:11 -04:00
Mariusz Felisiak
617505ca89 Fixed #28330 -- Prevented passing positional arguments to an Index.
Thanks Tim Graham for the review.
2017-06-27 13:39:37 -04:00
Sergey Fedoseev
44a7b98abb Fixed #27964 -- Made MySQL backend raise exception if spatial transformation is needed for query. 2017-06-26 15:10:55 -04:00
Sergey Fedoseev
964e490847 Fixed GEOSGeometry reference in GIS tutorial. 2017-06-26 15:10:07 -04:00
Mads Jensen
de42adf4ff Fixed #27869 -- Added fastupdate and gin_pending_list_limit params to GinIndex.
Thanks Tim Graham and Markus Holtermann for review.
2017-06-20 10:54:39 -04:00
Daniel Wiesmann
6f44f714c9 Fixed #28300 -- Allowed GDALRasters to use the vsimem filesystem.
Thanks Tim Graham for the review and edits.
2017-06-16 12:09:05 -04:00
Tim Graham
108ff788cb Fixed typo in docs/ref/contrib/postgres/fields.txt. 2017-06-09 12:42:53 -04:00
Daniel Wiesmann
fe5e34a295 Fixed #28288 -- Allowed passing papsz options to GDALRaster initialization. 2017-06-08 12:44:26 -04:00
Claude Paroz
2862760894 Fixed #28257 -- Confirmed support for GDAL 2.2
Additionally, a test has been updated to account for small SRS WKT differences.
Thanks Tim Graham for writing the doc part.
2017-06-07 21:26:04 +02:00
Daniel Wiesmann
e0b456bee7 Fixed #28232 -- Made raster metadata readable and writable on GDALRaster/Band. 2017-06-07 11:30:35 -04:00
R3turnz
502f03d897 Fixed #28112 -- Added 'time_zone' in GeoIP2.city() dict. 2017-05-22 21:07:14 -04:00
Claude Paroz
01f658644a Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Tim Graham
650bf6714d Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3. 2017-05-15 09:26:38 -04:00
Danilo Bargen
a7975260b5 Fixed #28195 -- Added OSMWidget.default_zoom attribute. 2017-05-14 14:31:17 -04:00
Danilo Bargen
680968b9e4 Documented OSMWidget.default_lat/lon. 2017-05-13 17:24:22 -04:00
Tim Graham
b0d0dbe280 Fixed widgets module path in docs/ref/contrib/gis/forms-api.txt. 2017-05-12 09:22:59 -04:00
Tim Graham
2dc3280254 Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed. 2017-05-04 20:45:18 -04:00
Mariusz Felisiak
16121da78d Fixed broken links to Oracle docs. 2017-05-04 09:11:47 -04:00
Paolo Melchiorre
fcb5dbfec0 Fixed #27996 -- Added RandomUUID function and CryptoExtension to contrib.postgres. 2017-04-25 20:21:36 -04:00
Michiel Beijen
5e8625ba64 Renamed "Mac OS X" to "macOS" in docs. 2017-04-24 20:16:09 -04:00
Sergey Fedoseev
33421ed10c Corrected docs regarding MySQL support of Length GIS function. 2017-04-12 08:59:47 -04:00
Sergey Fedoseev
17e078dbf2 Refs #12410 -- Doc'd LineLocatePoint in functions' summary table. 2017-04-03 07:33:43 -04:00
Sergey Fedoseev
5e710cf4a5 Fixed #11854 -- Added Azimuth GIS function. (#8286) 2017-04-02 14:24:06 -04:00
Jirka Schäfer
73c30b79c0 Clarified meaning of "Optional" in auth.models.User field docs. 2017-04-01 21:24:42 -04:00
Sergey Fedoseev
24023c6a8f Fixed #25874 -- Made GEOSGeometry read SRID from GeoJSON input. 2017-04-01 15:35:30 -04:00
Sergey Fedoseev
ede4f6d48c Fixed #12410 -- Added LineLocatePoint GIS function. 2017-04-01 15:02:09 -04:00
Sergey Fedoseev
0a13b249e2 Fixed #26967 -- Added MySQL support for AsGeoJSON, GeoHash, IsValid functions, and isvalid lookup. 2017-04-01 13:43:53 -04:00
Sergey Fedoseev
6ecccad711 Fixed #25873 -- Made GEOSGeometry handle the srid parameter more predictably. 2017-03-30 09:38:26 -04:00
Sergey Fedoseev
075f13e44f Refs #27556, #27488 -- Updated support backends docs for isvalid lookup. 2017-03-23 13:07:50 -04:00
Sergey Fedoseev
7b6524e0ff Linked GIS QuerySet API docs to corresponding PostGIS docs. 2017-03-22 12:21:59 -04:00
Sergey Fedoseev
6052b185ca Clarified backend support of Area GIS function. 2017-03-22 09:53:48 -04:00