Jon Dufresne
fcd08c1757
Fixed #11665 -- Made TestCase check deferrable constraints after each test.
2016-02-13 06:53:39 -05:00
Camilo Nova
a6f856df52
Added import in docs/topics/email.txt example.
2016-02-12 13:44:38 -05:00
Mounir Messelmeni
50931dfa53
Fixed #25304 -- Allowed management commands to check if migrations are applied.
2016-02-12 13:34:56 -05:00
Tim Graham
004ba0f99e
Removed unneeded hint=None/obj=None in system check messages.
2016-02-12 13:01:25 -05:00
Markus Holtermann
228427ab1a
Fixed allow_migrate() signature in documentation
2016-02-12 14:16:03 +11:00
Johannes Linke
02430ef19d
Fixed #26111 -- Clarified that fixtures are loaded once per TestCase.
2016-02-11 18:45:40 -05:00
Becka R
cf48962b36
Clarified "database column type" explanation.
2016-02-11 18:26:46 -05:00
Anssi Kääriäinen
46ecfb9b3a
Fixed #26196 -- Made sure __in lookups use to_field as default.
...
Thanks Simon Charette for the test.
2016-02-11 11:09:08 -05:00
ZachLiuGIS
04e13c8913
Fixed #26179 -- Removed null assignment check for non-nullable foreign key fields.
2016-02-11 10:07:39 -05:00
Anssi Kääriäinen
353aecbf8c
Fixed #26153 -- Reallowed Q-objects in ForeignObject.get_extra_descriptor_filter().
2016-02-11 08:59:43 -05:00
Tim Graham
1d86d4c72b
Updated instructions for gettext on Windows.
2016-02-11 08:45:55 -05:00
Tim Graham
f2b45ddd99
Fixed #26206 -- Fixed docs comments causing empty code blocks.
2016-02-11 07:58:15 -05:00
Curtis Maloney
6f1318734f
Fixed #26014 -- Added WSGIRequest content_type and content_params attributes.
...
Parsed the CONTENT_TYPE header once and recorded it on the request.
2016-02-10 18:19:23 -05:00
Brobin
dca8b916ff
Fixed #26154 -- Deprecated CommaSeparatedIntegerField
2016-02-10 17:57:43 -05:00
Shai Berger
bb51dc902d
Refs #26112 -- Fixed aggregate GIS test on Oracle.
...
Made sure the test doesn't try to aggregate over MultiPolygonField and made
AreaField turn decimals into floats on the way from the DB.
Thanks Daniel Wiesmann, Jani Tiainen, and Tim Graham for review and discussion.
2016-02-09 10:04:54 -05:00
userimack
75143fa13f
Fixed #26182 -- Removed an obsolete (refs #24917 ) paragraph in admindocs.
2016-02-09 09:49:12 -05:00
userimack
7a7b82e6f4
Fixed #26181 -- Corrected AngularJS CSRF example.
2016-02-09 09:22:23 -05:00
Simon Charette
a325fb1f9b
Fixed #26162 -- Checked query name clashes of hidden relationships.
...
Although reverse accessor clashes should be skipped query name can't be hidden.
Thanks to Ian Foote and Tim Graham for the review.
2016-02-08 09:59:27 -05:00
Tim Graham
10a162809f
Refs #24007 -- Removed an apps.populate() call in model unpickling that can cause deadlocks.
2016-02-08 08:28:48 -05:00
Tim Graham
97eb3356b2
Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False.
2016-02-08 07:21:54 -05:00
Shai Berger
28f60ef3b8
Fixed title formatting in backwards-incompat section of 1.10 release notes
2016-02-06 21:10:36 +02:00
Tim Graham
d6337e65ed
Added stub release notes for 1.8.10.
2016-02-06 09:24:20 -05:00
Sergey Fedoseev
f8e865d78f
Fixed spelling -- super set -> superset.
2016-02-06 09:58:50 +05:00
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
Yoong Kang Lim
0edb8a146f
Fixed #26144 -- Warned when dumping proxy model without concrete parent.
2016-02-04 19:40:12 -05:00
Simon Charette
6eb3ce11e4
Fixed #26089 -- Removed custom user test models from public API.
...
Thanks to Tim Graham for the review.
2016-02-04 12:30:34 -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
Manish Rastogi
ad216381fc
Fixed #26169 -- Fixed tutorial reference in reusable apps tutorial.
2016-02-04 07:39:12 -05:00
Carl Meyer
a0ce4c09ff
Fix typos in 1.8 release notes.
2016-02-03 13:05:35 -07: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
jpic
926e90132d
Fixed #25731 -- Removed unused choices kwarg for Select.render()
2016-02-02 18:03:19 -05:00
rynomster
468d8211df
Fixed #23971 -- Added "Has date"/"No date" choices for DateFieldListFilter.
2016-02-02 12:04:14 -05:00
Tim Graham
67907ed845
Made identation of default setting docs more consistenct.
2016-02-02 11:40:28 -05:00
Tim Graham
1e9150443e
Refs #26089 -- Removed obsolete docs about custom user model testing.
2016-02-02 08:12:08 -05:00
Ramon Moraes
3b759661a8
Updated xhtml2pdf name/URL in docs.
2016-02-02 07:36:38 -05:00
KimberleyLawrence
ca4afc77db
Clarified "same as above" tutorial comment.
2016-02-01 16:37:59 -05:00
Buddy Lindsey, Jr
731bdfe68a
Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.
2016-02-01 13:51:38 -05:00
Harry
0fb1185538
Fixed #26152 -- Documented how to avoid django.setup() deadlock in standalone scripts.
2016-02-01 13:40:53 -05:00
Tim Graham
ecd502cfdb
Added CVE-2016-2048 to the security archive.
2016-02-01 12:42:37 -05:00
Tim Graham
59654d5efe
Added stub release notes for 1.9.3.
2016-02-01 12:39:18 -05:00
Tim Graham
11fae7c9e4
Added release dates for 1.9.2 and 1.8.9.
2016-02-01 12:02:16 -05:00
Myk Willis
62f3acc70a
Fixed incorrect permissions check for admin's "Save as new".
...
This is a security fix.
2016-02-01 11:57:00 -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
Hugo Osvaldo Barrera
8bf8d0e0ec
Fixed #7923 -- Added links to objects displayed by ModelAdmin.raw_id_fields.
2016-02-01 07:36:10 -05:00
Yoong Kang Lim
9644e2e968
Fixed #26156 -- Added createsuperuser instructions to admin docs.
2016-01-30 12:32:24 -05:00
Tim Graham
9a5c94588e
Added a missing session setting in docs.
2016-01-29 15:04:49 -05:00
Tim Graham
2436b83dfd
Made formatting of docs for settings defaults more consistent.
2016-01-29 15:03:40 -05:00
Greg Chapple
8dea9f089d
Fixed #26120 -- Made HStoreField cast keys and values to strings.
...
HStoreField now converts all keys and values to string before they're
saved to the database.
2016-01-29 09:51:23 -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
Tim Graham
04564eb74d
Fixed #26129 -- Made invalid forms display initial values of disabled fields.
2016-01-28 18:43:48 -05:00
Markus Holtermann
4b0118465b
Fixed #26150 -- Sorted app_labels in migrate command output
2016-01-29 10:26:04 +11:00
Tim Graham
19d1cb1451
Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript.
2016-01-28 17:46:55 -05: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
Idan Gazit
a6d463b096
Idan -> core alumni
...
I'm always around for a consult or a discussion but I haven't been an active contributor in a long time.
Still <3 everyone in this project and python at large.
2016-01-28 11:25:56 +02:00
Claude Paroz
54236a2c1c
Fixed #26138 -- Ensured geometry_field's geometry is always serialized
...
Thanks Bernd Schlapsi for the report.
2016-01-28 08:50:38 +01:00
Yoong Kang Lim
31817dd2eb
Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example.
2016-01-27 08:58:12 -05:00
Tim Graham
8e6a08e937
Refs #26142 -- Documented that Formset's extra=0 doesn't prevent creating objects.
2016-01-26 19:12:01 -05:00
Ben Kraft
13023ba867
Fixed #26122 -- Fixed copying a LazyObject
...
Shallow copying of `django.utils.functional.LazyObject` or its subclasses has
been broken in a couple of different ways in the past, most recently due to
35355a4
.
2016-01-26 06:56:21 -05:00
Preston Timmons
cfda1fa3f8
Fixed #25848 -- Set template origin on each node.
...
Prior to 55f12f8709
, the template origin was available on each node via
`self.token.source[0]`. This behavior was removed when debug handling was
simplified, but 3rd-party debugging tools still depend on its presence.
This updates the Parser to set origin on individual nodes. This enables the
source template to be determined even when template extending or including is
used.
2016-01-26 06:23:27 -05:00
Simon Charette
4dcaa5871b
Fixed #26135 -- Adjusted the migration questioner's handling of disabled apps.
...
This was causing an issue when calling the `migrate` command in a test case with
the `available_apps` attribute pointing to an application with migrations
disabled using the `MIGRATION_MODULES` setting.
Thanks to Tim Graham for the review.
Refs #24919
2016-01-25 21:38:36 -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
Tim Graham
9c43d8252a
Fixed Sphinx highlight warnings in docs.
2016-01-25 11:57:14 -05:00
Tim Graham
5e8685c1b1
Refs #26034 -- Added another case fixed by this ticket to release notes.
2016-01-25 08:35:58 -05:00
Tim Graham
497b5d6fee
Refs #26034 -- Added another case fixed by this ticket to release notes.
...
Thanks Shai Berger for the report.
2016-01-25 08:33:02 -05:00
Tim Graham
b0b45f9a83
Fixed #26132 -- Discouraged use of TransactionTestCase.fixtures.
2016-01-25 06:51:39 -05:00
Tim Graham
2d36c7d515
Added Django version trove classifier to reusable apps tutorial.
2016-01-24 08:35:47 -05:00
Tim Graham
145e9ca301
Updated Python trove classifiers in reusable apps tutorial.
2016-01-23 17:40:41 -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
Tim Graham
817b75c54d
Added 'Sitarska' to spelling_wordlist.
2016-01-23 07:12:27 -05:00
Ola Sendecka
e72a495031
After almost a year I am finally adding myself :)!
2016-01-23 11:43:39 +00: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
Alexander Gaevsky
9a33d3d764
Fixed #26060 -- Fixed crash with reverse OneToOneField in ModelAdmin.readonly_fields.
2016-01-21 13:21:28 -05:00
Aymeric Augustin
f91b5a7e4b
Fixed #26063 -- Crash when passing > 2000 params.
...
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time
to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does
by setting the former to 250000, Django raised an exception on queries
containing more than 2000 parameters when DEBUG = True.
2016-01-21 10:47:15 +01:00
Anssi Kääriäinen
ee596888e1
Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M through model.
2016-01-20 19:13:05 -05:00
chemary
2d28144c95
Fixed #26094 -- Fixed CSRF behind a proxy (settings.USE_X_FORWARDED_PORT=True).
2016-01-20 18:19:24 -05:00
Tim Graham
073dd4ce79
Refs #26096 -- Forwardported 1.9.2 release note.
2016-01-19 07:35:48 -05:00
auvipy
5c048f95cc
Fixed typo in docs/index.txt.
2016-01-18 10:01:23 -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
Simon Charette
fd1c5bb041
Fixed a typo in the 1.9.2 release notes.
2016-01-14 17:46:48 -05:00
Tim Graham
5b94b17fef
Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by default.
2016-01-14 09:05:43 -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
8d5d472c6d
Removed unused docs/_ext/applyxrefs.py
2016-01-13 11:49:42 -05:00
Tim Graham
03306a187e
Declared Sphinx extensions safe for parallel reading.
2016-01-13 11:33:25 -05:00
Alberto Avila
cca151d196
Refs #26071 -- Added test for __in lookup in a Case expression.
...
Forwardport of 5b3c66d8b6
from stable/1.8.x
2016-01-13 08:56:36 -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
Tim Graham
294d0d8815
Fixed #26048 -- Made admin selenium tests use implicitly_wait()
2016-01-11 14:16:17 -05:00
Simon Charette
bc7d201bdb
Fixed #25858 -- Bound abstract model application relative relationships.
...
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input
and Tim for the review.
2016-01-11 12:23:23 -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
bmsleight
8715205c5c
Fixed a typo in a modelforms docs example.
2016-01-09 13:00:59 -05:00
anabelensc
4c1fab0f29
Added a missing bracket in a queries docs example.
2016-01-09 12:17:21 -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
Tim Graham
56aaae58a7
Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on Char/TextField with unique=True and db_index=True.
...
Thanks Simon Charette for review.
2016-01-08 12:47:05 -05:00
Alexander Gaevsky
ade54ffa34
Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.
...
Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x
(refs #25997 ).
2016-01-08 12:28:32 -05:00
Tim Graham
db8f462494
Fixed #26055 -- Removed an orphaned phrase in docs/howto/deployment/wsgi/modwsgi.txt.
2016-01-08 09:36:58 -05:00
wingston sharon
7f218d9891
Fixed #25928 -- Clarified precendence of USE_THOUSAND_SEPARATOR and locale formats.
2016-01-07 14:32:18 -05:00
Alasdair Nicol
6ea7b6776c
Refs #24855 -- fixed typo in 1.10 release notes
2016-01-07 11:38:47 -05:00
Alexander Gaevsky
44930cc466
Fixed #24980 -- Fixed day determination in admin calendar widget.
2016-01-07 11:13:05 -05:00
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
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