Aymeric Augustin
72c65fea41
Deprecated django.utils.dictconfig.
...
The module still exists for whoever uses it in its current state, but it
isn't imported by Django anywhere.
2013-07-01 22:50:58 +02:00
Aymeric Augustin
cfcf4b3605
Stopped using django.utils.unittest in the test suite.
...
Refs #20680 .
2013-07-01 14:29:33 +02:00
Aymeric Augustin
7f264e02f4
Fixed #20680 -- Deprecated django.utils.unittest.
...
Refs #19204 .
2013-07-01 14:29:33 +02:00
Baptiste Mispelon
88de53d4a8
Fixed #20659 -- Fixed PublisherDetail in CBV topic documentation.
...
Thanks to tudor.prodan, susan, and Tim Graham for the report and reviews.
2013-07-01 14:05:49 +02:00
Aymeric Augustin
a763915a03
Bumped minimum Python version requirement to 2.7 in Django 1.7.
2013-07-01 12:01:59 +02:00
Aymeric Augustin
3fd8eb1a27
Stopped branding Python 3 support as experimental.
...
Forward-port of 0de21a6
from stable/1.6.x.
2013-07-01 11:52:37 +02:00
Aymeric Augustin
8b8b2f2fc7
Updated FAQ on Python versions to explain 2 vs 3.
...
Required the latest version for each Python series to minimize
bookkeeping in the future.
Forward-port of c1d8f3b
from stable/1.6.x.
2013-07-01 11:49:56 +02:00
Tim Graham
3fd0ee5b46
Fixed #20677 - Typos in generic_inlineformset_factory docs.
...
Thanks Riley Strong for the report.
2013-06-29 14:14:32 -04:00
Aymeric Augustin
7415176507
Simplified description of HttpResponse(<iterator>)
...
Related to 8b9b8d3b
.
2013-06-29 18:56:00 +02:00
Claude Paroz
6118d6d1c9
More import removals
...
Following the series of commits removing deprecated features in
Django 1.7, here are some more unneeded imports removed and other
minor cleanups.
2013-06-29 11:58:36 +02:00
Florian Apolloner
adc6f38867
Fixed 1.6 release notes.
2013-06-29 10:50:04 +02:00
Ramiro Morales
24bbf1367a
Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5.
2013-06-28 23:16:28 -03:00
Ramiro Morales
7379d9acea
Removed insert(), value_for_insert() SortedDict methods deprecated in Django 1.5.
2013-06-28 22:38:13 -03:00
Ramiro Morales
8eadbc5a03
Removed 'mimetype' arguments from a few places, as per deprecation TL.
...
This includes HttpResponse and co. __init__() methods,
django.shortcuts.render_to_response() and the index(), sitemap() sitemap
app views.
2013-06-28 21:48:16 -03:00
Ramiro Morales
6ba69c8456
Removed 'depth' .select_related() argument as per deprecation TL.
2013-06-28 21:48:16 -03:00
Ramiro Morales
c196564132
Removed custom profile model functionality as per deprecation TL.
2013-06-28 21:48:16 -03:00
Ramiro Morales
f73d04dda9
Removed 'cleanup' management command as per deprecation TL.
2013-06-28 21:48:16 -03:00
Simon Charette
e1dd24d2f6
Added missing deprecation note for model permission methods.
...
refs #20642 .
2013-06-28 15:33:20 -04:00
Claude Paroz
8809da67a2
Updated FAQ to reflect official Python 3 support
2013-06-28 16:38:55 +02:00
Claude Paroz
94f420ef48
Updated FAQ entry about python 3
2013-06-28 16:27:07 +02:00
Jacob Kaplan-Moss
27cf7ec864
Master is now pre-1.7.
2013-06-28 08:56:45 -05:00
Baptiste Mispelon
5caced89e0
Fixed missing slash in reusable apps tutorial.
2013-06-28 09:43:14 +02:00
Shai Berger
d097417025
Support 'pyformat' style parameters in raw queries, Refs #10070
...
Add support for Oracle, fix an issue with the repr of RawQuerySet,
add tests and documentations. Also added a 'supports_paramstyle_pyformat'
database feature, True by default, False for SQLite.
Thanks Donald Stufft for review of documentation.
2013-06-28 06:59:10 +03:00
Aymeric Augustin
c1284c3d3c
Fixed #20571 -- Added an API to control connection.needs_rollback.
...
This is useful:
- to force a rollback on the exit of an atomic block without having to
raise and catch an exception;
- to prevent a rollback after handling an exception manually.
2013-06-27 22:19:54 +02:00
Ken Bolton
6fcb7ba842
Fix typo
2013-06-27 12:39:50 -04:00
Andrew Godwin
12cb0df10f
Docs for related_query_name
2013-06-27 15:44:22 +01:00
Claude Paroz
8db264cbc8
Fixed LOGGING setting docs
2013-06-27 16:29:26 +02:00
Andrew Godwin
e26b589b8c
Fixed #20590 : Documented new test case ordering
2013-06-27 14:02:00 +01:00
Baptiste Mispelon
5005303ae7
Fixed #20665 -- Missing backslash in sitemaps documentation
...
Thanks to roman for the report.
2013-06-27 09:42:09 +02:00
Trey Hunner
2ec54e7fbc
Add missing preposition in documentation
2013-06-26 10:25:34 -07:00
Tim Graham
1184d07789
Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.
...
uid is now base64 encoded in password reset URLs/views. A backwards compatible
password_reset_confirm view/URL will allow password reset links generated before
this change to continue to work. This view will be removed in Django 1.7.
Thanks jonash for the initial patch and claudep for the review.
2013-06-26 13:11:47 -04:00
Loic Bistuer
c6862d57c1
Fixed #20658 -- Fixed bad reST formatting and missing parentheses in the docs for CBV mixins
...
Thanks to Keryn Knight for the report.
2013-06-26 14:07:52 +02:00
Simon Charette
b91787910c
Fixed #20642 -- Deprecated `Option.get_(add|change|delete)_permission`.
...
Those methods were only used by `contrib.admin` internally and exclusively
related to `contrib.auth`. Since they were undocumented but used
in the wild the raised deprecation warning point to an also undocumented
alternative that lives in `contrib.auth`.
Also did some PEP8 and other cleanups in the affected modules.
2013-06-25 12:22:37 -04:00
Tim Graham
e10757ff4d
Doc cleanup for FormMixin.prefix; refs #18872 .
2013-06-25 07:50:43 -04:00
Daniel Izquierdo
9a2b07f1b4
Fixed #20654 -- Fixed type of `m2m_changed`'s `pk_set` arg in docs
2013-06-25 09:46:17 +02:00
Russell Keith-Magee
0346563939
Fixed #20653 -- Renamed checksetup management command.
...
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.
2013-06-25 09:37:54 +08:00
Tim Graham
e161e4ff11
Clarified get_list_or_404 docs, refs #14150 .
2013-06-24 07:00:53 -04:00
Baptiste Mispelon
299983616f
Fixed #20644 -- Add ModelFormMixin.fields to the CBV flattened index
...
Thanks to Tim Graham for the report and review.
2013-06-24 11:59:08 +02:00
Baptiste Mispelon
cd000dacc7
Fixed #20643 -- Fixed implementation of JSONResponseMixin in CBV docs
...
Thanks to Michal Sládek for the report and initial patch,
and to loic84 for the review.
2013-06-24 11:55:43 +02:00
Simon Meers
6466a0837b
Corrected minor typos in FileUploadHandler.receive_data_chunk docs.
2013-06-24 13:59:03 +10:00
SusanTan
b0907d66a5
Fixed #20524 - Described keywords in triaging contrib doc.
2013-06-23 15:41:24 -04:00
Baptiste Mispelon
bd9fbd1497
Fixed errors and inconsistencies in CBV topic documentation.
...
The code examples should now work correctly.
The `get_context_data` method in the examples was changed when
necessary to adopt a singular style (get context with super(...),
add the extra keys to the dict then return it).
Thanks to Remco Wendt for the initial report and to Tim Graham
for the review.
2013-06-23 00:18:23 +02:00
Simon Charette
ecf63d5d89
Added missing `versionadded` for `FormMixin.prefix`.
2013-06-22 16:49:24 -04:00
Gilberto Gonçalves
ef37b23050
Fixed #18872 -- Added prefix to FormMixin
...
Thanks @ibustama for the initial patch and dragonsnaker for opening the
report.
2013-06-22 12:12:43 +01:00
Tim Graham
9be93aa809
Fixed #20634 - Corrected doc mistake re: staticfiles finders strategy.
...
Thanks claudep for the catch and bmispelon for the research.
2013-06-21 14:57:12 -04:00
James Bennett
ba610cb319
Fixed #19881 -- Documented that get_next/previous_by_FOO uses default manager.
2013-06-21 13:14:05 -04:00
Baptiste Mispelon
b53ed5ac55
Fixed #20612 -- Fixed incorrect wording in CBV documentation
...
Thanks to ndokos for the report.
2013-06-21 17:50:43 +02:00
Tim Graham
7314007c5b
Fixed #19319 -- Updated example httpd.conf for Apache 2.4
...
Thanks colinnkeenan@ for the report.
2013-06-20 13:34:02 -04:00
Tim Graham
6ef199a08e
Fixed error in last commit. Thanks Simon Charette.
2013-06-20 10:41:29 -04:00
Harm Geerts
df4a74d709
Modified tutorial 3 to use RequestContext in place of Context.
2013-06-20 09:58:01 -04:00
Loic Bistuer
7462a78c1b
Fixed #20288 -- Fixed inconsistency in the naming of the popup GET parameter.
...
Thanks to Keryn Knight for the initial report and reviews,
and to tomask for the original patch.
2013-06-19 22:16:16 +02:00
Baptiste Mispelon
b0b506b933
Fixed broken reference in documentation.
2013-06-19 10:37:24 +02:00
Loic Bistuer
c86a9b6398
Fixed #6903 - Preserve admin changelist filters after saving or deleting an object
2013-06-19 02:41:36 +07:00
Erik Romijn
2c4fe761a0
Fixed #20593 -- Allow blank passwords in check_password() and set_password()
2013-06-18 13:32:54 -04:00
Loic Bistuer
ee77d4b253
Fixed #20199 -- Allow ModelForm fields to override error_messages from model fields
2013-06-18 08:01:17 -04:00
Baptiste Mispelon
b6f86fbeb1
Added myself to the commiters list.
2013-06-17 12:30:41 +02:00
Baptiste Darthenay
39b245fd76
Fixed #20614 -- Typo in documentation.
2013-06-17 11:35:07 +02:00
Baptiste Mispelon
1b7634a0d0
Fixed #20464 -- Added a `total_error_count` method on formsets.
...
Thanks to frog32 for the report and to Tim Graham for the review.
2013-06-16 15:49:30 -04:00
Daniel Lindsley
b3532f7df9
Adjusted the docs to reflect when the checksetup command was added.
2013-06-15 10:14:48 -07:00
Claude Paroz
bf9975b0eb
Fixed #20606 -- Fixed 'for' example in template tag docs
...
Thanks batisteo for the report.
2013-06-15 12:02:25 +02:00
Tim Graham
a1122e14a6
Fixed #20604 - Fixed file example in docs.
...
Thanks Chris Lasher for the report.
2013-06-14 21:28:17 -04:00
Daniel Lindsley
2a6a32047d
Added missing docs for the checksetup command.
2013-06-14 16:02:45 -07:00
Marc Tamlyn
f656757888
Merge pull request #1271 from batisteo/ticket-20565
...
Fixed #20565 -- Added template examples for GCBV.
2013-06-14 07:40:00 -07:00
Baptiste Darthenay
81545940c6
Fixed #20565 -- Added template examples for GCBV.
...
Thanks to David Reitter for the report,
and to Marc Tamlyn and Baptiste Mispelon for the review.
2013-06-14 16:31:11 +02:00
Marc Tamlyn
b7bd7087e6
Fixed #15273 -- Extend RedirectView to allow reversal by name.
...
Thanks to @DrMeers for the report and @ludwigkraatz for the initial patch.
2013-06-14 11:59:26 +01:00
Daniel Lindsley
91f317c76d
Added a ``checksetup`` management command for verifying Django compatibility.
2013-06-13 18:39:02 -07:00
Tim Graham
70d7e45eb0
Added release notes for auth views being reversed by name, not by path.
...
Refs #20532
2013-06-13 16:08:56 -04:00
Loic Bistuer
9e50833e22
Fixed #20000 -- Allowed ModelForm meta overrides for label, help_text and error_messages
2013-06-13 15:06:25 -04:00
Danilo Bargen
cd7d7452bc
Fixed order of base classes in CBV mixin docs
2013-06-13 14:59:13 +02:00
Jaap Roes
3ce1d303da
Warned that `request_finished` isn't sent by some buggy setups.
...
Older versions of uWSGI and Sentry's middleware do not adhere to
the WSGI spec and cause the `request_finished` signal to never
fire. Added notes to the appropriate places in the docs.
Fixed #20537 .
2013-06-12 20:52:08 +02:00
Aymeric Augustin
55cbd65985
Fixed #20579 -- Improved TransactionTestCase.available_apps.
...
Also moved its documentation to the 'advanced' section. It doesn't
belong to the 'overview'. Same for TransactionTestCase.reset_sequences.
When available_apps is set, after a TransactionTestCase, the database
is now totally empty. post_syncdb is fired at the beginning of the next
TransactionTestCase.
Refs #20483 .
2013-06-12 20:01:41 +02:00
Tim Graham
0938970491
Merge pull request #1259 from Wilfred/master
...
Simplified a formset example in the docs
2013-06-12 10:15:24 -07:00
Baptiste Darthenay
8821bcb2a0
Fixed #20591 : added version in docs for utils.module_loading.import_by_path.
2013-06-12 10:50:37 +02:00
Tim Graham
536703abf0
Fixed #20500 - Updated flatpages URLconf example to work with APPEND_SLASH.
...
Thanks josh.23.french@.
2013-06-11 12:25:39 -04:00
Wilfred Hughes
b79aa796d8
FormSet.forms is an iterable, so just iterate over it
2013-06-11 16:05:19 +01:00
Tim Graham
9ff5f100dd
Fixed #20578 - Typo in BaseFormSet module name
2013-06-10 14:36:40 -04:00
Gabe Jackson
584bd14dcf
Fixed #18134 -- BoundField.label_tag now includes the form's label_suffix
...
There was an inconsistency between how the label_tag for forms were
generated depending on which method was used: as_p, as_ul and as_table
contained code to append the label_suffix where as label_tag called on a
form field directly did NOT append the label_suffix. The code for
appending the label_suffix has been moved in to the label_tag code of
the field and the HTML generation code for as_p, as_ul and as_table now
calls this code as well.
This is a backwards incompatible change because users who have added the
label_suffix manually in their templates may now get double label_suffix
characters in their forms.
2013-06-10 14:23:15 -04:00
Tim Graham
a643e4d200
Merge pull request #1255 from camilonova/patch-2
...
Made URL patterns consistent in docs/ref/contrib/flatpages.txt
2013-06-10 06:47:15 -07:00
Aymeric Augustin
4daf570b98
Added TransactionTestCase.available_apps.
...
This can be used to make Django's test suite significantly faster by
reducing the number of models for which content types and permissions
must be created and tables must be flushed in each non-transactional
test.
It's documented for Django contributors and committers but it's branded
as a private API to preserve our freedom to change it in the future.
Most of the credit goes to Anssi. He got the idea and did the research.
Fixed #20483 .
2013-06-10 11:24:10 +02:00
Tim Graham
4e94c84e50
Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTS
2013-06-09 15:05:15 -04:00
Tim Graham
175a102ddc
Fixed #20567 - Documented BoundField.id_for_label.
...
Thanks littlepig for the suggestion.
2013-06-09 12:13:43 -04:00
Kenny Rachuonyo
4bd6e5e895
Update media.txt
...
Fixed typo: froms -> forms
2013-06-09 08:23:48 +03:00
Camilo Nova
706eced9bb
Update flatpages.txt
...
Fixed typo
2013-06-08 10:45:39 -05:00
Claude Paroz
6a092f24e0
Allow build of translated documentation
2013-06-08 16:13:51 +02:00
russkel
f80b1063e4
Update submitting-patches.txt
...
Few quick fixes to the terminology in order to match what is used on the Django Trac at the moment.
2013-06-08 14:53:27 +09:00
Jacob Kaplan-Moss
357d62d9f2
Explained that timezone.now() always returns times in UTC.
...
The docs were ambiguous about the time zone for now(), leading people to
assume that it would be the current time zone rather that UTC.
2013-06-06 11:05:33 -05:00
Marc Tamlyn
9ed971f4f1
Merge pull request #1245 from oinopion/list_select_related
...
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-06 01:27:05 -07:00
Tomek Paczkowski
0fd9f7c95f
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-05 23:08:00 +02:00
Tim Graham
bb863faecd
Proofed the 1.6 release notes
2013-06-05 12:55:58 -04:00
Tim Graham
a35ed20241
Fixed #18924 -- Made test.Client.logout send user_logged_out signal.
...
Thanks awsum for the suggestion and Pavel Ponomarev and
Florian Hahn for the patch.
2013-06-04 12:39:09 -04:00
James Aylett
5448555785
Fixed #17601 -- expose underlying db exceptions under py2
...
Use __cause__ to expose the underlying database exceptions even
under python 2.
2013-06-04 12:46:10 +01:00
Tim Graham
c36b75c814
Fixed #20545 - Made class-based view MRO lists consistent.
...
Thanks wim@ for the suggestion.
2013-06-03 10:06:48 -04:00
Russell Keith-Magee
164c67c831
Fixed #20552 -- Corrected release notes reference to name of new test discovery runner.
2013-06-03 15:59:20 +08:00
Tim Graham
61524b09cf
Fixed #18388 - Added InlineModelAdmin.get_max_num hook.
...
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work
on the patch.
2013-06-01 18:20:54 -04:00
Tim Graham
f315693304
Fixed #20543 - Typo in db model fields docs.
...
Thanks i.amber.jain@ for the report.
2013-06-01 05:48:38 -04:00
Anssi Kääriäinen
369b6fab25
Fixed #18169 -- NoReverseMatch not silenced if from block.super
2013-06-01 00:59:04 +03:00
Tim Graham
f10e9af227
Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.
...
Thanks czambran.
2013-05-31 08:18:29 -04:00
Tim Graham
646a2216e9
Fixed #20326 - Corrected form wizard get_form() example.
...
Thanks tris@ for the report.
2013-05-31 08:07:40 -04:00
Tim Graham
f513764e72
Fixed #20515 - Clarified note regarding translator comments.
...
Thanks wim@ for the suggestion.
2013-05-31 07:43:05 -04:00
Claude Paroz
7882c3a673
Fixed #20511 -- Corrected link about isolation levels in databases docs
...
Thanks tinodb for the report.
2013-05-31 10:17:34 +02:00