Pankrat
f91a04621e
Fixed #25833 -- Added support for non-atomic migrations.
...
Added the Migration.atomic attribute which can be set to False
for non-atomic migrations.
2016-02-05 09:09:05 -05:00
Hugo Osvaldo Barrera
dcee1dfc79
Fixed #12405 -- Added LOGOUT_REDIRECT_URL setting.
...
After a user logs out via auth.views.logout(), they're redirected
to LOGOUT_REDIRECT_URL if no `next_page` argument is provided.
2016-02-04 10:35:37 -05:00
Blake Griffith
5fdbd9e36c
Changed gypsy to manouche in docs and tests.
...
"Gypsy" is considered a slur by the Romani people whom it refers to.
"manouche jazz" is used in place of "gypsy jazz" and is an accepted
term for the same genre of music.
2016-02-03 09:45:30 -05:00
Tim Graham
67907ed845
Made identation of default setting docs more consistenct.
2016-02-02 11:40:28 -05:00
Tim Graham
8ce8beb3f2
Unified some doc links to OneToOneField and ManyToManyField.
2016-02-01 11:02:26 -05:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
Yoong Kang Lim
9644e2e968
Fixed #26156 -- Added createsuperuser instructions to admin docs.
2016-01-30 12:32:24 -05:00
Tim Graham
2436b83dfd
Made formatting of docs for settings defaults more consistent.
2016-01-29 15:03:40 -05:00
Tim Graham
93897a6a75
Fixed #26137 -- Confirmed support for SpatiaLite 4.2/4.3 and added instructions.
2016-01-29 08:33:00 -05:00
Markus Holtermann
4b0118465b
Fixed #26150 -- Sorted app_labels in migrate command output
2016-01-29 10:26:04 +11:00
Tim Graham
55481bcdee
Fixed #25917 -- Clarified reversibility of RemoveField.
...
Thanks kaifeldhoff for the draft patch.
2016-01-28 12:47:08 -05:00
James Pulec
f05722a08a
Fixed #25354 -- Added class/app_label interpolation for related_query_name.
2016-01-28 11:10:47 -05:00
Chris Lamb
abc0777b63
Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.
...
Debian packages unconditionally byte-compile .py files on installation and
do not silence errors by design. Therefore, we need a way of shipping these
invalid .py files without a .py extension but ensuring that when we
template them, they end up as .py.
We don't special-case .py files so that the all the TemplateCommand
command-line options (eg. extra_files and extensions) still work entirely
as expected and it may even be useful for other formats too.
2016-01-25 12:39:06 -05:00
Simon Charette
729e0b086d
Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.
...
Thanks to Markus Holtermann and Tim Graham for their review.
2016-01-23 14:19:03 -05:00
Vincenzo Pandolfo
0490d72f2a
Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks.
2016-01-22 18:29:56 -05:00
Preston Timmons
c00ae7f58c
Fixed #26118 -- Added 'is' operator to if template tag.
2016-01-22 15:35:28 -05:00
Elif T. Kus
bca9faae95
Fixed #26020 -- Normalized header stylings in docs.
2016-01-22 12:12:17 -05:00
Tim Graham
79d0a4fdb0
Fixed #26121 -- Updated MySQL storage engine example.
...
default_storage_engine was introduced in MySQL 5.5.3.
storage_engine was removed in MySQL 5.7.5.
2016-01-22 08:19:00 -05:00
Luke Plant
77974a684a
Changed `action="."` to `action=""` in tests and docs.
...
`action="."` strips query parameters from the URL which is not usually what
you want. Copy-paste coding of these examples could lead to difficult to
track down bugs or even data loss if the query parameter was meant to alter
the scope of a form's POST request.
2016-01-21 13:59:15 -05:00
Danilo Bargen
6a4f13de27
Added docs about configuring CSRF support in AngularJS.
2016-01-15 10:14:52 -05:00
Tim Graham
e519aab43a
Fixed #23868 -- Added support for non-unique django-admin-options in docs.
...
Also documented missing short command line options to fix #24134 . This bumps
the minimum sphinx version required to build the docs to 1.3.4.
Thanks Simon Charette for review.
2016-01-14 18:21:33 -05:00
Tim Graham
28acc0d6df
Fixed #26078 -- Clarified "old vs. new" in model._meta upgrade guide.
...
Thanks Thomas Güttler for the suggestion.
2016-01-14 07:24:25 -05:00
Iacopo Spalletti
21bf685f5e
Fixed #25697 -- Made default error views error when passed a nonexistent template_name.
2016-01-14 07:05:38 -05:00
Tim Graham
d45cfefbad
Refs #25769 -- Updated docs to reflect get_version() uses PEP 0440.
2016-01-13 07:06:34 -05:00
Tim Graham
a7752780d9
Removed an unncessary docs cross-reference for call_command().
2016-01-12 18:01:29 -05:00
Tim Graham
555f8e9d5c
Made CommandError use the exception directive in docs.
2016-01-12 12:28:55 -05:00
pp
b34ff66e5b
Added missing period to "etc.".
2016-01-11 18:05:15 -05:00
Varun Sharma
3d6474e1a5
Fixed #25385 -- Allowed importing views.generic.View from views.View.
2016-01-11 08:18:44 -05:00
Flavio Curella
0bc5cd6280
Fixed #25684 -- Made runserver use logging for request/response output.
...
Thanks andreif for the contributing to the patch.
2016-01-11 07:35:17 -05:00
pp
c8d970a548
Refs #25755 -- Unified a couple more spellings of 'website'.
2016-01-11 06:13:16 -05:00
Tim Graham
c432dd40bd
Refs #25995 -- Documented that JSONField doesn't handle sophisticated serialization.
2016-01-08 19:00:56 -05:00
Collin Anderson
780bddf75b
Fixed #20846 -- Decreased User.username max_length to 150 characters.
2016-01-08 18:06:44 -05:00
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
Tim Graham
a918f8b089
Documented that forms.Field.help_text isn't HTML-escaped.
2015-11-24 10:17:16 -05:00
Bulgantamir Gankhuyag
8bce6fa637
Clarified default value for DateField to emulate auto_now_add.
2015-11-24 08:38:14 -05:00
Sergey Fedoseev
97e1d24330
Refs #25739 -- Lessened the prominence of geos.fromstr() in the docs.
2015-11-23 17:22:37 -05:00
Stephane Angel (Twidi)
8091e8c5c6
Corrected doc'd differences between django-admin and manage.py.
2015-11-23 07:23:00 -05:00
Sergey Fedoseev
ccc8f67b77
Fixed #25722 -- Added the GEOSGeometry.covers() method.
2015-11-20 12:36:03 -05:00
areski
1e7da99ea6
Corrected GenericIPAddressField protocol parameter doc.
2015-11-19 11:18:31 -05:00
Tim Graham
ad167502f3
Fixed #25549 -- Documented auth_user_password_change URL.
2015-11-18 19:35:56 -05:00
Sergey Fedoseev
034dfbfc05
Fixed #25654 -- Added the GEOSGeometry.unary_union property.
2015-11-18 19:17:16 -05:00
Tim Graham
5f7f3b4685
Refs #25526 -- Documented some missing termcolors.
2015-11-18 10:26:39 -05:00
Tim Graham
6258e16335
Refs #24971 , #25356 -- Clarified how apps.py works in 1.9 release notes.
2015-11-17 19:32:32 -05:00
Raphael Michel
16945f0e9c
Fixed #25695 -- Added template_name parameter to csrf_failure() view.
2015-11-17 14:28:18 -05:00
Alex Morozov
5abed864ee
Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
2015-11-17 10:16:29 -05:00
Agnieszka Lasyk
1f8dad6915
Fixed #25755 -- Unified spelling of "website".
2015-11-16 06:44:14 -05:00
René Fleschenberg
2c72710111
Fixed #25531 -- Documented that admin_order_field supports lookups.
2015-11-14 17:31:21 -05:00
Tim Graham
931b946e29
Fixed typo in docs/ref/migration-operations.txt.
2015-11-14 17:19:45 -05:00
Florian Demmer
25b912abbe
Fixed #17686 , refs #17816 -- Added "Files" section to Unicode topic.
...
Thanks Fako Berkers for help with the patch.
2015-11-14 12:01:51 -05:00
Tom Christie
a32538279c
Tweaked example text in docs/ref/templates/builtins.txt.
2015-11-13 07:38:40 -05:00
Aaron Elliot Ross
19a5f6da32
Fixed #25469 -- Added autoescape option to DjangoTemplates backend.
...
Thanks Aymeric for the initial patch and Carl for review.
2015-11-12 19:14:23 -05:00
Tim Graham
a8f05f405f
Replaced "inbuilt" with more common "built-in".
2015-11-12 17:29:03 -05:00
Sergey Fedoseev
34669ea6b8
Fixed #25728 -- Fixed description of GEOSGeometry.contains().
2015-11-11 09:34:58 -05:00
Tim Graham
bc6eaca304
Removed obsolete note about installing psycopg2 on Windows.
...
psycopg2 now publishes binary wheel files for Windows
so you can install it using pip.
2015-11-10 09:59:23 -05:00
Thijs van Dien
1679472165
Fixed #25473 -- Changed underscores in url() names to dashes in docs.
...
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.
Thanks guettli for reporting this.
2015-11-07 21:58:45 +01:00
Sergey Fedoseev
f98126a05a
Fixed #25660 -- Documented GEOSGeometry.dims
2015-11-05 10:33:25 +01:00
Alex Morozov
99c58c27d5
Fixed #24244 -- Documented contrib.admin.models.LogEntry
2015-11-05 09:47:18 +01:00
Tim Graham
4dea29ec7b
Updated admindocs instructions for the deprecation of patterns().
2015-11-03 14:43:30 +00:00
Alex Morozov
4373eac998
Fixed #25132 -- Documented how to retrieve a single value using values_list() and get().
2015-11-03 12:23:45 +00:00
Sergey Fedoseev
0a26121797
Refs #25629 -- Added `arity` class attribute to `Func` expressions
2015-11-02 20:09:21 +01:00
Sergey Fedoseev
7127eb287f
Fixed #25659 -- Added missing support for MySQL 5.6.1 GIS functions
...
Added support for ST_Difference/ST_Intersection/ST_SymDifference.
2015-11-02 19:25:53 +01:00
Sergey Fedoseev
b78226cd3d
Fixed #25655 -- Dropped support for GEOS < 3.3
2015-11-01 20:41:52 +01:00
Sergey Fedoseev
5ce84b8044
Refs #25632 -- Corrected database support docs for GeoDjango DB functions.
2015-10-31 10:22:32 -04:00
Sergey Fedoseev
cdb17dcb64
Refs #25636 -- Updated instructions for libspatialite source installation
2015-10-31 14:22:34 +01:00
Sergey Fedoseev
8ad923b9d0
Fixed #25636 -- Dropped support for SpatiaLite < 3.0
2015-10-31 14:22:34 +01:00
Tim Graham
e19bd086d6
Fixed #24019 -- Fixed inaccurate docs about GenericRelation not supporting aggregation.
...
This works at least as far back as Django 1.6 according to the test
added in refs #10870 .
2015-10-30 10:35:03 -04:00
Tim Graham
69239c0f96
Fixed #21422 -- Documented that prefetch_related() results must be homogeneous.
2015-10-30 10:26:54 -04:00
Sergey Fedoseev
9ae8da0e37
Fixed #25641 -- Removed section about adding Google projection to spatial_ref_sys table
2015-10-30 10:05:48 +01:00
Tim Graham
abf5ccc29c
Fixed #25489 -- Documented that SESSION_SAVE_EVERY_REQUEST doesn't create empty sessions.
2015-10-29 17:28:37 -04:00
Claude Paroz
7d81ee6efc
Fixed #16734 -- Set script prefix even outside of requests
...
Thanks Tim Graham for the review.
2015-10-29 20:12:38 +01:00
Tim Graham
15ef1dd478
Fixed #20846 -- Increased User.username max_length to 254 characters.
...
Thanks Collin Anderson and Nick Sandford for work on the patch.
2015-10-29 08:58:49 -04:00
Sergey Fedoseev
0bd067d095
Fixed #25632 -- Documented missing version requirements for GeoDjango DB functions.
2015-10-29 08:36:10 -04:00
Sergey Fedoseev
1a10ae45b1
Fixed required SpatiaLite version in docs.
...
Refs bc0aba7786
which dropped
support for SpatiaLite < 2.4.
2015-10-29 07:57:12 -04:00
Bryan Marty
455034d4df
Fixed #21516 -- Updated imports paths for some formset functions/classes.
...
Since refs #21489 , FormSet classes and factories are exposed on the
django.forms package.
2015-10-28 15:44:53 -04:00
Claude Paroz
40a2262506
Added versionadded directive for GDALRaster.srid
...
Complement to 48548d1a47
.
2015-10-28 15:35:23 +01:00
Daniel Wiesmann
48548d1a47
Refs #25588 -- Added the srid property to GDALRaster
...
Geometry objects have an srid property, so this addition makes the raster api
more similar to the geometries api.
2015-10-28 15:27:19 +01:00
Tim Graham
dc193d0f6d
Added "Attributes set by application code" section to HttpRequest.
2015-10-28 09:26:23 -04:00
Simon Charette
976bd519a8
Revert "Fixed #25417 -- Added a field check for invalid default values."
...
This reverts commit 71ebcb85b9
.
2015-10-27 11:02:35 -04:00
Tim Graham
9c5e272860
Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set.
2015-10-27 07:57:15 -04:00
Tim Graham
e0c0080e29
Fixed typo in docs/ref/contrib/admin/index.txt
2015-10-26 09:03:04 -04:00
Curtis Maloney
35440ceab7
Optimized docs images and documented the process.
2015-10-24 14:57:21 -04:00
Jon Dufresne
3c7d2ee881
Fixed #25604 -- Added makemigrations --check option.
...
Command exits with non-zero status if changes without migrations exist.
2015-10-24 14:45:00 -04:00
Sergey Fedoseev
a7bb5af50b
Fixed #25583 -- Allowed calling `transform` with `CoordTransform` even if SRID is invalid.
2015-10-24 11:39:24 -04:00
Tim Graham
02ef96c5e5
Fixed #25434 -- Documented HttpRequest.site and created a section for middleware attributes.
...
Thanks Nick Pope for the initial patch.
2015-10-24 09:46:22 -04:00
Sergey Fedoseev
310049a5ae
Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform.
2015-10-24 10:53:48 +02:00
Jacek Bzdak
494b7986a3
Fixed #25397 -- Documented class-based view context variable clash with context processors.
2015-10-23 15:18:39 -04:00
薛丞宏
484edc81c1
Clarified that the test client response content attribute is bytes.
2015-10-23 14:26:19 -04:00
Dheerendra Rathor
59e85f09c6
Fixed #25519 -- Made the admin "View site" link point to sites running on a subpath.
...
Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been
customized from the default value of '/'.
2015-10-22 13:51:00 -04:00
Tim Graham
80855a4b37
Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data.
2015-10-21 13:50:48 -04:00
Jacek Bzdak
32cd706971
Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs.
2015-10-21 11:43:45 -04:00
Jon Dufresne
05248a1009
Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse.
2015-10-21 10:42:29 -04:00
Yusuke Miyazaki
230d8c7301
Fixed #25578 -- Corrected the casing of "GitHub".
2015-10-21 07:31:11 -04:00
Tim Graham
c7aff31397
Refs #25535 -- Minor edits to ForeignObject check changes.
2015-10-14 05:21:08 -07:00
Sergey Fedoseev
92c1ae1b0b
Fixed quotes in GeoQuerySet aggregates examples.
2015-10-13 23:39:29 -04:00
Tim Graham
f6b9e6bf4f
Fixed typo in docs/ref/models/relations.txt.
2015-10-13 04:24:22 -07:00
Claude Paroz
533c10998a
Added precision about GeoJSON field outputs
2015-10-12 21:48:29 +02:00
Claude Paroz
617b1a21f5
Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-11 12:24:33 +02:00
Claude Paroz
37d06cfc46
Fixed #25499 -- Added the ability to pass an expression in distance lookups
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-09 15:27:47 +02:00
Claude Paroz
9a6fc9606c
Added some function links in translation docs
2015-10-07 17:25:23 +02:00
Tim Graham
cb15ceb555
Fixed #25516 -- Documented that parallel test excution doesn't work with pdb.
2015-10-06 13:25:14 -04:00
Tim Graham
e0837f2cb1
Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list.
2015-10-06 12:38:34 -04:00
Jon Dufresne
2875325889
Fixed #25500 -- Added --fail-level option to check command.
...
This option specifies the level that check command exits with a
non-zero status. Default is ``ERROR``.
2015-10-05 17:11:40 -04:00
Claude Paroz
41ed6338a4
Upgraded OpenLayers version from 2.13 to 2.13.1
...
Thanks Daniel Hahler for the initial patch.
2015-10-03 12:36:39 +02:00
Andrew Artajos
d2ef521a53
Fixed #25398 -- Revised instances of os.path.join()
...
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')
2015-10-03 09:07:25 +02:00
Nick Williams
3f342d74e9
Fixed link to the MySQL Connector/Python Django Backend documentation.
2015-10-02 12:31:53 -04:00
Tim Graham
b47552b445
Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt
2015-09-29 19:40:35 -04:00
Tim Graham
4cd2bdae07
Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__().
2015-09-28 07:20:46 -04:00
Rob Hudson
021782d22b
Corrected use of 'affect' vs 'effect' in docs.
2015-09-25 18:34:29 -04:00
Tim Graham
de99f558d8
Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
2015-09-25 13:28:12 -04:00
Tim Graham
ce531f7ad7
Bumped latest Python 2.7 release in docs/ref/databases.txt.
2015-09-24 10:51:04 -04:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Tim Graham
9af3c6b9ce
Made template response APIs enforce the use of dict and backend-specific template objects.
...
Per deprecation timeline; refs 79deb6a071
.
2015-09-23 19:31:11 -04:00
Tim Graham
4811f09fa3
Removed template.loader.BaseLoader per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham
2a20ebe6a5
Removed deprecated TEMPLATE_* settings per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham
5e450c52aa
Removed current_app argument to render() and TemplateResponse().
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
75374d3797
Refs #24099 -- Removed compatibility shim for ContentType.name field.
2015-09-23 19:31:10 -04:00
Tim Graham
491de4f07c
Refs #23656 -- Required FormMixin.get_form() form_class parameter to be optional.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
849037af36
Refs #23957 -- Required session verification per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
5d383549ee
Refs #24152 -- Removed deprecated GeoQuerySet aggregate methods.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
b6ea1961eb
Refs #23151 -- Removed RegexField.error_message per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
6eed9ae747
Refs #24133 -- Removed legacy formatting syntax in success_url placeholders.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
b6e6fcf326
Refs #23359 -- Removed the migrate --list option per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
1bb6ecf6d3
Refs #9893 -- Removed shims for lack of max_length support in file storage per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
222d063301
Refs #23269 -- Removed the removetags template tag and related functions per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
785cc71d5b
Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
d79122f40b
Refs #23276 -- Removed passing views as strings to url() per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
a25d3ce007
Refs #22218 -- Removed conf.urls.patterns() per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
9a3dfa2a52
Refs #23261 -- Removed old style list syntax for unordered_list filter
...
Per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
27b2321793
Refs #24451 -- Removed comma-separated {% cycle %} syntax per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
04ee4059d7
Refs #24022 -- Removed the ssi tag per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
3af9b70028
Refs #22789 -- Removed contrib.webdesign per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
c64dd646f5
Refs #12663 -- Removed deprecated Model._meta methods.
2015-09-23 19:31:09 -04:00
Tim Graham
2634f606d5
Fixed #25386 -- Warned about differences between Engine and DjangoTemplates.
2015-09-23 19:16:16 -04:00
Claude Paroz
135a9e4fd9
Added some more links in form field docs
2015-09-23 22:01:31 +02:00
Alex Hill
134ca4d438
Fixed #24509 -- Added Expression support to SQLInsertCompiler
2015-09-22 23:35:24 +10:00
Aymeric Augustin
94a36cfd8c
Recommended against default_app_config.
...
Most likely this is a losing fight -- people seem to love this small
convention -- but at least the reasons for avoiding it will be
documented.
Refs #25356 .
2015-09-22 08:31:50 +02:00
Nick Johnson
392f64842f
Fixed #25373 -- Added warning logging for exceptions during {% include %} tag rendering.
2015-09-21 19:57:12 -04:00
ramez
1335aa2fb9
Fixed #15760 -- Added JavaScript events for admin inline forms.
2015-09-21 15:34:44 -04:00
Alasdair Nicol
fe3fc5210f
Fixed #23813 -- Added checks for common URL pattern errors
...
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah
for their reviews.
2015-09-21 23:46:21 +10:00
Moritz Sichert
2f53d342f1
Fixed #12856 -- Documented BoundField API.
2015-09-21 08:42:14 -04:00
Josh Smeaton
534aaf56f4
Fixed #24629 -- Unified Transform and Expression APIs
2015-09-21 19:56:24 +10:00
Flavio Curella
95edabb45e
Fixed #25430 -- Fixed incorrect RunSQL examples.
2015-09-19 18:11:43 -04:00
Markus Holtermann
43f2eb7ef3
Fixed #25390 -- Allowed specifying a start migration in squashmigrations
...
Thanks Tim Graham for the review.
2015-09-19 14:55:34 +10:00
fabrizio ettore messina
186eb21dc1
Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators.
2015-09-18 19:04:29 -04:00
Unai Zalakain
aac2a2d2ae
Fixed #13110 -- Added support for multiple enclosures in Atom feeds.
...
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is
then used by the feed builder. If the feed is a RSS feed, an exception is
raised as RSS feeds don't allow multiple enclosures per feed item.
The ``item_enclosures`` hook defaults to an empty list or, if the
``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure``
built from the ``item_enclosure_url``, ``item_enclosure_length``, and
``item_enclosure_mime_type`` hooks.
2015-09-18 18:31:58 -04:00
Simon Charette
71ebcb85b9
Fixed #25417 -- Added a field check for invalid default values.
2015-09-18 14:31:36 -04:00
Iulia Chiriac
75ed590032
Fixed #24636 -- Added model field validation for decimal places and max digits.
2015-09-18 14:30:20 -04:00
Mariusz Felisiak
6f1b09bb5c
Made assorted improvements to the Oracle documentation.
2015-09-18 09:47:32 -04:00
Tim Graham
d074926ca1
Dropped support for Oracle 11.1.
2015-09-18 09:18:09 -04:00
Tom Christie
b02f08e02c
Fixed #25034 -- Converted caches ImproperlyConfigured error to a system check.
2015-09-18 07:44:39 -04:00
Tim Graham
abd33d80db
Removed obsolete pysqlite documentation.
...
These steps are no longer needed as of pysqlite 2.7.0.
76f34850be
2015-09-17 18:41:37 -04:00
Aymeric Augustin
4f6a7663bc
Refs #14091 -- Fixed connection.queries on SQLite.
2015-09-17 23:01:33 +02:00
Matt Robenolt
b0c56b895f
Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN.
...
Thanks Seth Gottlieb for help with the documentation and
Carl Meyer and Joshua Kehn for reviews.
2015-09-16 12:21:50 -04:00
Moritz Sichert
535809e121
Fixed #25294 -- Allowed custom BoundFields on forms.
2015-09-16 10:18:07 -04:00
Stephen Paulger
443dffbeb2
Remove unnecessarily rude terminology.
2015-09-16 12:05:28 +01:00
Tim Graham
64d7a553e1
Fixed #25369 -- Corrected syndication's get_object() example.
2015-09-14 15:30:01 -04:00
Tim Graham
f3e5a74646
Refs #25386 -- Added links to the OPTIONS of the built-in template backends.
2015-09-12 18:42:25 -04:00
Markus Holtermann
2b98034fbb
Cleaned up surrounding documentation
2015-09-12 10:38:15 +10:00
Markus Holtermann
a3c01b0dd8
Fixed #24919 -- Allowed disabling of migrations on a per app basis
2015-09-12 10:38:15 +10:00
Tim Graham
e7e8d30cae
Refs #25381 -- Clarified that AppConfig model methods search only the current app.
2015-09-11 14:07:12 -04:00
Renato Oliveira
e3720b990a
Fixed #25382 -- Removed obsolete references to DateQuerySet.
2015-09-11 12:16:06 -04:00
Ryan Allen
fba8655e88
Renamed admin doc image files to match the documentation they are for.
2015-09-11 12:01:13 -04:00
Ryan Allen
6e8ddbaa25
Fixed #25200 -- Updated admin screenshots in docs.
2015-09-11 12:00:10 -04:00
Jose Carlos Menezes
cf99bae53a
Fixed #25351 -- Added example for database test settings to docs.
2015-09-11 08:11:58 -04:00
Flavio Curella
0c7c18cc9e
Fixed #25380 -- Added Postgres.app to the PostGIS options on OS X.
2015-09-11 07:58:46 -04:00
Flavio Curella
dfced0921c
Fixed #25379 -- Removed obsolete information from GeoDjango tutorial.
...
Django 1.9 drops support for PostgreSQL 9.0 where creating
a database using a template was needed.
2015-09-10 20:46:08 -04:00
Aymeric Augustin
a32206b365
Documented that the parallel test runner doesn't work on Windows.
2015-09-10 15:41:26 +02:00
Aymeric Augustin
710b4a7032
Avoided running more test processes than necessary.
...
This reduces the time spent cloning databases.
Thanks Tim for the suggestion.
2015-09-10 14:37:51 +02:00
Aymeric Augustin
0bd58e0efb
Test parallelization isn't implemented on Oracle.
2015-09-09 23:03:51 +02:00
Aymeric Augustin
073ea9e852
Acknoweldeged a limitation of the parallel test runner.
...
Notably it will fail to report a Model.DoesNotExist exceptions because
the class itself isn't pickleable. (Django has specific code to make its
instances pickleable.)
2015-09-09 23:03:44 +02:00
Aymeric Augustin
326bc0955b
Allowed a port range for the liveserver by default.
...
This is required for running tests in parallel.
2015-09-09 23:01:16 +02:00
Aymeric Augustin
0586c061f0
Cloned databases for running tests in parallel.
2015-09-09 23:01:15 +02:00
Aymeric Augustin
cd9fcd4e80
Implemented a parallel test runner.
2015-09-09 23:01:10 +02:00
Bibhas
4283a03843
Fixed #25371 -- Added reverse_sql and reverse_code examples to docs.
2015-09-09 14:20:47 -04:00
Ola Sitarska
f2f8972def
Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.
...
Thanks Jaap Roes for the idea and initial patch.
2015-09-08 19:13:43 -04:00
Raphael Michel
1bbca7961c
Fixed #25350 -- Added alias --no-input for --noinput to management commands.
2015-09-08 08:41:03 -04:00
Ryan Hiebert
617eff41ac
Fixed #24857 -- Added "python -m django" entry point.
2015-09-07 19:54:32 -04:00
Tim Graham
862de0b254
Fixed #25356 -- Removed default_app_config from startapp template.
...
Also discouraged its use outside the intended use case.
2015-09-07 15:23:11 -04:00
Zan Anderle
f3dc173240
Fixed #24917 -- Made admindocs display model methods that take arguments.
2015-09-07 15:07:39 -04:00
Tim Graham
d06014db53
Removed some discussion of deprecated {% url %} behavior.
2015-09-05 11:55:58 -04:00
Joshua Kehn
ab26b65b2f
Fixed #25334 -- Provided a way to allow cross-origin unsafe requests over HTTPS.
...
Added the CSRF_TRUSTED_ORIGINS setting which contains a list of other
domains that are included during the CSRF Referer header verification
for secure (HTTPS) requests.
2015-09-05 09:19:57 -04:00
David Sanders
48c420d992
Added default value for default kwargs for QueryDict.
2015-09-05 08:20:41 -04:00
Tim Graham
721d8e50ac
Fixed #25144 -- Allowed migrate to create tables for apps without migrations.
2015-09-04 09:47:30 -04:00
Maxime Lorant
c92cd22d02
Refs #25345 -- Updated links to code.google.com.
2015-09-04 08:14:21 -04:00
Tim Graham
7c0850028f
Documented a limitation of Options.required_db_features.
2015-09-03 13:37:39 -04:00
Tim Graham
12083c5d47
Moved misplaced versionadded annotation.
2015-09-03 08:58:17 -04:00
Maxime Lorant
5153a3bfdc
Fixed #25331 -- Removed trailing blank lines in docstrings.
2015-08-31 17:37:21 -04:00
Tim Graham
123984ff66
Fixed #25289 -- Updated admin's jQuery to 2.1.4.
2015-08-31 09:39:43 -04:00
Tyson Clugg
73df1040a2
Cleaned up example migration files in docs
2015-08-31 22:15:05 +10:00
Y3K
b649f68649
Fixed #25262 -- Removed the enable_comments field from FlatPageAdmin.
2015-08-29 08:55:50 -04:00
Tim Graham
01b2b0b654
Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages.
...
Previously, messages of ERROR level or higher were printed to
the console.
2015-08-28 13:34:56 -04:00
Tim Graham
e8cbc2b322
Refs #2495 -- Documented that MySQL cannot have TextField(unique=True).
2015-08-27 09:29:13 -04:00
David Sanders
7efdd40407
Updated PROJ.4 link to new GitHub wiki.
2015-08-25 09:57:04 -04:00
Tim Graham
2a1a085bf1
Fixed #25309 -- Corrected that ATOMIC_REQUESTS applies per view not per request.
2015-08-25 09:53:22 -04:00
Marc
f9de197268
Recommended the JavaScript Cookie library instead of jQuery cookie.
...
jQuery cookie is no longer maintained in favor of the JavaScript
cookie library. This also removes the jQuery dependency.
2015-08-19 10:04:01 -04:00
Tim Graham
47201371d2
Refs #24451 -- Corrected Django version for {% cycle %} deprecation.
2015-08-19 08:37:27 -04:00
Anton Strogonoff
20787b5c29
Used consistent capitalization and hyphenation of "class-based views" in docs.
2015-08-18 19:07:10 -04:00
Anton Strogonoff
d35f184b20
Limited line length in docs/ref/contrib/messages.txt example.
2015-08-17 07:44:04 -04:00
Tim Graham
5b5a27942b
Fixed #25268 -- Tweaked wording in docs/ref/forms/api.txt
2015-08-14 08:27:38 -04:00
Adam Brenecki
52a190b657
Fixed #24988 -- Documented passing a dictionary of ValidationErrors to ValidationError
2015-08-13 14:17:02 -04:00
Sambhav Satija
d0bd533043
Fixed #25254 -- Added JsonResponse json_dumps_params parameter.
2015-08-12 10:39:07 -04:00