Raphael Jasjukaitis
455e2896b1
Fixed #21499 -- Added a paragraph to the docs.
2013-11-24 15:26:45 +01:00
Thomas Orozco
957d22b850
Add missing commas in Prefetch docs
2013-11-23 23:48:34 +01:00
Claude Paroz
42fef29446
Fixed #21486 -- Prevented settings config in signal connection
...
This was particularly problematic in the chain get_wsgi_application
-> db.connections import -> signal connection -> settings configuration.
Thanks Jon Dufresne for the report.
2013-11-23 18:47:47 +01:00
Florian Apolloner
e112654fc8
Fixed #21200 -- Consistantly raise errors across all cache backends.
...
Thanks to tchaumeny for the patch.
2013-11-23 17:50:28 +01:00
Ramiro Morales
62b393c5ae
Fixed #21488 -- Multiple locales treatment in i18n commands.
...
Removed multiple locales separated by commas variation (that wasn't
working as documented) in favor of simply allowing use of the
``--locale``/``-l`` options more than once for ``makemessages`` and
``compilemessages``.
Thanks Romain Beylerian for the report and Claude, Simon for their help.
8750296918
from stable/1.6.x.
2013-11-23 11:53:47 -03:00
Curtis Maloney
ffc37e2343
Fixed #21012 -- New API to access cache backends.
...
Thanks Curtis Malony and Florian Apolloner.
Squashed commit of the following:
commit 3380495e93
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 14:18:07 2013 +0100
Looked up the template_fragments cache at runtime.
commit 905a74f52b
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 14:19:48 2013 +0100
Removed all uses of create_cache.
Refactored the cache tests significantly.
Made it safe to override the CACHES setting.
commit 35e289fe92
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 12:23:57 2013 +0100
Removed create_cache function.
commit 8e274f747a
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 12:04:52 2013 +0100
Updated docs to describe a simplified cache backend API.
commit ee7eb0f73e
Author: Curtis Maloney <curtis@tinbrain.net>
Date: Sat Oct 19 09:49:24 2013 +1100
Fixed #21012 -- Thread-local caches, like databases.
2013-11-23 15:06:59 +01:00
Haiko Schol
dfde4d9012
Removed information about releases < 1.7.
2013-11-23 13:53:50 +01:00
Loic Bistuer
033b26173b
Improved docs for ModelFormSet.clean().
2013-11-22 19:48:54 -05:00
mlissner
c456ea4ec8
Noted that localmem is the default cache.
2013-11-22 19:39:25 -05:00
Tim Graham
f0fc1690b4
Removed unused import in docs/topics/http/sessions.txt
2013-11-22 15:28:22 -05:00
Loic Bistuer
82a58ce5b6
Fixed #21491 -- Removed documented workaround for a known issue.
...
The issue was that two M2M hidden reverse managers
(related_name ending with a '+') could clash with each other.
Refs #21375 and #15932 . Thanks Baptiste.
2013-11-23 01:29:09 +07:00
Aymeric Augustin
9f8810ac51
Fixed #21487 -- Session cannot store tzinfo instances anymore.
...
Thanks filipp for the report.
Forward-port of 1eddca0a
from stable/1.6.x.
2013-11-22 15:34:37 +01:00
Cody Scott
4a54b69e88
Fixed sentence structure in docs/internals/contributing/triaging-tickets.txt
2013-11-22 09:07:10 -05:00
Claude Paroz
1718b5256c
Fixed #21405 -- Prevented queryset overwrite in BaseModelAdmin
...
Thanks guido@20tab.com for the report and Tim Graham for the
analyze.
2013-11-21 22:18:52 +01:00
Loic Bistuer
27f04e79b1
Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.
2013-11-21 15:12:39 +01:00
Markus Amalthea Magnuson
b6a6cf4ab7
Fixed #21427 -- Clearly state integer field value ranges in docs
...
Added an explicit mention of the exact value ranges for integer type
fields that are safe in all databases supported by Django. Also, put
all value numbers inside double ticks.
2013-11-21 14:15:23 +01:00
Claude Paroz
fafb6cf049
Fixed #21472 -- Fixed inline formsets display when parent pk is 0
...
Thanks agale031176@gmail.com for the report.
2013-11-20 21:36:20 +01:00
Dražen Lučanin
b5eef8535a
Recommended setuptools in the reuseable app tutorial.
...
setuptools has merged with distribute.
2013-11-19 13:57:17 -05:00
Baptiste Mispelon
ebfa508fa3
Added more examples to the get_object_or_404 documentation.
2013-11-19 19:23:44 +01:00
Julia Antokhine
3c3be2e8ec
fixed typo in builtins.txt
2013-11-19 12:53:28 -05:00
Rocky Meza
42197e31aa
Fixed the base class note in the Date Views docs.
2013-11-19 10:23:59 -05:00
Unai Zalakain
4fdd51b732
Fixed #15179 -- middlewares not applied for test client login()
...
Requests made with django.test.Client.login() and logout() respect
defaults defined in django.test.Client instantiation and are processed
through middleware.
Thanks to Loic for the reviews.
2013-11-19 09:04:20 +02:00
Tim Graham
9348fc5628
Fixed typo in topics/http/sessions.txt.
2013-11-18 19:10:58 -05:00
Claude Paroz
97ac22ebfc
Fixed #21457 -- Allowed fixture file name to contain dots
...
Thanks Keryn Knight for the report.
2013-11-18 20:32:13 +01:00
Baptiste Mispelon
bc0413cbc6
Added more internal links in the management command documentation.
2013-11-18 19:25:28 +01:00
Claude Paroz
a0f3eeccf3
Fixed #21397 -- Re-added flexibility to TypedChoiceField coercion
...
Thanks Elec for the report and Simon Charette for the review.
2013-11-18 18:24:56 +01:00
Claude Paroz
4a00f132e0
Added release note for TypedChoiceField coerce limitation
...
Thanks Elec for the report and Simon Charette for the review.
Refs #21397 .
2013-11-18 18:08:59 +01:00
Tim Graham
ba63b9895b
Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change.
...
Thanks marcin at sokrates.pl.
2013-11-18 09:32:25 -05:00
Tim Graham
ffdae5b66d
Fixed #21404 -- Added session.set_expiry() note to 1.6 release notes.
...
Thanks pwr for the suggestion.
2013-11-18 07:58:43 -05:00
Claude Paroz
2b7fc36295
Updated 1.6.1 release notes
...
Partial forward port of e85baa813f
.
2013-11-17 21:22:06 +01:00
Anssi Kääriäinen
0e079e4331
Fixed #21428 -- editable GenericRelation regression
...
The GenericRelation refactoring removed GenericRelations from
model._meta.many_to_many. This had the side effect of disallowing
editable GenericRelations in ModelForms. Editable GenericRelations
aren't officially supported, but if we don't fix this we don't offer any
upgrade path for those who used the ability to set editable=True
in GenericRelation subclass.
Thanks to Trac alias joshcartme for the report and stephencmd and Loic
for working on this issue.
2013-11-16 20:07:35 +02:00
Tim Graham
d011714002
Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt
...
Thanks alasdair.
2013-11-15 10:21:58 -05:00
DanSears
8ca3963ab2
Clarified MySQL Connector note.
2013-11-15 08:51:17 -05:00
Tim Graham
3ccc0253f2
Fixed #21425 -- Made order in which loggers are introduced consistent.
...
Thanks oubiga for the suggestion.
2013-11-15 08:39:40 -05:00
Tim Graham
6e9e6ca071
Fixed #21440 -- Typo in topics/http/shortcuts.txt
...
Thanks olof.bjarnason at gmail.com for the report.
2013-11-15 07:09:46 -05:00
Baptiste Mispelon
8e6d1b9792
Added backported fixes to 1.6.1 release notes.
2013-11-14 23:13:20 +01:00
Anssi Kääriäinen
4301d6fa36
Release notes for ORM changes in 1.6
2013-11-14 18:03:53 +02:00
Tim Graham
94d567ba30
Added release note for #21410 ; thanks Loic.
2013-11-13 12:24:15 -05:00
Baptiste Mispelon
0048ed77c7
Fixed typos in previous commit ( 9aa6d4bdb6
).
2013-11-12 20:42:44 +01:00
Baptiste Mispelon
9aa6d4bdb6
Removed a mention of `Form._errors` from the documentation.
...
Also removed a sentence that was incorrect: raising a
`ValidationError` inside `Form.clean` doesn't clear the
`cleaned_data` attribute.
Thanks to loic84 and timograham for the review.
2013-11-12 20:27:21 +01:00
Claude Paroz
0be7f57a90
Merge pull request #1907 from Bouke/tickets/21388
...
Fixed #21388 -- Corrected language code for Frisian
2013-11-11 09:33:55 -08:00
Sjoerd Langkemper
d87127655f
Fixed #21421 -- Added level_tag attribute on messages.
...
Exposing the level name (e.g. "info") makes it possible to prepend
something to the class name. For example, Twitter Bootstrap has
an alert-info class. This class can now be added to the message
using `class="alert-{{ message.level_tag }}".
Because the level_tag was on the end of the `tags` property, it
could not be used in this fashion when extra_tags were given.
2013-11-11 17:58:02 +01:00
Bouke Haarsma
4142d15102
Fixed #21388 -- Corrected language code for Frisian
2013-11-11 13:34:01 +01:00
Aymeric Augustin
15592a04d7
Merge pull request #1906 from DanSears/master
...
Added description of MySQL Connector/Python
2013-11-11 01:54:03 -08:00
Bouke Haarsma
9b7455e918
Fixed #21351 -- Replaced memoize with Python's lru_cache.
...
Replaced the custom, untested memoize with a similar decorator from Python's
3.2 stdlib. Although some minor performance degradation (see ticket), it is
expected that in the long run lru_cache will outperform memoize once it is
implemented in C.
Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of
replacing memoize with lru_cache.
2013-11-11 08:53:09 +01:00
DanSears
a17fc36231
added description of MySQL Connector/Python
...
Reorganized the MySQLdb section into a "MySQL DB API Drivers" section that describes both MySQLdb and MySQL Connector/Python. Included description of the Django adaptors for these DB API drivers.
2013-11-10 23:46:54 -08:00
Tim Graham
6c5f5b9a41
Fixed typo in tutorial 2; refs #21418 .
2013-11-10 06:10:13 -05:00
Bernardo Pires
8bc350b385
Fixed #21372 -- Corrected docs regarding translating LANGUAGES.
...
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
2013-11-09 23:56:53 +01:00
Claude Paroz
e7383f16b4
Fixed #14800 -- Suppressed WSGIRequestHandler message filtering
...
Filtering out static file requests in runserver has been judged
arbitrary and can hide some debugging-related activity.
Thanks Roy Smith for the report and Aymeric Augustin for the
review.
2013-11-09 16:23:14 +01:00
Tim Graham
98de90d3d8
Fixed spelling of compatibility.
2013-11-09 10:17:17 -05:00
Tim Graham
d15985d81f
Fixed #21398 -- Fixed BCryptSHA256PasswordHasher with py-bcrypt and Python 3.
...
Thanks arjan at anymore.nl for the report.
2013-11-09 10:11:50 -05:00
Tim Graham
af2dc4ebb8
Fixed doc typo.
2013-11-09 10:09:25 -05:00
Baptiste Mispelon
c82e850eed
Fixed versionadded misuse in the admin documentation.
2013-11-09 15:08:57 +01:00
Vajrasky Kok
10a39debb2
Fixed #21378 -- Updated tutorial02 for how to override admin site header.
2013-11-09 07:18:46 -05:00
Tim Graham
14c1872d29
Recommended flake8 to check coding style.
2013-11-09 06:39:55 -05:00
Claude Paroz
e953c78eeb
Fixed #16969 -- Don't connect to named database when possible
...
Thanks Andreas Pelme for the report and initial patch, and
Aymeric Augustin, Shai Berger and Tim Graham for the reviews.
2013-11-09 09:42:17 +01:00
Cody Scott
a8e84521c4
Noted that .clear() will delete intermediary models
2013-11-08 19:24:31 -05:00
Tom Scholl
cab72a439b
Fixed docs for EmailMessage extra_headers attribute
...
The EmailMessage documentation describes the initialization parameters
and states they 'can be set at any time prior to calling the send()
method.'. However, the 'headers' parameter's corresponding attribute is
called 'extra_headers'.
2013-11-08 18:38:45 -05:00
glts
413307fe35
Added missing parameter in npgettext_lazy docs
2013-11-08 23:20:50 +01:00
Claude Paroz
bc21e9c0d9
Fixed #13970 -- Made SelectDateWidget use the standard widget is_required attribute
...
Thanks mitar for the report and Tim Graham for the review.
2013-11-08 16:58:17 +01:00
Claude Paroz
b780d03d62
Removed obsolete locale restriction admonition
...
Refs #14461 . Thanks Ramiro Morales for pointing this.
2013-11-08 16:47:19 +01:00
Baptiste Mispelon
f2e0266be7
Fixed #21396 : Document backwards-incompatible change in RedirectView.get_redirect_url.
...
Thanks to Tim for the review.
2013-11-08 10:47:36 +01:00
Bouke Haarsma
7a7c789d5a
Fixed #5849 -- Strip whitespace from blocktrans
...
Add the trimmed option to the blocktrans tag to trim any newlines and
whitespace from its content.
This allows the developer to indent the blocktrans tag without adding
new lines and whitespace to the msgid in the PO file.
Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the
report.
2013-11-08 00:52:17 +02:00
Anssi Kääriäinen
30203a0dea
Merge pull request #1850 from unaizalakain/ticket_13725
...
Fixed #13725 -- take url scheme into account in assertRedirects
Thanks to Loic for review.
2013-11-07 14:30:04 -08:00
Unai Zalakain
9c5f6cd565
Fixed #13725 -- take url scheme into account in assertRedirects
...
Scheme is handled correctly when making comparisons between two URLs. If
there isn't any scheme specified in the location where we are redirected to,
the original request's scheme is used. If present, the scheme in
``expected_url`` is the one used to make the comparations to.
2013-11-07 19:06:32 +01:00
Tim Graham
c29dd76f40
Added 1.4.10 release notes.
2013-11-07 09:42:25 -05:00
Sylvain Bellemare
3935b0f263
Removed no longer relevant word
2013-11-07 09:31:44 -05:00
Jaap Roes
7be638390e
Fixed #20536 -- rewrite of the file based cache backend
...
* Safer for use in multiprocess environments
* Better random culling
* Cache files use less disk space
* Safer delete behavior
Also fixed #15806 , fixed #15825 .
2013-11-07 16:12:15 +02:00
Baptiste Mispelon
ac2d86f8d3
Added more items to the release checklist.
2013-11-07 14:45:59 +01:00
Loic Bistuer
f51c1f5900
Fixed #17001 -- Custom querysets for prefetch_related.
...
This patch introduces the Prefetch object which allows customizing prefetch
operations.
This enables things like filtering prefetched relations, calling select_related
from a prefetched relation, or prefetching the same relation multiple times
with different querysets.
When a Prefetch instance specifies a to_attr argument, the result is stored
in a list rather than a QuerySet. This has the fortunate consequence of being
significantly faster. The preformance improvement is due to the fact that we
save the costly creation of a QuerySet instance.
Thanks @akaariai for the original patch and @bmispelon and @timgraham
for the reviews.
2013-11-07 14:49:49 +02:00
Aymeric Augustin
ae029b440a
1.6 isn't under development any more.
...
Partial forward port of a71ff76
from stable/1.6.x.
2013-11-07 08:17:17 +01:00
Baptiste Mispelon
f16abe44a1
Added missing info to the release checklist.
2013-11-06 18:05:40 +01:00
Baptiste Mispelon
366bdc4566
Fixed typos in documentation.
2013-11-06 10:47:07 +01:00
Baptiste Mispelon
3c4832214f
Fixed another typo introduced by b914991b37
.
...
Thanks Claude for catching it.
2013-11-06 10:22:29 +01:00
Simon Charette
87908b4fc2
Fixed a documentation typo introduced by b914991b37
.
2013-11-05 19:38:46 -05:00
Baptiste Mispelon
b914991b37
Added more tests and documentation for dictsort.
...
It's possible to use something like {{ foo|dictsort:'bar.baz' }}
but this wasn't tested or documented.
2013-11-06 00:26:58 +01:00
Aymeric Augustin
c349bcbdf9
Improved English in release notes for runserver.
...
Thanks Tim.
2013-11-05 21:02:33 +01:00
Bouke Haarsma
e5e044da87
Fixed #18419 -- Full backwards compatibility for old language codes
...
Improved documentation about zh-* deprecation and upgrade path.
Thanks to Baptiste Mispelon for the code reviews.
2013-11-05 19:26:58 +01:00
Aymeric Augustin
da235c9a84
Improved changelog for runserver in 1.7.
2013-11-04 23:29:09 +01:00
Bouke Haarsma
c0a2388a1c
Fixed #18149 -- Changed language codes for Chinese
...
Language codes for Chinese are zh_Hans (Simplified) and zh_Hant (Traditional).
Added support for browsers that still send the deprecated language codes.
Thanks to Olli Wang for the report.
2013-11-04 23:03:28 +01:00
Alex Gaynor
c347f78cc1
Fixed all E226 violations
2013-11-03 10:08:55 -08:00
Alex Gaynor
fe995e6cbd
Fixed the remaining E302 violations int eh django package
2013-11-02 17:37:15 -07:00
coagulant
3bc0d46a84
Fixed all E261 warnings
2013-11-02 18:20:39 -04:00
Boryslav Larin
e737c009b8
Fixed flake8 E241
2013-11-02 21:45:40 +02:00
Bouke Haarsma
9367b9e828
Django should be capitalized in text
2013-11-02 20:15:40 +01:00
Claude Paroz
88b9d4ff3a
Fixed #21373 -- Typo fixed in i18n docs
...
Thanks rpq at winscores.com for the report.
2013-11-02 19:13:29 +01:00
Unai Zalakain
99b681e227
Fixed #21341 -- Eased https requests with the test client
...
All request methods of ``django.test.client.Client`` receive a ``secure``
argument that defaults to ``False`` indicating whether or not to make the
request through https.
Thanks Aymeric Augustin for the review.
2013-11-02 19:03:13 +01:00
Aymeric Augustin
8b3d9d96ed
Merge pull request #1799 from Bouke/tickets/9523
...
Fixed #9523 -- Restart runserver after translation MO files change
2013-11-02 06:57:50 -07:00
Bouke Haarsma
073b974e66
Fixed #21354 -- Documented contrib.redirects defaults to 301 redirects
...
Thanks glarrain for the suggestion.
2013-11-02 09:52:28 -04:00
Bouke Haarsma
c3936c0d79
Fixed #9523 -- Restart runserver after translation MO files change
...
Thanks to Krzysztof Kulewski for the initial patch.
2013-11-02 10:29:07 +01:00
Tim Graham
090315f5df
Fixed spelling ("dependant" -> "dependent")
...
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
2013-11-01 21:29:39 -04:00
Sylvain Bellemare
c7dabe49dd
Fixed typo -- "a" user, not "an" user
2013-11-01 15:15:36 +01:00
Claude Paroz
89116cf24a
Fixed #21364 -- Specified InnoDB full-text support from MySQL 5.6.4 on
...
Thanks thevlad at gmail.com for the report.
2013-11-01 10:59:16 +01:00
Claude Paroz
67c6c1a7cb
Fixed #21359 -- Corrected MySQL collation name in databases docs
...
Thanks k_sze for the report.
2013-11-01 10:46:03 +01:00
Claude Paroz
0d9c149990
Fixed #21339 -- Documented removal of some form field error messages
2013-10-31 17:52:06 +01:00
Unai Zalakain
15f82c7011
Fixed #9722 - used pyinotify as change detection system when available
...
Used pyinotify (when available) to replace the "pool-every-one-second"
mechanism in `django.utils.autoreload`.
Thanks Chris Lamb and Pascal Hartig for work on the patch.
2013-10-30 11:45:43 -04:00
Tim Graham
eafe279120
Fixed #21306 -- Documented lower-casing behavior of title filter.
2013-10-30 09:33:28 -04:00
Tim Graham
51e6575472
Fixed #21294 -- Clarified the logout next_page argument.
...
Thanks wim at go2people.nl for the report.
2013-10-30 09:25:21 -04:00
Baptiste Mispelon
9fde42a69a
Fixed #20610 : Added a message level dict to contrib.message context processor.
2013-10-30 13:54:07 +01:00
Antoine Catton
e9a356a695
Documented the limitation on sep argument to Signer
...
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
2013-10-30 08:26:33 -04:00
Tim Graham
1edef50880
Fixed #21316 -- Documented that modifying safe strings makes them unsafe.
...
Thanks dev@simon.net.nz for the suggestion and vijay_shanker for the patch.
2013-10-30 08:11:31 -04:00
Tim Graham
b47a052eb5
Documented removal of django.core.servers.basehttp.WSGIServerException
...
refs 2ca00faa91
2013-10-30 07:46:07 -04:00
Unai Zalakain
fd219fa24c
Fixed #8261 -- ModelAdmin hook for customising the "show on site" button
...
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the
admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is
used to get the url. If it's a callable, the callable is called with the object
as the only parameter. If ``False``, not link is displayed.
With the aim of maitaining backwards compatibility, ``True`` is the default.
2013-10-29 17:10:12 -04:00
Alex Gaynor
6b560b50b9
Mark this as a python code-block
2013-10-29 07:26:06 -07:00
Tim Graham
ffcfb4cdcc
Fixed #21344 -- Typo in docs/ref/models/queries.txt
2013-10-28 14:52:26 -04:00
Eric Holscher
32f0f8489a
Fix note syntax usage.
...
http://sphinx.readthedocs.org/en/latest/markup/para.html?highlight=note#directive-note
2013-10-27 08:06:36 -07:00
Alex Gaynor
b35ff0d920
Fixed all the E203 violations
2013-10-26 18:27:42 -07:00
Tim Graham
cc2049cdd7
Fixed #21325 -- Added missing argument to permission_required decorator.
2013-10-25 17:36:07 -04:00
Paolo Melchiorre
3b0293370a
Fixed typo in docs/releases/1.4.9.txt.
2013-10-25 07:55:05 -04:00
Tim Graham
43cfc652d2
Fixed doc typo in previous commit.
2013-10-24 21:25:51 -04:00
SusanTan
4e0a2fe59c
Fixed #21271 -- Added timeout parameter to SMTP EmailBackend.
...
Thanks Tobias McNulty and Tim Graham for discussions and code review.
Thanks Andre Cruz the suggestion and initial patch.
2013-10-24 20:38:00 -04:00
Vajrasky Kok
9eecb91695
Fixed #21219 -- Added a way to set different permission for static files.
...
Previously, when collecting static files, the files would receive permission
from FILE_UPLOAD_PERMISSIONS. Now, there's an option to give different
permission from uploaded files permission by subclassing any of the static
files storage classes and setting the file_permissions_mode parameter.
Thanks dblack at atlassian.com for the suggestion.
2013-10-24 17:40:01 -04:00
Claude Paroz
c052699be3
Fixed #20338 -- Stripped ending dot during host validation
...
Thanks manfre for the report and Timo Graham for the review.
2013-10-24 21:24:04 +02:00
Curtis Maloney
8688f03eef
Fixed #20945 -- Allowed cache tag to use a specific cache.
2013-10-23 19:27:08 -04:00
Tim Graham
4ce5c119b5
Bumped release date for 1.5.5 & 1.4.9.
2013-10-23 18:28:41 -04:00
Tim Graham
c573d6de17
Fixed #19941 -- Removed sys.path hack when running the test suite.
...
Thanks jezdez for the suggestion.
2013-10-23 18:27:06 -04:00
Collin Anderson
d72059c2ae
typo on 1.7 release notes
2013-10-23 10:56:13 -04:00
Shai Berger
317040a73b
Fixed #13245 : Explained Oracle's behavior w.r.t db_table
...
and how to prevent table-name truncation
Thanks russellm & timo for discussion, and timo for review.
2013-10-23 14:51:22 +03:00
Tim Graham
ae48d77ef8
Fixed E225 pep8 warnings.
2013-10-23 06:09:29 -04:00
Tim Graham
2eb8f15516
Added 1.5.5 and 1.4.9 release notes
2013-10-22 17:41:10 -04:00
Tim Graham
9704c49d59
Fixed #21304 -- Typo in docs/topics/testing/advanced.txt
...
Thanks joao at silvaneves.org for the report.
2013-10-22 12:05:26 -04:00
Florian Hahn
5240b83462
Fixed #17027 -- Added support for the power operator in F expressions.
...
Thanks dan at dlo.me for the initial patch.
- Added __pow__ and __rpow__ to ExpressionNode
- Added oracle and mysql specific power expressions
- Added used-defined power function for sqlite
2013-10-22 10:29:57 -04:00
Tim Graham
1597503a01
Fixed E221 pep8 warnings.
2013-10-22 09:51:39 -04:00
Bouke Haarsma
0d0f4f020a
Fixed #5789 -- Changed LocaleMiddleware session variable to '_language'.
...
The old 'django_language' variable will still be read from in order
to migrate users. The backwards-compatability shim will be removed in
Django 1.8.
Thanks to jdunck for the report and stugots for the initial patch.
2013-10-22 09:24:42 -04:00
Phil Elson
2110b31365
Fixed indentation of example in tutuorial 2.
2013-10-22 08:10:56 -04:00
Tim Graham
28b70425af
Added docs for the hasher's iteration count changes.
2013-10-21 20:32:02 +02:00
Riccardo Magliocchetti
1e39982b6e
Fixed #21296 -- Added docs for PostgreSQL and unix domains sockets.
2013-10-21 13:02:21 -04:00
Alasdair Nicol
b289fcf1bf
Fixed #21288 -- Fixed E126 pep8 warnings
2013-10-21 08:31:30 -04:00
Juergen Schackmann
f8632572ad
Fixed #21212 -- Documented the reverse name for OneToOneField.
...
Thanks bjb at credil.org for the report.
2013-10-18 16:19:05 -04:00
Tim Graham
a3372f67cb
Added a warning regarding session security and subdomains.
2013-10-18 09:42:45 -04:00
Tim Graham
651bb73ab3
Fixed ReST error in 1.6. release notes.
2013-10-18 08:47:28 -04:00
Alasdair Nicol
dfb4cb9970
Fixed #21285 -- Fixed E121,E122 pep8 warnings
2013-10-17 20:20:11 -04:00
Tim Graham
d97bec5ee3
Removed 1.6 release note text regarding password limit length.
...
This changed was reverted in 5d74853e15
.
2013-10-17 18:58:24 -04:00
Bouke Haarsma
2fb5a51fa3
Fixed #18659 -- Deprecated request.REQUEST and MergeDict
...
Thanks Aymeric Augustin for the suggestion.
2013-10-17 09:42:28 -04:00
Marc Tamlyn
349c12d3f5
Fixed #16855 -- select_related() chains as expected.
...
select_related('foo').select_related('bar') is now equivalent to
select_related('foo', 'bar').
Also reworded docs to recommend select_related(*fields) over select_related()
2013-10-15 15:59:36 +01:00
Daniele Procida
ec0e780e7f
Merge pull request #1751 from tmaster/ticket_21006_improvement
...
Improvement on InlineFormSet doc, refs #21006
2013-10-15 06:56:25 -07:00
Tianyi Wang
944a2bb7c1
Improvement on InlineFormSet doc, refs #21006
2013-10-15 14:51:45 +01:00
Unai Zalakain
c7634cd7fe
Fixed #7603 -- Added a 'scheme' property to the HttpRequest object
...
`HttpRequest.scheme` is `https` if `settings.SECURE_PROXY_SSL_HEADER` is
appropriately set and falls back to `HttpRequest._get_scheme()` (a hook
for subclasses to implement) otherwise.
`WSGIRequest._get_scheme()` makes use of the `wsgi.url_scheme` WSGI
environ variable to determine the request scheme.
`HttpRequest.is_secure()` simply checks if `HttpRequest.scheme` is
`https`.
This provides a way to check the current scheme in templates, for example.
It also allows us to deal with other schemes.
Thanks nslater for the suggestion.
2013-10-15 09:04:12 -04:00
Tianyi Wang
9bfe66164e
Fixed #21006 -- Added example code for overriding methods on an InlineFormSet.
...
Thanks treysta at gmail.com for the suggestion.
2013-10-15 07:34:29 -04:00
Marc Tamlyn
ce823d3710
Merge pull request #1382 from loic/ticket19617
...
Fixed #19617 -- Refactored form metaclasses to support more inheritance scenarios.
2013-10-15 04:22:34 -07:00
Sorcha Bowler
018e2c055a
Fixed #21223 -- Added form.id_for_label to topic guide.
...
Thanks ebertti at yahoo.com.br for the suggestion.
2013-10-14 18:41:22 -04:00
M Nasimul Haque
d07d6ae116
Fixed #20910 -- Added a "snippet" sphinx directive to allow prefixing a filename.
...
Thanks Marc Tamlyn for the suggestion.
2013-10-14 13:00:57 -04:00
Bouke Haarsma
e077224f4a
Fixed #20962 -- Documented that template tag render() may raise exceptions.
...
Thanks Keryn Knight for the report.
2013-10-14 11:53:15 -04:00
Loic Bistuer
b16dd1fe01
Fixed #8620 -- Updated the Form metaclass to support excluding fields by shadowing them.
2013-10-14 22:42:33 +07:00
Loic Bistuer
ac5ec7b8bc
Fixed #19617 -- Refactored Form metaclasses to support more inheritance scenarios.
...
Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-14 21:59:30 +07:00
Loic Bistuer
54cd930baf
Clarfied the ModelForm docs with respect to generated vs. declared fields.
...
The ModelForm docs suggested that fields defined declaratively override
default fields generated from the form Meta.
This is conceptually wrong, especially with inheritance in mind. Meta is
usually defined on the topmost ModelForm subclass, while fields can come
from anywhere in the MRO, especially base classes; therefore we suggested
that something defined in a base class override something from a subclass.
This patch rephrases the docs around the idea that Meta is used to generate
*missing* fields.
Refs #8620 , #19617 .
Thanks @mjtamlyn and @timgraham for the review.
2013-10-14 10:54:22 -04:00
Bouke Haarsma
9b7d38ed5a
Fixed #21210 -- Documented when runserver doesn't auto-restart.
...
Thanks gergely at polonkai.eu for the suggestion.
2013-10-14 10:36:18 -04:00
Bouke Haarsma
8fc63087f6
Fixed #21264 -- Incorrect RST usage in docs
2013-10-14 08:14:27 -04:00
Max Vizard
13ddf0e002
Fixed #21027 -- Updated tutorial 5 docs to link to management shell command page.
2013-10-14 08:07:44 -04:00
Claude Paroz
1e8eadc94e
Fixed #15888 -- Made tablename argument of createcachetable optional
...
Thanks Aymeric Augustin for the report and the documentation and
Tim Graham for the review.
2013-10-14 13:24:40 +02:00
Marc Tamlyn
b600bb7e08
Amend my description in committers.txt.
2013-10-14 11:54:37 +01:00
Aymeric Augustin
570d9c2678
Fixed #19560 -- Identified field in warning for naive datetime.
...
Thanks gcc for the report and vajrasky for the patch.
2013-10-13 11:54:11 +02:00
Ramiro Morales
18ea1c473b
Forms docs: More emphasis in 'id' value customizability.
2013-10-12 13:29:11 -03:00
Claude Paroz
21c2bfdff3
Updated OpenLayers version from 2.11 to 2.13
2013-10-12 18:08:07 +02:00
Tim Graham
dd839a2dfd
Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures.
...
Thanks slinkp for the suggestion.
2013-10-11 20:11:49 -04:00
Cody Scott
8bfc7cc64c
Minor edits to docs/topics/db/queries.txt.
2013-10-11 15:34:11 -04:00
Tai Lee
e527c0b6d8
Fixed #13252 -- Added ability to serialize with natural primary keys.
...
Added ``--natural-foreign`` and ``--natural-primary`` options and
deprecated the ``--natural`` option to the ``dumpdata`` management
command.
Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys``
arguments and deprecated the ``use_natural_keys`` argument to
``django.core.serializers.Serializer.serialize()``.
Thanks SmileyChris for the suggestion.
2013-10-11 12:52:57 -04:00
Tim Graham
945e033a69
Fixed #8918 -- Made FileField.upload_to optional.
...
Thanks leahculver for the suggestion and dc and vajrasky for work
on the patch.
2013-10-11 08:07:25 -04:00
Cody Scott
695bc0d191
Small improvements to docs/topics/db/models.txt
2013-10-10 20:56:11 -04:00
Tim Graham
1dae4ac177
Whitespace cleanup.
...
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
2013-10-10 16:49:20 -04:00
Tim Graham
9700194195
Fixed #21222 - Documented that 'default' and 'other' must be different databases when running tests.
...
Thanks vernondcole for the suggestion.
2013-10-09 11:42:27 -04:00
Claude Paroz
1b9c72fc4f
Fixed grammar/typos in auth customization docs
2013-10-09 16:21:19 +02:00
Dan Loewenherz
43f213e475
Fix grammatical errors in email documentation
2013-10-08 09:21:45 -05:00
Russell Keith-Magee
ddb53856b6
Fixed #21164 -- Added documentation for issue with test users.
...
The package renaming restores the older package names (which were also the
documented package names). This doesn't affect test discovery because the
module in question doesn't contain any tests.
Thanks to Carl for the design discussion.
2013-10-08 10:32:56 +08:00
Ramiro Morales
67f5dffbec
Re-added link to SQLite notes from DB section of install doc.
2013-10-07 07:40:41 -03:00
Unai Zalakain
3895d8899d
Fixed #21213 -- Added docs for Django's mailing lists.
...
Added docs/internals/mailing-lists.txt documenting the use of django's
mailing lists. All references across docs changed to point to this page.
The referencing makes use of substitution because there's no way to make
a :ref: link in a non-inline fashion in Sphinx. It also makes use of
rst_epilog Sphinx conf for making this substitutions across all the
docs.
2013-10-04 10:00:36 -04:00
Ryan Kaskel
8b0014869f
Fixed #19321 -- Allowed redirect middleware HTTP responses to be overridden.
...
Thanks Melevir for the suggestion.
2013-10-04 07:36:39 -04:00
Tim Graham
36e220f923
Fixed #21218 -- Typo on docs/howto/upgrade-version.txt
...
Thanks ryan at ryangallen.com for the report.
2013-10-03 20:13:33 -04:00
Emil Stenström
7a97df190c
Fixed #19277 -- Added LocaleMiddleware.response_redirect_class
...
Thanks ppetrid at yawd.eu for the suggestion.
2013-10-03 16:15:29 -04:00
Simon Charette
fa2e1371cd
Fixed #21216 -- Allow `OneToOneField` reverse accessor to be hidden.
2013-10-03 13:20:05 -04:00
Tim Graham
75bb6ba966
Fixed #10913 -- Documented how related_name affects QuerySet filtering
...
Thanks neithere for the suggestion.
2013-10-02 12:12:53 -04:00
Baptiste Mispelon
e1b7723817
Changed the doc to use gender-neutral pronouns when possible.
2013-10-02 16:41:04 +02:00
Tim Graham
00a0d3de02
Clarified session replay attack differences with cookie backend.
2013-10-02 10:15:18 -04:00
Ramiro Morales
1d0fc61b1c
Fixed #15185 -- Allowed ModelAdmin.list_display_links=None to disable change list links.
...
Thanks rm_ for the suggestion.
2013-10-01 14:25:54 -04:00
Michael Manfre
bf757a2f4d
Fixed #21147 -- Avoided time.time precision issue with cache backends.
...
The precision of time.time() is OS specific and it is possible for the
resolution to be low enough to allow reading a cache key previously set
with a timeout of 0.
2013-10-01 13:42:59 -04:00
Tim Graham
32e40bbe71
Fixed #21031 -- Updated schema migrations FAQ.
...
Thanks ramiro for the report.
2013-10-01 10:39:03 -04:00
Tim Graham
b66a51ad54
Fixed #21195 -- Clarifed usage of template_name in tutorial part 4.
2013-10-01 10:08:36 -04:00
Curtis Maloney
c39c9f2ad8
Fixed #21154 -- Updated TemplateResponse docs to better explain context.
...
Thanks mrmachine for the report.
2013-09-30 10:19:56 -04:00
Aymeric Augustin
728548e483
Fixed #21134 -- Prevented queries in broken transactions.
...
Squashed commit of the following:
commit 63ddb271a44df389b2c302e421fc17b7f0529755
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 29 22:51:00 2013 +0200
Clarified interactions between atomic and exceptions.
commit 2899ec299228217c876ba3aa4024e523a41c8504
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 22 22:45:32 2013 +0200
Fixed TransactionManagementError in tests.
Previous commit introduced an additional check to prevent running
queries in transactions that will be rolled back, which triggered a few
failures in the tests. In practice using transaction.atomic instead of
the low-level savepoint APIs was enough to fix the problems.
commit 4a639b059ea80aeb78f7f160a7d4b9f609b9c238
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Sep 24 22:24:17 2013 +0200
Allowed nesting constraint_checks_disabled inside atomic.
Since MySQL handles transactions loosely, this isn't a problem.
commit 2a4ab1cb6e83391ff7e25d08479e230ca564bfef
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Sep 21 18:43:12 2013 +0200
Prevented running queries in transactions that will be rolled back.
This avoids a counter-intuitive behavior in an edge case on databases
with non-atomic transaction semantics.
It prevents using savepoint_rollback() inside an atomic block without
calling set_rollback(False) first, which is backwards-incompatible in
tests.
Refs #21134 .
commit 8e3db393853c7ac64a445b66e57f3620a3fde7b0
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 22 22:14:17 2013 +0200
Replaced manual savepoints by atomic blocks.
This ensures the rollback flag is handled consistently in internal APIs.
2013-09-30 09:42:27 +02:00
Russell Keith-Magee
9595183d03
Fixed #13724 : Corrected routing of write queries involving managers.
...
Previously, if a database request spanned a related object manager, the
first manager encountered would cause a request to the router, and this
would bind all subsequent queries to the same database returned by the
router. Unfortunately, the first router query would be performed using
a read request to the router, resulting in bad routing information being
used if the subsequent query was actually a write.
This change defers the call to the router until the final query is acutally
made.
It includes a small *BACKWARDS INCOMPATIBILITY* on an edge case - see the
release notes for details.
Thanks to Paul Collins (@paulcollinsiii) for the excellent debugging
work and patch.
2013-09-30 13:05:43 +08:00
Ramiro Morales
5866a49369
Note about static files dirs paths on Windows.
...
Added it to the settings reference. We used to have it in comment form
in our old, bigger default project template settings.py file.
2013-09-28 20:32:55 -03:00
Erik Romijn
1a63092981
Fixed #20439 -- Started deprecation of IPAddressField
2013-09-28 10:55:32 +02:00
Carl Meyer
8a4f5de4b6
Fixed malformed directive in CBV date-based-mixins docs.
2013-09-27 11:58:41 -06:00
Preston Holmes
90cd676d29
Added missing word in bio update.
...
I a word :-/
2013-09-26 21:08:48 -07:00
Preston Holmes
48f657aa29
Updated my bio.
2013-09-26 14:46:06 -07:00
Michael Manfre
99c87f1410
Fixed #17671 - Cursors are now context managers.
2013-09-25 21:47:26 +03:00
Loic Bistuer
04a2a6b0f9
Fixed #3871 -- Custom managers when traversing reverse relations.
2013-09-25 21:15:59 +03:00
Baptiste Mispelon
42b9feb2e7
Fixed wording in unit tests documentation.
2013-09-25 18:24:30 +02:00
Tim Graham
15ed75d632
Updated a code block to use the emphasize-lines Sphinx option
2013-09-25 11:39:38 -04:00
Tim Graham
77f6b468e5
Fixed #21137 -- Corrected ULRconf include example.
...
Thanks marfire for the report.
2013-09-24 09:41:12 -04:00
Brett Koonce
946a2226ea
Removed extra p (topppings->toppings)
2013-09-23 19:24:40 -04:00
Tim Graham
45969bdeb5
Removed implication that six is part of Python stdlib.
2013-09-23 18:30:05 -04:00
Louis Fill
e15f7f31d0
Fixed #21070 -- Added a more complex database configuration example.
...
Thanks joejasinski for the suggestion.
2013-09-23 12:18:00 -04:00
Daley Chetwynd
a53caf28bf
Fixed #20830 -- Clarified that Django uses a customized version of six.
...
Thanks glarrain for the suggestion.
2013-09-23 11:03:50 -04:00
Åke Forslund
6a30075eaa
Fixed #21140 -- Added 'Using cached sessions' to the performance guide.
...
Thanks EvilDMP for the suggestion.
2013-09-23 10:50:19 -04:00
Ben Huckvale
98e0453f00
Fixed #21120 -- Added more explicit text on using validators and link to writing validators.
...
Thanks nicolas at niconomicon.net for the suggestion.
2013-09-23 10:37:41 -04:00
Tim Garner
c81b6f7b83
Fixed #21702 -- Added different bullet styles for nested lists.
...
Thanks moc at mocpa.com for the suggestion.
2013-09-23 07:37:09 -04:00
Ramiro Morales
bebb449ac3
Added docs for changes in commit dd3a883894
.
...
Refs #20693 .
2013-09-22 15:43:27 -03:00
Rogério Yokomizo
1b4b710355
Fixed #21141 -- Update Sphinx URL
...
Updated Sphinx URL from http://sphinx.pocoo.org/ to http://sphinx-doc.org/ .
2013-09-22 14:44:09 -03:00
Ramiro Morales
ce0c5c38ea
A few doc additions for changes from d228c1192e
.
2013-09-22 13:46:16 -03:00
Ramiro Morales
9dc45efeba
Reference Meta.index_together in DB performance guide.
2013-09-22 11:11:02 -03:00
Michael DiBernardo
222460a994
Fixed #21137 -- Documented best practice for URLconfs with repeated pattern prefixes.
2013-09-21 18:17:21 -04:00
mlissner
d8f2d940cc
Correct very minor typo
...
Just changed as to has.
2013-09-21 13:34:45 -07:00
Aymeric Augustin
ec2b91f48b
Merge pull request #1655 from evildmp/ticket_20877_work_in_progress
...
Addressed inaccuracies in performance docs
2013-09-21 10:09:57 -07:00
Aymeric Augustin
11187386f4
Addressed inaccuracies in performance docs
...
* Move the discussion of CachedStaticFilesStorage to the section about
HTTP. It's really about client-side caching. It doesn't fit with the
caching utilities from django.utils.functional.
* Tone down the warning against Pypy as per Alex' feedback. It's a valid
choice for advanced users who are comfortable using a non-standard
stack.
* Generally reworded the 'Using different versions of available software'
section.
* Some other minor adjustments to the document.
2013-09-21 16:41:26 +01:00
Alexander
3ea0194bb4
- missing __init__.py
2013-09-21 18:28:05 +04:00
Curtis Maloney
43a2ec7999
Fixed #21133 --Clarifed documentation about strftime formatting.
2013-09-21 06:42:11 -04:00
evildmp
dc8f95b639
Fixed #20877 -- added a performance optimization guide
2013-09-20 23:21:49 +01:00
Aymeric Augustin
4db2752e28
Clarified why one must not catch database errors inside atomic.
2013-09-20 21:56:35 +02:00
tschilling
0d1ba84d13
Fixed #20702 -- Deprecated get_formsets in favor of get_formsets_with_inlines.
...
Thanks stanislas.guerra at gmail.com for the report.
2013-09-20 07:47:24 -04:00
Paul McMillan
f8f47718ab
Merge pull request #1644 from PaulMcMillan/bump_hash_iterations
...
Increase default PBKDF2 iterations
2013-09-19 12:17:56 -07:00
Markus Amalthea Magnuson
2c5c422d34
Added missing "in" in sentence.
2013-09-19 13:26:01 -04:00
yokomizor
df27803a55
Fixed #9532 -- Added min_num and validate_min on formsets.
...
Thanks gsf for the suggestion.
2013-09-19 13:11:49 -04:00
Paul McMillan
a075e2ad0d
Increase default PBKDF2 iterations
...
Increases the default PBKDF2 iterations, since computers have gotten
faster since 2011. In the future, we plan to increment by 10% per
major version.
2013-09-19 18:02:25 +01:00
Curtis Maloney
4e9f800742
Fixed #21125 -- Removed support for cache URI syntax
2013-09-19 10:01:39 -04:00
Russell Keith-Magee
9d3e60aa3e
Reworked security issue list to be per-issue, not per-release.
2013-09-19 14:57:01 +08:00
Russell Keith-Magee
8e134c27c9
Corrected markup problems in new security summary page.
2013-09-19 13:57:02 +08:00
Alex Gaynor
8b3bae9466
Fixed two typos in the docs
2013-09-18 23:29:55 -05:00
Alex Gaynor
c65ae7c969
Fixed a typo in the docs
2013-09-18 23:26:24 -05:00
James Bennett
a2e25e8a83
Fix #21121 : Add archive of security issues.
2013-09-18 23:13:04 -05:00
Brian Holdefehr
98514849dc
Fixed #19414 -- Added admin registration decorator
...
Thanks stavros for the suggestion.
2013-09-18 11:44:10 -04:00
Tim Graham
d1c9802811
Fixed #21116 -- Made usage of manage.py in docs more consistent.
...
Thanks daniel.quattro at gmail.com for the report.
2013-09-18 10:35:41 -04:00
Berker Peksag
2f0566fa61
Fixed #4278 -- Added a dirs parameter to a few functions to override TEMPLATE_DIRS.
...
* django.template.loader.get_template()
* django.template.loader.select_template()
* django.shortcuts.render()
* django.shortcuts.render_to_response()
Thanks amcnabb for the suggestion.
2013-09-18 07:37:08 -04:00
Tim Graham
5be56d0e0d
Fixed #21024 -- Documented how to deprecate a feature.
2013-09-17 13:23:32 -04:00
Aymeric Augustin
5abc43cabf
Updated examples in the docs after eade315d
.
2013-09-17 10:05:45 +02:00
Ramiro Morales
9d12f68a53
Reworded a paragraph in the logging docs.
2013-09-16 17:49:46 -03:00
Tim Graham
18ffdb1772
Fixed #17627 -- Renamed util.py files to utils.py
...
Thanks PaulM for the suggestion and Luke Granger-Brown and
Wiktor Kołodziej for the initial patch.
2013-09-16 12:52:05 -04:00
Tim Graham
8d29005524
Cleaned up 1.5.4/1.4.8 release notes
2013-09-15 14:14:26 -04:00
Russell Keith-Magee
aae5a96d57
Ensure that passwords are never long enough for a DoS.
...
* Limit the password length to 4096 bytes
* Password hashers will raise a ValueError
* django.contrib.auth forms will fail validation
* Document in release notes that this is a backwards incompatible change
Thanks to Josh Wright for the report, and Donald Stufft for the patch.
This is a security fix; disclosure to follow shortly.
2013-09-15 13:42:23 +08:00
Goetz
39b49fd339
Fixed #21101 -- Updated urlize documentation to mention email addresses
2013-09-13 12:42:06 -04:00
Tim Graham
ec89e1725a
Fixed #21100 -- Noted that Create/UpdateViews.fields is new in 1.6
...
Thanks AndrewIngram for the suggestion.
2013-09-13 09:34:12 -04:00
Tim Graham
e4aab1bb8d
Fixed #21094 -- Updated reuseable apps tutorial to use pip for installation.
...
Thanks ylb415 at gmail.com for the suggestion.
2013-09-13 09:29:21 -04:00
Kevin Christopher Henry
990ce9aab9
Documentation -- added instructions on working with pull requests
...
Since non-core contributors are asked to review patches, instructions
on working with pull requests were added to the Working with Git and
GitHub page (based on the existing instructions in the core
committers page).
2013-09-13 08:26:46 -04:00
Matt Austin
9451d8d558
Fixed #21095 -- Documented new requirement for dates lookups.
...
Day, month, and week_day lookups now require time zone definitions in the database.
2013-09-13 09:56:19 +02:00
Ramiro Morales
8b366a50f4
Fixed a couple of typos in GeoDjango docs.
2013-09-12 19:36:45 -03:00
Phaneendra Chiruvella
bd72c2acb6
Minor typo fix in django.contrib.auth.models.User docs
2013-09-12 03:15:00 +05:30
Tim Graham
da843e7dba
Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.
...
Thanks EvilDMP for the report and Russell Keith-Magee
for the draft text.
2013-09-11 08:17:15 -04:00
Kevin Christopher Henry
5eca021d48
Documentation -- Improved description of cache arguments
...
- Fixed some grammar and formatting mistakes
- Added the type and default for CULL_FREQUENCY
- Made the note on culling the entire cache more precise. (It's actually
slower on the filesystem backend.)
2013-09-11 07:42:49 -04:00
Tim Graham
baec6a26dd
Added 1.4.7/1.5.3 release notes
2013-09-10 21:07:22 -04:00
Tarjei Husøy
751dc0a36b
Fix broken sphinx reference to staticfiles.
2013-09-10 22:10:00 +02:00
Juan Catalano
4840fd9cbc
Fixed #20919 -- Extended assertRedirects to be able to avoid fetching redirect's response.
...
Thanks mjtamlyn for the suggestion.
2013-09-10 12:22:55 -04:00
Tim Graham
0ac7cc3265
Fixed #21083 - Fixed spelling in tutorial.
...
Thanks jimmy.kjaersgaard at gmail.com for the report.
2013-09-10 09:54:26 -04:00
Tim Graham
4ba373840a
Fixed #16534 -- Improved ability to customize DiscoverRunner
...
Added DiscoverRunner.test_suite and .test_runner attributes.
Thanks tomchristie for the suggestion and jcd for the patch.
2013-09-10 09:49:39 -04:00
oz123
fca4c4826e
Fixed #21075 - Improved doc for calling call_command with arguments.
2013-09-10 09:17:47 -04:00
Romain B.
522d3d6132
Fixed a little mistake in Django 1.7 release notes
2013-09-09 19:02:41 -04:00
Aymeric Augustin
ec2778b445
Fixed #17262 -- Refactored tzinfo implementations.
...
This commit deprecates django.utils.tzinfo in favor of the more recent
django.utils.timezone which was introduced when Django gained support
for time zones.
2013-09-09 22:32:51 +02:00
Kevin Christopher Henry
9d700322b3
Fixed #19885 -- cleaned up the django.test namespace
...
* override_settings may now be imported from django.test
* removed Approximate from django.test
* updated documentation for things importable from django.test
Thanks akaariai for the suggestion.
2013-09-09 16:03:13 -04:00
Tim Graham
910a5760f6
Improved release notes for ticket #10164
...
Thanks Aymeric for the suggestions.
refs #10164
2013-09-09 14:22:29 -04:00
Tim Graham
fb51c9a0f2
Fixed spelling; refs #16895 .
...
Thanks Panagiotis Issaris for the report.
2013-09-09 11:30:31 -04:00
e0ne
cbf08c6b0c
Fixed #16895 -- Warned about cost of QuerySet ordering
...
Thanks outofculture at gmail.com for the suggestion.
2013-09-09 09:47:18 -04:00
Baptiste Mispelon
28a571348b
Fix #20745 : Don't silence TypeError raised inside templates.
...
Thanks to robin for the report and claudep for the review.
2013-09-08 22:05:35 +02:00
Aymeric Augustin
fa7bc24671
Repositioned two paragraphs in the release notes.
2013-09-08 11:23:37 +02:00
Tim Graham
e4b012feeb
Fixed #21068 -- Added some docs for DiscoverRunner
...
Thanks jcd.
2013-09-07 16:10:07 -04:00
Aymeric Augustin
e192739b3e
Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.
2013-09-07 14:08:54 -05:00
Tim Graham
a86ecc80a2
Fixed #20005 -- Documented that Oracle databases need execute permission on SYS.DBMS_LOB.
...
Thanks jafula for the suggestion.
2013-09-07 13:59:57 -04:00
Jacob Kaplan-Moss
a44cbca2a5
Added a note about LTS releases.
2013-09-07 12:47:48 -05:00
Rodolfo
d34b94b00f
Fixed #20876 -- Changed Poll model name in tutorial to Question
2013-09-07 13:37:09 -04:00
Tim Graham
4e784f337c
Fixed #20938 -- Added cached sessions note to deployment checklist.
...
Thanks mjtamlyn for the suggestion.
2013-09-07 12:58:49 -04:00
Tim Graham
ff49449425
Merge pull request #1592 from pablomouzo/fix-admin-view-response-methods-docs
...
Improved docs for `contrib.admin.options.ModelAdmin.response_*`
2013-09-07 09:38:48 -07:00
Pablo Mouzo
2223b83a55
Improved docs for `contrib.admin.options.ModelAdmin.response_*`
...
Added links to code references in the docs for `response_add`,
`response_change` and `response_delete`.
2013-09-07 11:33:10 -05:00
Keith Edmiston
c54fa1a7bc
Fixed 16992 -- Added InnoDB warning regarding reuse of AUTO_INCREMENT values.
...
Thanks kent at nsc.liu.se for the report.
2013-09-07 12:13:45 -04:00
Pablo Mouzo
9079436b00
Add docs for `response_add`, `response_change` and `response_delete`
2013-09-07 11:01:35 -05:00
Tim Graham
0c295a7718
Fixed a link in topics/testing/overview.txt
2013-09-06 17:41:12 -04:00
Keith Edmiston
028db97503
Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.
2013-09-06 17:26:15 -04:00
Andrew Godwin
efd1e6096e
Adding 'sqlmigrate' command and quote_parameter to support it.
2013-09-06 15:28:12 -05:00
Tim Graham
5ca290f5db
Fixed some sphinx errors and added some links.
2013-09-06 16:15:35 -04:00
Tim Graham
db3de52807
Fixed #20646 -- Clarified the use of AbstractBaseUser.REQUIRED_FIELDS
...
Thanks craigbruce.
2013-09-06 16:01:29 -04:00
Adrian Holovaty
c7c19ac408
Added new AdminSite attributes to 1.7 release notes
2013-09-06 14:27:40 -05:00
Adrian Holovaty
d179fc72cf
Fixed versionadded and ordering of note in admin/index.txt
2013-09-06 14:23:29 -05:00
Tim Graham
38d2e7c225
Merge pull request #1567 from technivore/ticket_20970
...
re-indented method documentation within RelatedManager
2013-09-06 12:07:25 -07:00
Matthew Rich
af67b93c02
re-indented method documentation within RelatedManager
2013-09-06 13:44:40 -05:00
Tim Graham
cd4068f359
Fixed instructions for running a subset of tests.
2013-09-06 14:31:27 -04:00
Daniele Procida
263eecc583
Merge pull request #1544 from evildmp/ticket_20920_rebase
...
Fixed #20920 -- Consolidated F() and Q() documentation
2013-09-06 11:27:58 -07:00
evildmp
79cc66692a
Consolidated documentation for F() and Q()
2013-09-06 12:57:25 -05:00
Adrian Holovaty
a962286b74
Added AdminSite attributes for easily changing admin title.
...
AdminSite now has overridable site_header, site_title and index_title attributes. Changed
each admin view to pass these to the context (in a new AdminSite.each_context() method).
The intent here is to make it easier to override these things in the common case, instead of
having to override a template, which is a bigger burden.
2013-09-06 12:31:50 -05:00
Jacob Kaplan-Moss
ffe21e1f40
Merge pull request #1560 from technivore/ticket_20970
...
Related Fields documentation improvements
2013-09-06 10:11:05 -07:00
Daniel Boeve
b69d1eac64
Fixed #20975 -- Fixed identation in docs/internals/committers.txt
...
Thanks EvilDMP for the report.
2013-09-06 13:04:13 -04:00
Matthew Rich
a5bcc09c8f
documented RelatedManager calling save() behind the scenes, added section on direct replacement of related object set
2013-09-06 11:37:08 -05:00
Chris Wilson
eade315da1
Fixed #10164 -- Made AutoField increase monotonically on SQLite
...
Thanks malte for the report.
2013-09-06 12:31:17 -04:00
Preston Timmons
8625c7aab3
Fixed #16096 -- Added origin attribute to template instances.
...
Thanks jdunck for the suggestion.
2013-09-06 09:14:52 -04:00
Eric Boersma
4d13cc56de
Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
...
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
2013-09-05 20:14:58 -04:00
micahhausler
93dd31cadf
Fixed #21047 -- Added CLA mesage on the new contributor advice doc
2013-09-05 17:52:36 -04:00
Aymeric Augustin
6a6428a36f
Took advantage of django.utils.six.moves.urllib.*.
2013-09-05 14:39:23 -05:00
CHI Cheng
ed9cd4fd8b
Fixed #21000 -- Made cached_db session backend respect SESSION_CACHE_ALIAS
2013-09-05 10:47:58 -04:00
Tim Graham
d70908e9c2
Merge pull request #1549 from loic/docs
...
Removed "makemigrations --force" from docs since it doesn't actually exist.
2013-09-05 06:02:28 -07:00
Tim Graham
eacf060e01
Fixed #21044 -- Documented django.core.urlresolvers.Resolver404
...
Thanks Keryn Knight for the suggestion.
2013-09-05 08:45:33 -04:00
Tim Graham
7b62b80693
Fixed #20900 -- Documented RemoteUserBackend.authenticate
2013-09-05 05:56:03 -04:00
Tim Graham
ebfe42d018
Fixed #21009 -- Added a versionchanged note regarding changes to clean().
...
refs [fb1dd6b13a
] and [1c4a9bd9ad
]
2013-09-05 05:47:45 -04:00
Loic Bistuer
b7af44d474
Removed "makemigrations --force" from docs since it doesn't actually exist.
2013-09-05 02:33:05 +07:00
Tim Graham
533d1ab334
Fixed #20958 -- Documented that GenericForeignKey fields can't be accessed in forms.
...
Thanks marky1991.
2013-09-04 13:18:08 -04:00
Paul C. Anagnostopoulos
1ccdc08189
Clarified docs for some tags and filters
2013-09-04 12:32:05 -04:00
Loic Bistuer
7b04038a7f
Fixed #20973 -- Document serving static files without django.contrib.staticfiles
2013-09-03 08:59:08 -04:00
Tim Graham
3baf1d1042
Fixed #21002 -- Documented JSON session serialization requires string keys
...
Thanks jeroen.pulles at redslider.net for the report.
2013-09-03 07:48:03 -04:00
Claude Paroz
102f26c929
Fixed #20998 -- Allow custom (de)serialization for GIS widgets
...
Thanks Mathieu Leplatre for the report and the initial patch.
2013-09-02 13:32:00 +02:00
Aymeric Augustin
365c3e8b73
Replaced "not PY3" by "PY2", new in six 1.4.0.
2013-09-02 12:11:02 +02:00
Ramiro Morales
e909ceae9b
Made django.test.testcases not depend on staticfiles contrib app.
...
Do this by introducing a django.contrib.staticfiles.testing.StaticLiveServerCase
unittest TestCase subclass.
Fixes #20739 .
2013-08-31 11:02:32 -03:00
Loic Bistuer
9885f07757
Made the doc about translating string literals in templates more prominent.
2013-08-31 07:59:53 -04:00
Claude Paroz
e87997dd33
Fixed copy/paste error in measurement docs
2013-08-31 10:33:14 +02:00
Tim Graham
a89c856a7a
Fixed typo in docs/ref/models/options.txt
2013-08-30 21:05:36 -04:00
Carl Meyer
7211741fc5
Fixed #20999 - Allow overriding formfield class with choices, without subclass restrictions.
...
Refs #18162 . Thanks claudep and mjtamlyn for review.
2013-08-30 17:43:10 -06:00
Curtis Maloney
e2f06226ea
Improved {% include %} implementation
...
Merged BaseIncludeNode, ConstantIncludeNode and Include node.
This avoids raising TemplateDoesNotExist at parsing time, allows recursion
when passing a literal template name, and should make TEMPLATE_DEBUG behavior
consistant.
Thanks loic84 for help with the tests.
Fixed #3544 , fixed #12064 , fixed #16147
2013-08-30 10:36:36 +03:00
Anssi Kääriäinen
e973ee6a98
Fixed #20988 -- Added model meta option select_on_save
...
The option can be used to force pre 1.6 style SELECT on save behaviour.
This is needed in case the database returns zero updated rows even if
there is a matching row in the DB. One such case is PostgreSQL update
trigger that returns NULL.
Reviewed by Tim Graham.
Refs #16649
2013-08-30 09:41:07 +03:00
Tim Graham
be48c6c199
Fixed #20997 -- Added SessionStore note to docs.
...
Thanks jsdalton.
2013-08-29 14:15:58 -04:00
Jorge C. Leitão
d72f83c410
Added links to file docs.
2013-08-29 12:48:59 -04:00
Tim Graham
cf8d6e9108
Fixed #20881 -- Removed contrib.auth.models.AbstractUser.get_absolute_url()
...
The definition is arbitrary and creates a broken "view on site"
link in the admin if a project doesn't define such a URL.
2013-08-29 06:36:35 -04:00
Curtis Maloney
5cdacbda03
Fixed #17356 -- Allowed {% include %} to render compiled templates
...
Reviewed by Loic Bistuer and Tim Graham.
2013-08-29 10:22:24 +03:00
Tim Graham
112799e9a8
Fixed #20983 -- Updated package classifiers in reuseable apps tutorial.
...
Thanks Cloudream for the report.
2013-08-28 10:54:13 -04:00
Loic Bistuer
da800be6dd
Fixed #20986 -- Enabled SelectDateWidget to use custom months
...
Reviewed by Trac alias MarkusH.
2013-08-28 16:39:26 +03:00
Phaneendra Chiruvella
2fbf949760
Minor spelling correction in ModelForms docs
2013-08-28 16:05:46 +05:30
Krzysztof Jurewicz
095643e691
Fixed #20981 -- Noted the default value of disable_existing_loggers.
2013-08-27 10:25:26 -04:00
Tim Graham
4f7ed3f2d1
Organized 1.7 minor features into subsections.
2013-08-27 09:39:56 -04:00
Matt Robenolt
08e7a64369
Updated instructions for running contrib tests.
2013-08-27 08:21:42 -04:00
Tim Graham
c9a69cdb93
Fixed #20976 -- Fixed labels in migration docs.
...
Thanks chrismedrela for the report.
2013-08-27 08:05:13 -04:00
Marc Tamlyn
bd97026490
Merge pull request #1513 from jboecker/typo
...
Fixed typo in docs/topics/conditional-view-processing.txt
2013-08-27 02:11:59 -07:00
Erik Romijn
fa57266699
Fixed #20972 -- Make messages cookie follow session cookie secure/httponly
2013-08-26 21:34:29 +02:00
Jan Böcker
5fd2c979cb
Fixed typo in docs/topics/conditional-view-processing.txt
2013-08-26 11:19:40 +02:00
Andrew Godwin
5569b0b92f
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
django/db/backends/oracle/base.py
django/db/backends/postgresql_psycopg2/base.py
django/db/models/signals.py
tests/queries/tests.py
2013-08-23 12:36:53 +01:00
Ramiro Morales
57c82f909b
Typos introduced in 297f5af222
.
2013-08-22 21:25:35 -03:00
Tim Graham
b0ce6fe656
Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions
...
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.
Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
2013-08-22 13:58:26 -04:00
Anssi Kääriäinen
6af05e7a0f
Fixed model.__eq__ and __hash__ for no pk value cases
...
The __eq__ method now considers two instances without primary key value
equal only when they have same id(). The __hash__ method raises
TypeError for no primary key case.
Fixed #18864 , fixed #18250
Thanks to Tim Graham for docs review.
2013-08-22 17:24:07 +03:00
Kevin Christopher Henry
2e926b041c
Documentation -- Clarified use of 'view' in test client introduction.
2013-08-22 09:37:03 -04:00
Marc Tamlyn
bac4d03ce6
Fixed #20944 -- Removed inaccurate statement about View.dispatch().
2013-08-22 09:20:50 -04:00
Ramiro Morales
297f5af222
Made description of LANGUAGE_CODE setting more clear.
2013-08-22 08:27:04 -03:00
evildmp
3e20a8856b
Added myself to the committers list.
2013-08-21 22:32:04 +01:00
Kevin Christopher Henry
7775ced938
Documentation - Noted that OneToOneField doesn't respect unique.
...
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-21 22:32:04 +01:00
Ramiro Morales
01223840f3
Fixed #18967 -- Don't base64-encode message/rfc822 attachments.
...
Thanks Michael Farrell for the report and his work on the fix.
2013-08-21 22:32:04 +01:00
Florian Apolloner
839940f27f
Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.
2013-08-21 22:32:04 +01:00
Kevin Christopher Henry
bb011cf809
Documentation -- Corrected error about Model.full_clean()
...
Although the ModelForm validation code was changed to call
Model.full_clean(), the documentation still said otherwise. The
offending phrase was removed.
2013-08-21 15:38:07 -04:00
Daniele Procida
17fb5768e0
Merge pull request #1498 from evildmp/add-myself
...
Added Daniele Procida to the committers list.
2013-08-21 07:16:37 -07:00
evildmp
082b0638ef
Added myself to the committers list.
2013-08-21 16:10:51 +02:00
Kevin Christopher Henry
83e434a2c2
Documentation - Noted that OneToOneField doesn't respect unique.
...
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-20 21:20:29 -07:00
Ramiro Morales
f9d1d5dc13
Fixed #18967 -- Don't base64-encode message/rfc822 attachments.
...
Thanks Michael Farrell for the report and his work on the fix.
2013-08-20 22:17:26 -03:00
Florian Apolloner
96346ed5ad
Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.
2013-08-20 21:25:57 +02:00
Andrew Godwin
b6a957f0ba
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
docs/ref/django-admin.txt
2013-08-19 18:30:48 +01:00
Tim Graham
7b69c3e775
Removed versionadded/changed annotations for 1.5
2013-08-19 09:09:41 -04:00
Anssi Kääriäinen
3844089edc
Fixed #20777 -- Admin proxy model deletion regression
...
Added proxy_models tests by Harm Geerts <github@geertswei.nl>.
2013-08-19 09:51:41 +03:00
Anssi Kääriäinen
4668c142dc
Made Model.__eq__ consider proxy models equivalent
...
Fixed #11892 , fixed #16458 , fixed #14492 .
2013-08-19 09:51:28 +03:00
Carl Meyer
c2907a6e3d
Remove the last FIXME from the howto-release-Django doc.
2013-08-16 23:55:43 -06:00
Tim Graham
55339a7669
Fixed #20891 -- Removed part of the tutorial that requires pytz
...
Thanks AtomicSpark for the report.
2013-08-15 15:24:58 -04:00
James Bennett
bc5716fc9c
Added release date to 1.5 release notes.
...
Forwardport of 61283a8208
from 1.5.x
2013-08-15 07:41:18 -04:00
Tim Graham
29255fcb4f
Fixed some ReST errors regarding backticks
2013-08-15 07:14:10 -04:00
Alasdair Nicol
354009d67e
Updated docs following deprecation of django.views.defaults.shortcut
...
Follows 3f2befc
2013-08-15 00:27:16 +01:00
Tim Graham
b6178fa24b
Added some doc links for django.contrib.messages
2013-08-14 12:57:55 -04:00
Jonathan Slenders
ff410565bf
Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter.
...
Thanks clay.evil@ for the suggestion.
2013-08-14 12:40:19 -04:00
SusanTan
71c491972e
Fixed #11400 -- Passed kwargs from AbstractUser.email_user() to send_mail()
...
Thanks Jug_ for suggestion, john_scott for the initial patch,
and Tim Graham for code review.
2013-08-14 07:46:11 -04:00
Matt Johnson
907ef9d0d1
Fixed #20555 -- Make subwidget id attribute available
...
In `BoundField.__iter__`, the widget's id attribute is now passed to
each subwidget. A new id_for_label property was added to ChoiceInput.
2013-08-13 13:23:05 -04:00
Tim Graham
db682dcc9e
Added 1.4.6/1.5.2 release notes.
2013-08-13 11:16:30 -05:00
Loic Bistuer
163a34ce4b
Fixed #20883 -- Made model inheritance find parent links in abstract parents
2013-08-13 15:14:11 +03:00
Tim Graham
3f6cc33cff
Added missing release notes for older versions of Django
2013-08-12 14:05:25 -04:00
Mel Collins
6bdb3b1135
Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS setting
...
This setting does for new directories what FILE_UPLOAD_PERMISSIONS
does for new files.
Thanks jacob@ for the suggestion.
2013-08-12 07:15:59 -04:00
Tim Graham
ab680725bf
Fixed #20890 -- Added missing import in class-based view docs.
...
Thanks André Augusto.
2013-08-10 18:08:05 -04:00
Julien Phalip
6e70f47d02
Merge pull request #1464 from evildmp/squashing_commits
...
Clarified misleading wording about squashing commits
2013-08-10 14:48:46 -07:00
Daniele Procida
e868eaf680
clarified misleading wording about squashing commits
2013-08-10 22:24:24 +01:00
Andrew Godwin
7970d97a70
Docs tweaks (thanks timgraham)
2013-08-10 20:00:12 +01:00
ersran9
00d23a13eb
Fixed #20828 -- Allowed @permission_required to take a list of permissions
...
Thanks Giggaflop for the suggestion.
2013-08-10 10:10:18 -04:00
Tim Graham
5737c57d95
Fixed #20868 -- Added an email to django-announce as a security step.
...
Thanks garrison for the report.
2013-08-09 16:02:05 -04:00
Andrew Godwin
588b523233
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
django/db/models/options.py
2013-08-09 14:37:37 +01:00
Andrew Godwin
1d1cfd0bd8
Document new field API in release notes
2013-08-09 14:31:24 +01:00
Tim Graham
ddae74b64c
Fixed #9057 -- Added default_permissions model meta option.
...
Thanks hvendelbo for the suggestion and koenb for the draft patch.
2013-08-09 09:19:52 -04:00
Andrew Godwin
de64c4d6e9
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
django/core/management/commands/flush.py
django/core/management/commands/syncdb.py
django/db/models/loading.py
docs/internals/deprecation.txt
docs/ref/django-admin.txt
docs/releases/1.7.txt
2013-08-09 14:17:30 +01:00
Loic Bistuer
f8a6a4eba1
Improved queryset handling and docs for (Single|Multiple)ObjectMixin.
2013-08-09 17:51:58 +07:00
Tim Graham
8442268869
Added an anchor for django.forms.Form.clean in docs
2013-08-08 14:13:52 -04:00
Tim Graham
58e4fe464c
Merge pull request #1457 from jaimeirurzun/master
...
Clarified meaning of models.User.is_authenticated()
2013-08-08 07:27:08 -07:00
Daniele Procida
7e6af9d40c
Added more on @cached_property, refs #20870
2013-08-08 09:45:26 -04:00
Marc Tamlyn
1c4a9bd9ad
Revert change to the default Form.clean()
...
This means it doesn't break for people who are doing
`cleaned_data = super(FooForm, self).clean()`.
2013-08-08 14:27:48 +01:00
Marc Tamlyn
fb1dd6b13a
Form.clean() does not need to return cleaned_data.
...
If it does, that will be used as the cleaned_data. The default
implementation has been changed to match this change.
2013-08-08 14:05:55 +01:00
Jaime Irurzun
f96fe3cd1e
Clarify meaning of models.User.is_authenticated()
2013-08-08 12:45:06 +01:00
Daniele Procida
7a2296eb5b
Fixed #20870 -- Documented django.utils.functional.cached_property
2013-08-08 05:36:17 -04:00
Preston Holmes
cf041b883c
Merge pull request #1453 from chrismedrela/ticket20484-improvement
...
Fixed #20484 again -- added note to field documentation
2013-08-07 14:10:24 -07:00
Christopher Medrela
fb26c4996a
Fixed #20484 again -- added note to field documentation
2013-08-07 20:57:56 +02:00
Leandro Regueiro
709cd2c4b7
Added section labels in cache docs
2013-08-06 11:56:01 -04:00
Tai Lee
1280675834
Fixed #15511 -- Allow optional fields on ``MultiValueField` subclasses.
...
The `MultiValueField` class gets a new ``require_all_fields`` argument that
defaults to ``True``. If set to ``False``, individual fields can be made
optional, and a new ``incomplete`` validation error will be raised if any
required fields have empty values.
The ``incomplete`` error message can be defined on a `MultiValueField`
subclass or on each individual field. Skip duplicate errors.
2013-08-06 08:50:47 -04:00
Dominic Rodger
c33d1ca1d9
Fixed #20852 - Fixed incorrectly generated left quotes in docs.
...
Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.
Instances of the problem were found by looking for
">‘" in the generated HTML.
2013-08-06 07:13:17 -04:00
Justin Michalicek
6d88d47be6
Fixed #20832 -- Enabled HTML password reset email
...
Added optional html_email_template_name parameter to password_reset view
and PasswordResetForm.
2013-08-05 09:47:28 -04:00
Jimmy Song
94d7fed775
Fixed #20859 - Clarified Model.clean() example.
2013-08-05 09:06:09 -04:00
Tim Graham
26c4bd38ac
Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.
...
Thanks Keryn Knight.
2013-08-05 08:14:27 -04:00
Julien Phalip
0b071ba7df
Fixed a small formatting issue.
2013-08-04 17:29:55 -07:00
Julien Phalip
28d3b33c04
Added a note to the 1.6 release about the new `--keep-pot` option for `makemessages`.
...
Refs #17008 .
2013-08-04 17:18:10 -07:00
Tim Graham
1593a86494
Fixed #20860 -- Removed references to defunct chicagocrime.org
2013-08-04 14:46:06 -04:00
Daniele Procida
e8183a8193
Fixed #20842 and #20845 - Added a note on order_by() and improved prefetch_related() docs.
2013-08-04 12:34:28 -04:00
Loic Bistuer
ebb3e50243
Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.
...
Refs #18681 .
This also starts the deprecation of ModelAdmin.declared_fieldsets
2013-08-04 09:14:18 -04:00
Justin Michalicek
61ecb5f48a
Fixed #20855 -- Added documentation of current_app and extra_context params to django.contrib.auth views
...
refs #5298 and refs #8342
2013-08-04 08:04:12 -04:00
Curtis Maloney
07876cf02b
Deprecated SortedDict (replaced with collections.OrderedDict)
...
Thanks Loic Bistuer for the review.
2013-08-04 07:09:39 -04:00
Tim Graham
b278f7478d
Fixed #20858 -- Removed erroneous import in tutorial 2.
...
Thanks AtomicSpark.
2013-08-04 05:57:11 -04:00
Loic Bistuer
0bcdcc7eb9
Added ModelAdmin.get_search_fields.
2013-08-03 20:02:43 -04:00
Alasdair Nicol
a0c58113b9
Added missing request argument to example in URL dispatcher docs
2013-08-03 20:42:02 +01:00
Dominic Rodger
920b242e30
Fixed #20786 -- Cleaned up docs/ref/exceptions.txt
...
Thanks Daniele Procida for the suggestion and edits.
2013-08-02 09:42:46 -04:00
Tim Graham
31ee120787
Fixed #20667 - Removed discussion of DEBUG from tutorial.
...
Forward-port of 3493f18d78
from master.
2013-08-01 18:07:59 -04:00
Tim Graham
5df84b268d
Removed unused model option "admin"
2013-08-01 10:27:30 -04:00
Alex Couper
1123f45511
Fixed #20649 -- Allowed blank field display to be defined in the initial list of choices.
2013-07-31 14:12:03 -04:00
Tim Graham
a1889397a9
Fixed #12103 -- Added AuthenticationForm.confirm_login_allowed to allow customizing the logic policy.
...
Thanks ejucovy and lasko for work on the patch.
2013-07-31 13:54:05 -04:00
Loic Bistuer
acd1d439fd
Fixed #20826 -- Moved Manager.raw() and Manager._insert() to the QuerySet class.
2013-07-31 09:54:00 -04:00
Tim Graham
a3a59a3197
Added a bugfix in docutils 0.11 -- docs will now build properly.
2013-07-31 09:24:29 -04:00
Julian Bez
8f5533ab25
Fixed #20793 -- Added Last-Modified header to sitemaps.
2013-07-31 07:42:30 -04:00
Tim Graham
4d8ecbdfda
Fixed some ReST errors; refs #20819 .
2013-07-31 07:22:38 -04:00
SusanTan
7de35a9ef3
Fixed #20779 -- Documented AdminSite.app_index_template; refs #8498 .
...
Thanks CollinAnderson for the report.
2013-07-31 07:09:12 -04:00
Tai Lee
4c6ffcf721
Fixed #20819 -- Return 404 instead of 500 error when ``staticfiles`` view is used in production.
2013-07-31 18:58:50 +10:00
Jose L. Patino
7b57e575c9
Fixed #19877 -- Added `--no-color` option to `BaseCommand` to avoid using output styles.
2013-07-30 09:26:18 -04:00
Tim Graham
d4dd55e78c
Doc tweaks for html_message parameter to send_mail(); refs #20817
2013-07-30 08:06:49 -04:00
Andrew Godwin
fddc5957c5
Implement allow_migrate for migration operations
2013-07-30 12:34:31 +01:00
Andrew Godwin
12e9804d16
Rename allow_syncdb to allow_migrate
2013-07-30 12:08:59 +01:00
Andrew Godwin
68e0a169c4
Rename pre_ and post_syncdb to *_migrate, with aliases from old names
2013-07-30 11:52:52 +01:00
Andrew Godwin
086389f5fc
Start adding schema migration into the release notes
2013-07-30 11:52:36 +01:00
Tim Graham
05ea5a2139
Fixed #20823 -- Typo in docs/ref/forms/validation.txt
2013-07-29 18:41:08 -04:00
Claude Paroz
fdd7a355bf
Deprecated django.utils.importlib
...
This was a shim for pre-Python 2.7 support.
2013-07-29 17:10:22 +02:00
Justin Michalicek
ac09558760
Fixed #20817 -- Added html_message parameter to django.core.mail.send_mail()
2013-07-29 09:53:47 -04:00
Przemek Lewandowski
382c53d7d8
Fixed #18213 -- Allowed empty fixtures (emit a warning rather than raising an exception).
2013-07-29 08:03:51 -04:00
minusf
70c080fcdb
Misc doc cleanups.
2013-07-29 06:57:33 -04:00
minusf
c694e6220e
Allowed overriding variables in docs/Makefile.
2013-07-29 06:51:54 -04:00
Jannis Leidel
33e6cf5ec3
Fixed #20774 -- Mention the new django-localflavor app as a replacement for the contrib app.
2013-07-29 10:54:53 +02:00
Tim Graham
0b35a2cce3
Fixed ReST typo in topics/class-based-views/mixins.txt
2013-07-28 14:09:29 -04:00
Julien Phalip
0d0ccf81a0
Moved a release note that I had accidentally misplaced in bb145e2c47
.
2013-07-27 19:52:59 -07:00
Julien Phalip
4e0ff35146
Fixed #11195 -- Added CSS classes to the changelist cells to allow style customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch.
2013-07-27 19:50:02 -07:00
Julien Phalip
47c755327b
Fixed a number of minor misspellings.
2013-07-27 18:46:03 -07:00
Tim Graham
8676318d2d
Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.
...
Thanks CollinAnderson for the report.
2013-07-26 14:45:38 -04:00
Andrew Godwin
88e1e6f9f3
A bit more documentation
2013-07-26 16:28:09 +01:00
Loic Bistuer
31fadc1202
Fixed #20625 -- Chainable Manager/QuerySet methods.
...
Additionally this patch solves the orthogonal problem that specialized
`QuerySet` like `ValuesQuerySet` didn't inherit from the current `QuerySet`
type. This wasn't an issue until now because we didn't officially support
custom `QuerySet` but it became necessary with the introduction of this new
feature.
Thanks aaugustin, akaariai, carljm, charettes, mjtamlyn, shaib and timgraham
for the reviews.
2013-07-26 12:41:27 +03:00
Aymeric Augustin
5ed7ec99b6
Added versionadded directive missing from b7bd708
.
2013-07-25 20:14:51 +02:00
Tim Graham
bddb4a6818
Fixed #20769 -- Added "Python compatibility" section to the 1.6 release notes.
2013-07-25 13:03:15 -04:00
Andrew Godwin
f8297f6323
More migration docs, and conversion of all easy syncdb references
2013-07-25 16:19:36 +01:00
mark hellewell
8c9240222f
Fixed #18315 -- Documented QueryDict.popitem and QueryDict.pop
...
Thanks gcbirzan for the report.
2013-07-25 11:06:41 -04:00
Andrew Godwin
06103c8ef5
Small start to migrations documentation
2013-07-25 14:45:38 +01:00
Brenton Cleeland
dab52d99fc
Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
...
Thanks simonb for the report.
2013-07-25 07:38:14 -04:00
Preston Holmes
10f8a21002
Fixed #18168 -- clarified precedence of validation
...
any choices set by formfield_for_choice_field are still subject
to model validation of the model field's choices attribute
2013-07-24 14:58:14 -07:00
Tim Graham
bd0dcc6c89
Fixed #20766 -- Deprecated FastCGI support.
2013-07-24 13:41:45 -04:00
Anssi Kääriäinen
b2314d9e1e
Fixed #19941 -- Modified runtests.py to make running the tests easier.
...
1. Automatically use tests/../django as the Django version.
2. If settings aren't provided through --settings or DJANGO_SETTINGS_MODULE)
then use test_sqlite.
2013-07-24 07:33:03 -04:00
Jon Lønne
5a5d594717
Fixed typo in Custom management commands documentation.
2013-07-24 13:14:32 +02:00
Tim Graham
31c13a99bb
Fixed #14300 -- Fixed initial SQL location if models is a package.
...
Thanks al_the_x for the report and fheinz for the draft patch.
2013-07-24 06:56:33 -04:00
Dominic Rodger
c928725b93
Fixed #20794 -- Documented changes to validate_email
...
4e2e8f39d
changed the way validate_email behaves for foo@localhost
email addresses, but wasn't listed in the release notes.
2013-07-24 10:26:03 +02:00
Tim Graham
65e03a424e
Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objects
...
Thanks laureline.guerin@ and Wedg.
2013-07-23 16:21:23 -04:00
Pedro Mourelle
fb052b528a
Fixed #19900 -- Updated admin buttons to use CSS3 rounded corners.
2013-07-23 11:28:22 -04:00
Thomas Sorrel
bb145e2c47
Fixed #13629 -- Added CSS classes to the `<body>` tag of some admin templates to allow style customizations per app or per model.
2013-07-21 20:17:14 +00:00
Claude Paroz
6d52844b9b
Fixed #18551 -- Enabled skipIfDBFeature/skipUnlessDBFeature to decorate a class
...
Thanks Tim Graham for the review and improved patch.
2013-07-19 20:30:14 +02:00
Matt Deacalion Stevens
a269ea4fe0
Fixed #14656 -- Added Atom1Feed `published` element
...
Some feed aggregators make use of the `published` element as well as
the `updated` element (within the Atom standard -- http://bit.ly/2YySb ).
The standard allows for these two elements to be present in the same
entry. `Atom1Feed` had implemented the `updated` element which was
incorrectly taking the date from `pubdate`.
2013-07-19 10:38:34 -04:00
Tim Graham
e1c737b62f
Merge pull request #1374 from seocam/fix_i18n_docs
...
LocaleMiddleware isn't default anymore (corrected docs)
2013-07-19 03:35:46 -07:00
Tim Graham
4aa006efd0
Merge pull request #1377 from Matt-Stevens/doc-fixes-ref-databases
...
Updated the `databases` documentation
2013-07-19 03:31:15 -07:00
Tim Graham
997e305d24
Merge pull request #1375 from Matt-Stevens/master
...
Fixed Croatia's country code in `localflavor` docs
2013-07-19 02:30:27 -07:00
Tim Graham
4669986228
Merge pull request #1378 from loic/docs
...
Fixed #20772 -- Fixed minor typo in form media docs.
2013-07-19 02:19:24 -07:00
Loic Bistuer
aa41eb9b8b
Fixed #20772 -- Fixed minor typo in form media docs.
2013-07-19 15:48:38 +07:00
Matt Deacalion Stevens
fa217d14a0
Updated the `databases` documentation
...
+ Removed a reference about MySQL storage engines also being
called 'table types', as this term has been deprecated for
8 years and is no longer used.
+ Fixed the link to the official InnoDB storage engine docs.
+ Apache (versions >= 2.4) will always choose a multi-threaded
MPM module on modern operating systems (later than 2002).
2013-07-19 09:01:13 +01:00
Matt Deacalion Stevens
97e5398629
Fix Croatia's country code in `localflavor` docs
...
Croatia's country code is 'HR', not 'CR'.
2013-07-19 09:01:13 +01:00
Sergio Oliveira
cf6c754629
LocaleMiddleware isn't default anymore
...
Changed in @23229061fcb836ecca2195cc75f91e331279a5d1
2013-07-18 21:15:30 -03:00
Tim Graham
dce8945ea6
Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
2013-07-18 12:41:01 -04:00
Tim Graham
d7ba2bf3cf
Merge pull request #1370 from Matt-Stevens/doc-url-fix
...
Fixed broken Atom URLs in syndication docs
2013-07-18 05:47:33 -07:00
Tim Graham
fd95dc9e27
Fixed #20763 -- Typo in tutorial 3.
...
Thanks crichard@ for the report.
2013-07-18 07:58:51 -04:00
Matt Deacalion Stevens
beefc97171
Atom specification URL updated
...
Changed to the URL of the official RFC for Atom, since Atomenabled.org
is just a holding page.
2013-07-18 12:53:54 +01:00
Alasdair Nicol
1131d4191f
Fixed typo in inspectdb docs
2013-07-18 11:37:01 +01:00
Curtis Maloney
a3e7d73ed7
Allowed Context.push to behave as a context mananger.
...
Thanks Loic Bistuer for the review.
2013-07-17 13:32:32 -04:00
Tim Graham
a3242dc9fe
Fixed #20756 -- Typo in uWSGI docs.
2013-07-17 06:50:40 -04:00
Tim Graham
2333c9662b
Fixed #14007 -- Added model discovery in models module without the need to specify app_label.
...
Thanks mark@ and Aramgutang for work on the patch.
2013-07-16 19:32:30 -04:00
Loic Bistuer
fba6c2ede7
Reworked docs for ModelForm validation.
2013-07-16 19:20:53 -04:00
Loic Bistuer
aff0aa3af8
Rephrased the docs for reporting security issues to make it less intimidating.
2013-07-16 17:17:08 +07:00
Tim Graham
862a04a56d
Fixed some markup in docs/ref/templates/api.txt
2013-07-15 11:31:06 -04:00
Tim Graham
2456ffa42c
Fixed #20746 -- Removed Python 2.6 specific code/docs
2013-07-14 13:02:55 -04:00
David Binetti
51b50c47c7
Fixes grammatical error in auth docs
...
Changes "An error will be raise if you try..." to "An error will be raised if you try..."
2013-07-13 20:28:04 -07:00
Claude Paroz
1b142ef5dd
Removed Python 2.6 references in GIS docs
...
Refs #20746 .
2013-07-13 23:08:48 +02:00
Claude Paroz
64099e30e8
Removed obsolete sentence in queries docs
2013-07-13 21:08:44 +02:00
Claude Paroz
7557207983
Fixed #20582 -- Allowed default Form.label_suffix to be translated
...
Thanks Tim Graham for the review.
2013-07-13 16:19:16 +02:00
Tim Graham
a7d97a6778
Fixed #20653 -- Renamed checksetup -> check missed in [ 03465639
]
...
Thanks CollinAnderson for the report.
2013-07-12 12:48:49 -04:00
Karol Sikora
6272d2f155
Fixed #20429 -- Added QuerySet.update_or_create
...
Thanks tunixman for the suggestion and Loic Bistuer for the review.
2013-07-12 08:26:35 -04:00
Joeri Bekker
66f3d57b79
Fixed #19031 -- Added a warning when using override_settings with 'DATABASES'
2013-07-12 07:10:18 -04:00
Tim Graham
3cdeb572d7
Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save()
2013-07-12 06:19:16 -04:00
Christopher Medrela
ac223ff6d1
Fixed #20735 -- clarified ManyToManyField constructor doc
2013-07-12 11:50:08 +02:00
Claude Paroz
59ebe39812
Fixed #17471 -- Added smtplib.SMTP_SSL connection option for SMTP backend
...
Thanks dj.facebook at gmail.com for the report and initial patch
and Areski Belaid and senko for improvements.
2013-07-11 22:00:08 +02:00
Tim Graham
684a606a4e
Fixed #20730 -- Fixed "Programmatically creating permissions" error.
...
Thanks glarrain for the report.
2013-07-11 11:06:34 -04:00
Benjamin Kagia
b0953dc913
Fixed #13721 -- Added UploadedFile.content_type_extra.
...
Thanks Waldemar Kornewald and mvschaik for work on the patch.
2013-07-11 09:11:59 -04:00
Tim Graham
ecd746191c
Fixed #20733 -- Typo in docs/ref/class-based-views/generic-display.txt
...
Thanks ijl20@ for the report.
2013-07-11 07:36:25 -04:00
Tim Graham
77856dc875
Added some missing test requirements in the docs; refs #19196
2013-07-10 12:01:17 -04:00
Tim Graham
4d92a0bd86
Fixed #19196 -- Added test/requirements
2013-07-10 09:24:05 -04:00
Aymeric Augustin
1333967f91
Added 1.7 release notes in TOC.
2013-07-09 23:04:37 +02:00
Loic Bistuer
7e6d852bac
Fixed #20663 -- "Today" and "now" admin shortcuts.
...
Changed the shortcuts next to date and time intput widgets
to account for the current timezone.
Refs #7717 , #14253 and #18768 .
2013-07-09 23:04:33 +02:00
SusanTan
ef3fddf26e
Fixed #18261 -- Clarified 'project root directory'
2013-07-09 07:11:41 -04:00
Tim Graham
dab921751d
Fixed #18944 -- Documented PasswordResetForm's from_email argument as a backwards incompatible change for 1.3
...
Thanks DrMeers for the report.
2013-07-08 15:01:37 -04:00
James Bennett
c0f03175ce
Fixed #19695 -- Retitle "Form Media" to "Form Assets".
2013-07-08 13:59:54 -04:00
Tim Graham
660c30ed95
Fixed #16965 -- Clarified Formset can_delete docs.
...
Thanks gregcorey@ for the suggestion.
2013-07-08 12:08:30 -04:00
Tim Graham
1084575163
Fixed #20493 -- Added a warning that objects may not be picklable across Django versions
...
Thanks cataliniacob for the suggestion and review.
2013-07-08 09:57:50 -04:00
Tim Graham
181f63c22d
Fixed #12346 -- Added a note on how to validate InlineFormSets.
...
Thanks johnsmith for the suggestion.
2013-07-08 08:29:28 -04:00
Jeremy Dunck
9aed3201aa
Clarified trac patch-related field meaning
...
There was some confusion on the mentorship list as to whether 'needs tests'
meant that a given ticket might not need tests, as opposed to flagging
a specific patch as still needing tests.
This commit seeks to clarify that confusion.
2013-07-07 21:17:10 -07:00
Tim Graham
2d96e660f9
Fixed #14006 -- Documented that Field's 'description' attribute is interpolated with field.__dict__
...
Thanks abeld for the suggestion.
2013-07-06 18:33:45 -04:00
Claude Paroz
c94093c5ba
[gis] Dropped official support for GDAL < 1.6
2013-07-06 17:25:46 +02:00
Claude Paroz
de676f94b7
Added release dates for gis libs as doc comments
2013-07-06 17:18:53 +02:00
Claude Paroz
7442eb1a24
Fixed #20224 -- Update docs examples which mention __unicode__
...
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-05 19:27:07 +02:00
Tim Graham
577b0f9189
Fixed #20561 -- Emphasized that QuerySet.distinct([*fields]) is only supported by Postgres.
...
Thanks jtiai for the suggestion.
2013-07-05 07:20:37 -04:00
Tim Graham
b9fceadfd4
Fixed #19539 -- Updated custom model fields example for Python 3.
...
Thanks astorije@ for the report.
2013-07-05 06:54:10 -04:00
hekevintran
62a826ab31
fixed grammar
2013-07-04 12:31:58 -07:00
Tim Graham
da5069f68f
Fixed #20134 -- Correct list of fields that UserManager requires.
...
Thanks semenov and pegler.
2013-07-04 10:19:00 -04:00
Tim Graham
f407f75aae
Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.
...
Thanks littlepig for the report.
2013-07-04 09:32:32 -04:00
Tim Graham
428de2e339
Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique constraints.
...
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.
2013-07-04 07:53:13 -04:00
Tim Graham
231e31c690
Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
...
Thanks rene@ for the suggestion.
2013-07-04 05:44:22 -04:00
SusanTan
067e0424ce
Fixed #20609 -- Documented how to use request.user with RequestFactory
...
Thanks michel@ for the suggestion.
2013-07-03 11:05:03 -04:00
Tomáš Ehrlich
c5bc98d7e1
Fixed #20687 -- Added documentation for django.core.signing API.
...
Thanks Baptiste Mispelon for the suggestion.
2013-07-03 10:36:21 -04:00
Tim Graham
8a679386c3
Fixed #20691 -- Added a note for __str__() vs. __unicode__() and Python 3.
...
Thanks garrison for the suggestion.
2013-07-03 08:44:03 -04:00
Tim Graham
3632d289de
A couple more semicolon -> colon fixes; refs #18134 .
2013-07-02 14:14:56 -04:00
Ben Firshman
8160e6341d
Fix "semicolon" in docs
2013-07-02 17:52:54 +01:00
Aymeric Augustin
6c66a41c3d
Relied on NullHandler from the logging stdlib module.
2013-07-01 23:16:25 +02:00
Aymeric Augustin
6a0374d037
Reflected the new default value of LOGGING_CONFIG in docs.
2013-07-01 23:16:25 +02:00
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
Claude Paroz
3d883e8bd9
Merge pull request #1232 from fusionbox/normalize_email
...
Fixed #20531 -- Don't hard-code class names when calling static methods
2013-05-31 00:56:56 -07:00
Ramiro Morales
ac90aee55c
Tweak caching decorators/utility functions xrefs.
2013-05-30 20:38:44 -03:00
Tim Graham
36aecb12b8
Fixed #19425 - Added InlineModelAdmin.get_extra hook.
...
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-30 13:48:10 -04:00
Tim Graham
5074c75a37
Fixed #16856 - Added a way to clear select_related.
...
Thanks Carl for the suggestion and David Cramer for the patch.
2013-05-30 11:06:05 -04:00