1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
Commit Graph

3112 Commits

Author SHA1 Message Date
Claude Paroz
cf7894be88 Fixed #21113 -- Made LogEntry.change_message language independent
Thanks Tim Graham for the review.
2016-01-08 20:34:59 +01:00
wingston sharon
7f218d9891 Fixed #25928 -- Clarified precendence of USE_THOUSAND_SEPARATOR and locale formats. 2016-01-07 14:32:18 -05:00
Niels Van Och
7f7553dd30 Fixed #25680 -- Added django-admin shell --command option.
Add a -c option to the shell command to execute a command passed as a
string as Django.
2016-01-06 18:43:41 -05:00
Tim Graham
62e83c71d2 Refs #25878 -- Added the expected return type of CSRF_FAILURE_VIEW. 2016-01-06 07:05:05 -05:00
Tim Graham
49eeb0f570 Fixed #25878 -- Documented requirement that handler404 return a 404 response. 2016-01-05 11:23:13 -05:00
Tim Graham
b07f91600d Fixed #26032 -- Moved "project root directory" to a separate paragraph. 2016-01-04 10:52:20 -05:00
Marten Kenbeek
16411b8400 Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Tim Graham
e051930123 Fixed #25748 -- Added clarification on projects vs. applications.
Thanks Thomas Güttler for motivating this addition.
2015-12-30 17:46:53 -05:00
Bryan Marty
62ca2dea04 Fixed #8065 -- Made id_list an optional argument for QuerySet.in_bulk(). 2015-12-26 17:57:19 -05:00
Alexander Sosnovskiy
2a7ce34600 Fixed #14286 -- Added models.BigAutoField. 2015-12-25 20:01:31 -05:00
Gen1us2k
a1d0c60fa0 Added docs example for manually creating a column with RunSQL. 2015-12-25 18:28:45 -05:00
Tim Graham
a53175392f Refs #13008 -- Forwardported 1.8.8 release note.
Forwardport of b51086d573 from stable/1.8.x
2015-12-24 11:37:21 -05:00
Chris Lamb
77b8d8cb6d Discouraged use of /tmp with predictable names.
The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs.
2015-12-24 09:54:33 -05:00
Tim Graham
91cd4d8e8c Removed an extra header in docs/ref/templates/api.txt. 2015-12-23 19:05:09 -05:00
Tim Graham
c70c5f04a4 Fixed #25979 -- Dropped support for PostgreSQL 9.1. 2015-12-23 13:48:48 -05:00
Tim Graham
4d83b0163e Fixed #25969 -- Replaced render_to_response() with render() in docs examples. 2015-12-23 09:14:32 -05:00
Sergey Fedoseev
febe1321da Documented that GDAL is required to initialize GEOSGeometry from JSON. 2015-12-23 07:57:13 -05:00
Sergey Fedoseev
0224f1cb04 Refs #25141 -- Removed note that says that GEOSGeometry.json requires GDAL. 2015-12-23 15:31:28 +05:00
Sergey Fedoseev
5d348bba31 Fixed #25950 -- Added support for GEOSisClosed. 2015-12-22 16:54:02 -05:00
Tim Graham
d52b0c5b38 Fixed #25965 -- Added removal of sql* commands to 1.9 release notes. 2015-12-22 09:58:33 -05:00
Jon Dufresne
f1628f6be1 Fixed #25838 -- Added "python" as an interface to the shell command.
Deprecates the "--plain" option.
2015-12-22 08:22:12 -05:00
Karen Tracey
5399ccc0f4 Fixed #494 -- Added ability to specify classes on admin inline fieldsets.
This includes the ability to collapse inlines by specifying a class named
'collapse'.
2015-12-21 13:50:06 -05:00
Tim Graham
b26d147259 Fixed #25949 -- Documented Psycopg2 version requirement for JSONField. 2015-12-19 07:24:59 -05:00
Sergey Fedoseev
c984e2bc15 Fixed #25869 -- Added trim and precision properties to WKTWriter. 2015-12-18 19:44:43 +01:00
Niels Van Och
99a1265a39 Fixed #25063 -- Added path to makemigration's output of migration file. 2015-12-18 11:20:00 -05:00
Sergey Fedoseev
e090070761 Fixed a typo in docs/ref/contrib/gis/geos.txt. 2015-12-18 15:36:55 +05:00
Garrison Benson
2ec23a3d41 Refs #13110 -- Fixed typo in Feed class reference. 2015-12-17 09:09:09 -05:00
Sergey Fedoseev
5146e2cf98 Fixed #25662 -- Allowed creation of empty GEOS geometries. 2015-12-14 13:29:38 -05:00
Johannes Hoppe
5233b70070 Fixed #25725 -- Made HttpReponse immediately close objects. 2015-12-14 12:46:48 -05:00
Iacopo Spalletti
d693074d43 Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().
Thanks to bmispelon and uruz for the initial patch.
2015-12-12 14:46:48 -05:00
Tim Graham
59f861fcb4 Fixed #25918 -- Removed unused LOGOUT_URL setting.
Thanks hop for the report and patch.
2015-12-11 12:43:02 -05:00
Dotan Agmon
a44dc200d0 Fixed incorrect examples in ArrayField docs. 2015-12-10 17:48:38 -05:00
Johannes Hoppe
cf546e11ac Fixed #21221 -- Made form Media and static template tag use staticfiles if installed. 2015-12-10 14:30:19 -05:00
Tim Graham
890938e756 Removed redundant highlight/code-block directives in docs/ref/templates/builtins.txt. 2015-12-09 09:54:42 -05:00
Andrew Plummer
1aa8bf9b43 Fixed typo in docs/ref/forms/validation.txt. 2015-12-09 07:20:33 -05:00
Thomas Grainger
d638cdc42a Fixed #25165 -- Removed inline JavaScript from the admin.
This allows setting a Content-Security-Policy HTTP header
(refs #15727).

Special thanks to blighj, the original author of this patch.
2015-12-05 15:51:57 -05:00
Sergey Fedoseev
479ba5add2 Fixed #25740 -- Documented GEOSGeometry operators. 2015-12-04 12:37:33 -05:00
Sergey Fedoseev
25f5b5c19d Fixed #25853 -- Added support for GeoHash function on SpatiaLite. 2015-12-04 08:09:21 -05:00
Alexander Sosnovskiy
b61eab18f7 Fixed #13774 -- Added models.Field.rel_db_type(). 2015-12-04 07:55:41 -05:00
Raphaël Hertzog
9f4e031bd3 Fixed #25761 -- Added __cause__.__traceback__ to reraised exceptions.
When Django reraises an exception, it sets the __cause__ attribute even
in Python 2, mimicking Python's 3 behavior for "raise Foo from Bar".
However, Python 3 also ensures that all exceptions have a __traceback__
attribute and thus the "traceback2" Python 2 module (backport of Python
3's "traceback" module) relies on the fact that whenever you have a
__cause__ attribute, the recorded exception also has a __traceback__
attribute.

This is breaking testtools which is using traceback2 (see
https://github.com/testing-cabal/testtools/issues/162).

This commit fixes this inconsistency by ensuring that Django sets
the __traceback__ attribute on any exception stored in a __cause__
attribute of a reraised exception.
2015-12-03 16:31:50 -05:00
Sergey Fedoseev
395af23ac1 Refs #25659 -- Added missing docs for Difference/Intersection/SymDifference functions.
Complements 7127eb287f.
2015-12-03 12:59:01 -05:00
Qile Wang
83a710b8d3 Fixed typo in docs/ref/models/instances.txt 2015-12-03 12:55:32 -05:00
Josh Soref
93452a70e8 Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
Sergey Fedoseev
0825f77f76 Fixed #25836 -- Added support for MakeLine aggregate on SpatiaLite. 2015-12-02 17:25:33 -05:00
Jon Dufresne
7aabd62380 Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:01:34 -05:00
Sergey Fedoseev
da08195b36 Removed old versionadded/changed directives. 2015-11-30 18:45:57 -05:00
Sergey Fedoseev
f920be7c32 Fixed #25773 -- Deprecated the geos.MultiPolygon.cascaded_union property. 2015-11-25 17:31:24 -05:00
Tim Graham
0cfe589f95 Fixed man page by ensuring ".pot" doesn't render unescaped.
See https://github.com/sphinx-doc/sphinx/issues/2131
2015-11-25 17:20:18 -05:00
Sergey Fedoseev
a3708fda35 Fixed #25649 -- Documented that all GEOSGeometry constructors take srid kwarg. 2015-11-25 16:28:54 -05:00
Daniel Wiesmann
8f5904560a Fixed #25734 -- Made GDALBand min and max properties use GDALComputeRasterStatistics.
Thanks Sergey Fedoseev and Tim Graham for the review.
2015-11-25 13:40:39 -05:00