Paulo Poiati
b643386668
Fixed #24855 -- Allowed using contrib.auth.login() without credentials.
...
Added an optional `backend` argument to login().
2016-01-07 08:56:07 -05:00
Simon Charette
7bb373e309
Refs #25746 -- Added a test utility to isolate inlined model registration.
...
Thanks to Tim for the review.
2016-01-06 20:00:07 -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
Claude Paroz
632a9f21bc
Fixed #26046 -- Fixed a crash with translations and Django-unknown language code
...
Thanks Jens Lundstrom for the report and Tim Graham for the review.
2016-01-06 20:30:56 +01:00
Scott Pashley
7cc2efc2d6
Fixed #26035 -- Prevented user-tools from appearing on admin logout page.
2016-01-06 13:48:02 -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
1e57dccb31
Added stub release notes for 1.8.9.
2016-01-05 13:19:20 -05:00
Tim Graham
49eeb0f570
Fixed #25878 -- Documented requirement that handler404 return a 404 response.
2016-01-05 11:23:13 -05:00
Denis Cornehl
186b6c61bf
Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.
...
Thanks Denis Cornehl for help with the patch.
2016-01-05 09:37:11 -05:00
Andrew Kuchev
d5b90c8e12
Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception.
...
Thanks to mpasternak for the report and Tim Graham for the review.
2016-01-04 19:39:35 -05:00
Tim Graham
b07f91600d
Fixed #26032 -- Moved "project root directory" to a separate paragraph.
2016-01-04 10:52:20 -05:00
Jarek Glowacki
d8b651a544
Added missing step to transitioning squashed migrations.
2016-01-04 10:35:45 -05:00
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