James Bennett
6a298b220a
Update my location and current status in Django team docs.
2016-01-03 11:59:41 -06:00
Aymeric Augustin
91bf44afb3
Removed $PREVIOUS_EMPLOYER from my bio.
2016-01-03 16:12:45 +01:00
Mahendra Yadav
e8c34bb832
Added a missing import in tutorial 3.
2016-01-02 09:39:25 -05:00
Tim Graham
3432f5d659
Added stub release notes for 1.9.2.
2016-01-02 09:06:26 -05:00
Tim Graham
24c1713e2e
Added release date for 1.9.1/1.8.8 releases.
2016-01-02 08:35:54 -05:00
varunnaganathan
3eba9638ee
Fixed #25316 -- Fixed a crash with order_by() and values() after annotate().
2016-01-02 07:06:54 -05:00
Tim Graham
f0ad641628
Fixed #26016 -- Restored contrib.auth hashers compatibility with py-bcrypt.
...
Reverted "Explicitly passed rounds as rounds to bcrypt.gensalt()"
This reverts commit 23529fb195
.
2016-01-02 06:54:13 -05:00
Tim Graham
98839e9066
Removed British/Austrialian word: whilist.
2015-12-31 14:29:52 -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
df3d5b1d73
Fixed #26003 -- Added "how the documentation is organized" sections.
...
Thanks Daniele Procida for coauthoring.
2015-12-31 11:35:00 -05:00
Anssi Kääriäinen
ee9f4686b1
Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures.
...
Django's test suite often tries to load fixture files from apps that have
no fixtures at all. This creates a lot of unnecessary disabling and
enabling of constraints which can be expensive on some database.
To speed this up, loaddata now first checks if any fixture file matches.
If no fixture file is matched, then the command exits before disabling
and enabling of constraints is done.
The main benefit of this change is seen on MSSQL, where tests on
Django 1.8 run hours faster.
2015-12-31 09:00:44 -05:00
Marten Kenbeek
6687f4dcbb
Refs #21927 -- Added note about include() to tutorial.
2015-12-31 08:17:19 -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
Chris Cogdon
e429c5186c
Fixed #26018 -- Prevented unecessary get_form() call in FormMixin.get_context_data().
...
Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not
be called unnecessarily, specifically in the case where FormMixin.form_invalid()
calls get_context_data() with the current form.
2015-12-30 17:29:39 -05:00
Chris Cogdon
4b2dcfe04f
Fixed #26006 -- Fixed incorrect object reference in SingleObjectMixin.get_context_object_name().
2015-12-30 09:56:45 -05:00
Alexander Gaevsky
69208a5a1c
Fixed #25465 -- Restored line breaks conversion in admin readonly fields.
2015-12-29 19:31:43 -05:00
Tim Graham
dbb0df2a0e
Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make request a positional argument.
2015-12-29 12:49:14 -05:00
Nick Sandford
ff19df9c2d
Fixed #19536 -- Included object-tools when ModelAdmin.has_add_permission() is False.
2015-12-29 12:10:44 -05:00
za
d9e150b311
Fixed #25104 -- Added httpd.conf hyperlink to modwsgi doc.
2015-12-29 11:00:03 -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
Varun Sharma
483e0091e3
Fixed #25959 -- Updated logging example to use the django logger.
2015-12-24 10:07: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
Tomo Otsuka
8b6974a685
Fixed #25972 -- Restored support for the isnull lookup with ForeignObject.
2015-12-24 07:33:55 -05:00
Tim Graham
91cd4d8e8c
Removed an extra header in docs/ref/templates/api.txt.
2015-12-23 19:05:09 -05:00
Alasdair Nicol
28d05a4c19
Refs #25963 -- Fixed typo in docs/topics/http/shortcuts.txt
2015-12-23 18:35:29 -05:00
Alasdair Nicol
32c7d93e5f
Fixed #25854 -- Removed deprecated usage of template.render() with RequestContext in docs.
2015-12-23 18:30:35 -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
Tim Graham
77f50c9cfc
Fixed #25948 -- Added guidelines for SimpleTestCase.assertRaisesMessage() usage.
2015-12-23 07:29:06 -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
Mads Jensen
394e59099c
Fixed #25936 -- Added showmigrations to migrations topic guide.
2015-12-22 13:16:14 -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
Tim Graham
b10f66831b
Fixed #25958 -- Removed support for 'skip_validation' in BaseCommand.execute(**options).
2015-12-21 14:26:42 -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
f18b08748a
Fixed #25903 -- Fixed the admin's list_editable add/change buttons.
2015-12-21 09:29:57 -05:00
Alex Gaynor
d7580e286a
Removed a misleading comment about HTTPS.
...
For all practical purposes, there are no common cases for which a
website cannot be deployed with HTTPS.
2015-12-21 06:47:11 -05:00
Tim Graham
fa9ce4e9a6
Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables.
2015-12-19 13:37:24 -05:00
Tim Graham
b26d147259
Fixed #25949 -- Documented Psycopg2 version requirement for JSONField.
2015-12-19 07:24:59 -05:00
Tim Graham
7a59910c37
Refs #25510 -- Forwardport of 1.9.1 release note.
2015-12-18 19:14:30 -05:00
Sergey Fedoseev
c984e2bc15
Fixed #25869 -- Added trim and precision properties to WKTWriter.
2015-12-18 19:44:43 +01:00
Claude Paroz
cd3c042b04
Fixed #25915 -- Allowed language not in Django's default LANGUAGES
...
This fixes a regression introduced by a5f6cbce07
.
Thanks Gavin Wahl for the report and Tim Graham for the review.
2015-12-18 17:50:16 +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
Sven Grunewaldt
9af40f5df1
Fixed #25845 -- Fixed incorrect timezone warnings in custom admin templates.
2015-12-17 14:35:13 -05:00
Claude Paroz
d91cc25a2a
Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable field
...
This fixes a regression introduced by 871440361
.
2015-12-17 15:38:19 +01:00
Garrison Benson
2ec23a3d41
Refs #13110 -- Fixed typo in Feed class reference.
2015-12-17 09:09:09 -05:00
Simon Charette
c4e372aaf4
Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.
...
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus
for the review.
2015-12-15 12:22:59 -05:00
Tim Graham
3d2236773b
Refs #10060 -- Corrected description of multiple annotations bug.
2015-12-15 07:59:37 -05:00
Sergey Fedoseev
69b69f6d60
Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values().
2015-12-15 07:29:35 -05:00
Ed Bartosh
423b3afce4
Fixed #25939 -- Removed redundant transaction in QuerySet.update_or_create().
...
There is no need to wrap the save() call in transaction.atomic() as
it's already done down the call stack in Model.save_base().
2015-12-14 19:41:11 -05:00
Sergey Fedoseev
5146e2cf98
Fixed #25662 -- Allowed creation of empty GEOS geometries.
2015-12-14 13:29:38 -05:00
Simon Charette
8035cee922
Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL.
...
Thanks to Trac aliases gerricom for the report, raphaelmerx for the
attempts to reproduce and Sergey Fedoseev and Tim for the review.
Refs #16891
2015-12-14 13:12:36 -05:00
Johannes Hoppe
5233b70070
Fixed #25725 -- Made HttpReponse immediately close objects.
2015-12-14 12:46:48 -05:00
Tim Graham
4cd24bb67c
Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.
2015-12-14 08:56:30 -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
Sergey Fedoseev
f7889b83b0
Fixed #25924 -- Removed gis.utils.srs.add_postgis_srs() backwards-compatibility alias.
2015-12-12 10:49:04 -05:00
Tim Graham
10427646b8
Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp.
2015-12-12 09:34:01 -05:00
Tim Graham
030ee15850
Refs #25918 -- Fixed typo in 1.10 release notes.
2015-12-11 12:54:04 -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
Bruno Alla
ffcdb0b471
Fixed #25893 -- Corrected custom lookups example.
2015-12-11 08:44:17 -05:00
Tim Graham
738bda8a6f
Refs #25899 -- Improved visibility of TEST database settings in testing docs.
2015-12-11 08:05:24 -05:00
Sergey Fedoseev
8ab58b8052
Fixed #25883 -- Fixed admin deletion page summary counts for related objects.
2015-12-10 18:09:03 -05:00
Dotan Agmon
a44dc200d0
Fixed incorrect examples in ArrayField docs.
2015-12-10 17:48:38 -05:00
Federico Frenguelli
3a36c80795
Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using AlterField.
...
Thanks to Emanuele Palazzetti for the help.
2015-12-10 16:12:51 -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
Derek J. Curtis
6be9589eb3
Fixed #25900 -- Fixed regression in CommonMiddleware ETag support.
2015-12-10 13:51:07 -05:00
Damien
071af82539
Refs #25099 -- Added removal of build_request_repr() to 1.9 release notes.
2015-12-10 11:45:28 -05:00
Amos Onn
542b7f6c50
Fixed #25896 -- Fixed state bug in SeparateDatabaseAndState.database_backwards().
2015-12-09 11:06:57 -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
bphillips
d508326e2f
Fixed #25672 -- Clarified why related ManyToManyFields with a custom intermediate model disable the remove() method.
2015-12-08 18:00:10 -05:00
Gavin Wahl
ec708803f7
Fixed user_passes_test() signature in docs.
2015-12-08 15:56:10 -05:00
Raphael Michel
82976e5c3f
Fixed #25637 -- Added URLValidator hostname length validation.
...
URLValidator now validates the maximum length of a hostname and the
maximum length of all labels inside the hostname.
2015-12-08 15:46:45 -05:00
Tim Graham
166e0490d3
Fixed #25895 -- Used a consistent style for UserAdmin overrides.
...
Thanks Justin Abrahms for the report.
2015-12-08 14:40:55 -05:00
Tim Graham
26c26e8308
Refs #25886 -- Improved language in Python compatibility section of the release notes.
2015-12-08 13:01:25 -05:00
Tim Graham
e6bd688ef3
Fixed #25881 -- Marked Python 3.2 in Django 1.8 as unsupported at the end of 2016.
2015-12-08 10:55:49 -05:00
Qile Wang
0f2c2c104b
Clarified a docstring in tutorial05.
2015-12-07 18:52:25 -05:00
Tim Graham
a5619f7ed3
Fixed #25860 -- Documented a transaction leak possiblity in TestCase.
...
Thanks Jonas Haag for report and review.
2015-12-07 18:14:23 -05:00
Simon Charette
59b57e672c
Fixed #25867 -- Fixed a system check crash with nested ArrayFields.
...
Thanks to Jean Gourds for the report, Tim and Claude for the review.
2015-12-07 14:45:22 -05:00
Tim Graham
9c835990ea
Added "Regressions from older versions of Django" as a backport qualification.
2015-12-07 10:21:33 -05:00
Tim Graham
285b08abc1
Refs #25548 -- Forwardported 1.9.1 release note.
2015-12-07 08:17:01 -05:00
Tim Graham
f5af68ba68
Refs #25584 -- Corrected note about source of SyntaxErrors when installing Django 1.9.
2015-12-05 16:32:56 -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
Florian Apolloner
105028eec6
Removed deprecated usage of url tag from auth docs.
2015-12-05 19:21:30 +01:00
Sergey Fedoseev
479ba5add2
Fixed #25740 -- Documented GEOSGeometry operators.
2015-12-04 12:37:33 -05:00
Emre Yilmaz
8e838d9c86
Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend.
...
This also fixes a possible data eviction race condition between
setting and getting a key. Another thread could remove the key
before get_and_set() accesses it again. In this case, now the
default value will be returned instead of None.
2015-12-04 12:22:17 -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
Alasdair Nicol
b6dd0afead
Fixed #25851 -- Removed links to deprecated assignment tag docs.
2015-12-03 10:40:56 -05:00
Sergey Fedoseev
0825f77f76
Fixed #25836 -- Added support for MakeLine aggregate on SpatiaLite.
2015-12-02 17:25:33 -05:00