Moayad Mardini
d3bf537324
[1.7.x] Fixed #22349 -- Added a note clarifying `RawQuerySet` has no `__len__`.
...
Thanks cdestigter for the report.
Backport of 2d425116e2
from master
2014-06-12 16:42:39 -04:00
Maxime Turcotte
de0e285be8
[1.7.x] Fixed #22801 -- Added 'www.' to diveintopython.net links
...
Backport of f97c53c098
from master
2014-06-10 15:39:05 -04:00
Tim Graham
0767055dfc
[1.7.x] Fixed #22770 -- Removed create_superuser from post_migrate signals.
...
Moved logic to syncdb command for backwards compatibility.
Backport of 93d05536fd
from master
2014-06-10 15:00:12 -04:00
Tim Graham
e108da65fe
[1.7.x] Corrected some indentation in docs/topics/auth/default.txt.
...
Backport of 34f4fd7024
from master
2014-06-10 09:19:38 -04:00
Tim Graham
417da8a782
[1.7.x] Doc edits for refs #22487 .
...
Backport of c17cd151d8
from master
2014-06-09 12:16:04 -04:00
Andrew Godwin
08218252d8
[1.7.x] Fixed #22487 : Optional rollback emulation for migrated apps
...
Conflicts:
django/db/backends/creation.py
django/test/runner.py
docs/ref/settings.txt
docs/topics/testing/advanced.txt
2014-06-08 19:33:52 -07:00
Andrew Godwin
98949e3b10
[1.7.x] Fixed #22436 : More careful checking on method ref'ce serialization
2014-06-07 17:06:06 -07:00
Éric Araujo
4ad299f287
[1.7.x] Fix missing highlighting in some code examples
...
Backport of 84cafc2b35
from master
2014-06-05 15:14:14 -04:00
Tim Graham
868b5e5e95
[1.7.x] Fixed #22747 -- Add backwards compatibility tip for new behavior of formset.save(commit=False).
...
Thanks django at patjack.co.uk.
Backport of 2f7a7842ba
from master
2014-06-04 12:42:23 -04:00
Jonathan Lindén
a83c56a45a
[1.7.x] Fixed #21938 -- Moved documentation for error views to reference guide.
...
Backport of 5b98ba08e2
from master
2014-06-01 13:07:19 -04:00
Moayad Mardini
5d7ad16a1b
[1.7.x] Fixed #22601 -- Added a note about model inheritance.
...
Thanks semenov for the report.
Backport of 2ea1e70b85
from master
2014-05-27 20:11:51 -04:00
Marc Tamlyn
be733bf672
[1.7.x] Fixed #22510 -- Harden field removal to only None.
...
Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
Backport of 9fb0f5dddc
from master
2014-05-24 13:11:50 +01:00
Claude Paroz
1f6b3cf145
[1.7.x] Fixed #20816 -- Added hints about Django middleware ordering
...
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
Backport of 756c390fb5
from master.
2014-05-22 18:34:00 +02:00
Niclas Åhdén
aa9a146a69
[1.7.x] Fixed #22639 -- Added missing imports in docs
...
Added ModelForm and NON_FIELD_ERRORS imports.
Backport of 64ee097b3b
from master
2014-05-21 11:20:38 -04:00
Niclas Åhdén
0504d19db0
[1.7.x] Fixed #22622 -- Added ugettext_lazy import in docs
...
Backport of 7271f5db78
from master
2014-05-16 11:20:58 -04:00
Claude Paroz
e8a7436941
[1.7.x] Harmonized some PEP 0263 coding preambles
...
Backport of e520a73ee
from master.
2014-05-15 20:01:31 +02:00
Haris Ibrahim K. V
81aeffccf3
[1.7.x] Fixed typo in transactions.txt
...
Backport of f2a8e47cfd
from master
2014-05-13 07:28:43 -04:00
Andrew Godwin
1ed876ee5b
[1.7.x] Improve docs around deconstruction/serialisation (refs #22337 )
2014-05-06 23:07:10 -07:00
Tim Graham
6a6f294f51
[1.7.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.
...
Thanks adminq80 at gmail.com.
Backport of 87776859af
from master
2014-05-05 06:42:21 -04:00
Tim Graham
6d4df45e29
[1.7.x] Fixed #22442 -- Provided additional documentation regarding id fields clashing.
...
Thanks benjaoming for raising the issue and Loic for the examples.
Backport of 8ec388a69d
from master
2014-04-30 07:38:31 -04:00
Aymeric Augustin
95c5e244fe
[1.7.x] Fixed #22523 -- Clarified pytz requirement.
...
Thanks z for the report and timo for the proposal.
Backport of 0fb7570
from master
2014-04-29 08:34:00 +02:00
Tim Graham
1d20693fa6
[1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"
...
This reverts commit 4fdd51b732
.
See the ticket for concerns with this implementation; it will be revisited.
Backport of aabceadd7d
from master
2014-04-28 18:49:24 -04:00
Tim Graham
305ab00087
[1.7.x] Fixed #22254 -- Noted the requirement of calling django.setup() when running
...
Thanks Peter Landry for the report.
Backport of 26b03f2526
from master
2014-04-28 12:43:50 -04:00
Zhaorong Ma
c73d8c41e4
[1.7.x] Fix a typo in logging.txt
...
Backport of dd3f3e4e89
from master
2014-04-28 11:21:57 -04:00
Tim Graham
63ae243a13
[1.7.x] Fixed #22497 -- Highlighted difference between field and class deconstruction.
...
Thanks nliberg for the suggestion.
Backport of b829d53b37
from master
2014-04-28 08:20:26 -04:00
Tim Graham
23f3c53aff
[1.7.x] Fixed #22445 -- Added how to perform a reverse data migration to topic guide.
...
Thanks Karen Tracey for the report.
Backport of 1ce759b69f
from master
2014-04-27 15:21:07 -04:00
Tim Graham
b89bbb3c21
[1.7.x] Improved formatting and links of migration docs.
...
Backport of ab8d8e00c9
from master
2014-04-27 15:06:08 -04:00
Claude Paroz
e441cebce3
[1.7.x] Updated doc links to point to Python 3 documentation
...
Backport of 680a0f08b
from master.
2014-04-26 16:03:40 +02:00
Claude Paroz
abd68b5aff
[1.7.x] Fixed #22507 -- Clarified nature of the sender argument of signals
...
Backport of d1f93e9c1e
from master.
2014-04-25 23:16:24 +02:00
Tim Graham
c050ce7de2
[1.7.x] Fixed #22504 -- Corrected domain terminology in security guide.
...
Thanks chris at chrullrich.net.
Backport of f65eb15ac6
from master
2014-04-25 10:29:18 -04:00
Moayad Mardini
ae15356061
[1.7.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection
...
Thanks Erik Romijn for the suggestion.
Backport of 3776926cfe
from master
2014-04-25 09:56:04 -04:00
Marti Raudsepp
ba1728dd9b
[1.7.x] Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
Backport of 11d453bcad
from master
2014-04-22 20:10:58 -04:00
Ray Ashman
4499c676ef
[1.7.x] Updated grammar in description of django.contrib.auth.
...
Backport of 9853779805
from master
2014-04-22 18:29:03 -04:00
Erik Romijn
34526c2f56
[1.7.x] Fixed queries that may return unexpected results on MySQL due to typecasting.
...
This is a security fix. Disclosure will follow shortly.
Backport of 75c0d4ea3a
from master
2014-04-21 18:29:39 -04:00
Tim Graham
0086c9eb48
[1.7.x] Fixed #22417 -- Added additional documentation for refs #16969 .
...
Thanks Jon Foster for the report.
Backport of 1b3a3fc1e4
from master
2014-04-19 21:41:28 -04:00
Erik Romijn
1dc4a8daec
[1.7.x] Fixed #22471 -- Corrected misprint in i18n docs
...
Backport of 54d5c37de6
from master.
2014-04-18 15:09:58 +02:00
Mariano Rezk
841e21a85c
[1.7.x] Fixed #22455 -- Documented return values for send_mail and send_mass_mail
...
Backport of 7cd74fc96e
from master.
2014-04-16 17:38:22 -04:00
Tim Graham
c064971e6b
[1.7.x] Fixed spelling errors in documentation.
...
Backport of b5ce21accb
from master
2014-04-16 09:39:25 -04:00
Tim Graham
62ac77fa23
[1.7.x] Added a note regarding django.contrib.auth.authenticate.
...
Thanks Josh Brown for the suggestion.
Backport of ae5b662796
from master
2014-04-16 07:49:33 -04:00
Mariano Rezk
5672b29d57
[1.7.x] Fixed #22443 -- Document smtp.EmailBackend.timeout default value
...
Django 1.7 introduces a new timeout parameter for the SMTP email backend:
http://docs.djangoproject.com/en/dev/topics/email/#django.core.mail.backends.smtp.EmailBackend.timeout
However, there was no mention of the default value for this parameter.
Backport of 4e3d8ae610
from master.
2014-04-15 17:48:45 -04:00
Andrew Godwin
a195ec847e
[1.7.x] Improve migrations/schema docs
2014-04-14 18:09:48 -04:00
Claude Paroz
a6eda3a5fc
[1.7.x] Also allowed a non-overridden setting to be deleted
...
Refs #20032 , #18824 . Thanks ztorstri at gmail.com for the report.
Backport of 3417ba0309
from master.
2014-04-12 15:35:11 +02:00
Claude Paroz
d9f8cc12ae
[1.7.x] Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase ones
...
Thanks aptiko for the report and Tim Graham for the review.
Backport of 3e3a7372f5
from master.
2014-04-12 11:43:10 +02:00
Tim Graham
593e72c141
[1.7.x] Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.
...
Thanks Josh Kupershmidt.
Backport of c487b1e230
from master
2014-04-10 19:33:39 -04:00
Shai Berger
3a9a4570ef
[1.7.x] Fixed #22343 -- Disallowed select_for_update in autocommit mode
...
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.
Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.
Backport of b990df1d63 from master
2014-04-10 01:44:30 +03:00
Anubhav Joshi
2cb7013179
[1.7.x] Fixed #16205 -- Added an installation for Windows.
...
Backport of d35d2f61c5
from master
2014-04-08 11:28:58 -04:00
Anubhav Joshi
d9c7d9eb6e
[1.7.x] Fixed #9535 -- Added a reference guide for file upload classes.
...
Backport of c8c2b8a638
from master
2014-04-08 10:09:01 -04:00
Tim Graham
38679254bf
[1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc.
...
Backport of d2f4553d70
from master
2014-04-05 18:17:13 -04:00
Tim Graham
5891fd3f89
[1.7.x] Fixed #21649 -- Added optional invalidation of sessions when user password changes.
...
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.
Backport of fd23c06023
from master
2014-04-05 13:01:03 -04:00
Vishal Lal
36d1e3725f
[1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation.
...
Thanks nliberg for the report.
Backport of ca93f02c62
from master
2014-04-02 13:01:03 -04:00
Ramiro Morales
422f5d9a2c
[1.7.x] Corrected an import in a model form docs example.
...
cb5dd99bb4
from master.
2014-03-30 20:34:29 -03:00
Tim Martin
e2e773c04a
[1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
...
Thanks cjerdonek for the report.
Backport of a779757706
from master
2014-03-27 07:02:02 -04:00
Adam Kaliński
eb1600e9d1
[1.7.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
...
Thanks EvilDMP for the suggestion.
Backport of ec08d62a20
from master
2014-03-24 09:45:50 -04:00
Tim Graham
57a373b08c
[1.7.x] Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.
...
Thanks valgarv at gmx.net for the report.
Backport of 60d2dde286
from master
2014-03-24 09:19:46 -04:00
Moayad Mardini
f847aeb6f8
[1.7.x] Fixed #22265 -- Clarfied consistent behavior of migrations.
...
Thanks aruseni for the report.
Backport of bff77e2aa8
from master
2014-03-24 07:27:27 -04:00
Simon Charette
cc5804bcab
Amended login required mixin documentation to honor **initkwargs.
2014-03-17 18:45:06 -04:00
Tim Graham
5840445664
Fixed #22006 -- Documented how to write a login_required mixin for CBVs.
...
Thanks django at patjack.co.uk for the suggestion and mockforest
for the draft patch.
2014-03-17 06:49:59 -04:00
Dejan Noveski
958b511a80
Fixed #22262 -- Added the correct line in the last example of Translator lines
2014-03-13 14:13:27 +01:00
Iain Dawson
c8823cf481
Fixed a grammar error in topics/i18n/translation.
...
Hooks are quantum; you can not have an amount of them.
2014-03-13 10:04:30 +01:00
Akis Kesoglou
aaad3e27ac
Fixed #22217 - ManyToManyField.through_fields fixes.
...
- Docs description of arguments mix up.
- Keep it from erroneously masking E332 check.
- Add checks E338 and E339, tweak message of E337.
2014-03-11 19:33:04 -03:00
Aymeric Augustin
1be31c320c
Fixed #21875 -- Clarified that get_user_model() only works at run time.
...
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00
Shai Berger
0615eaf24a
Corrected a few missed references to old test settings
2014-03-09 08:33:33 +02:00
Akis Kesoglou
c627da0ccc
Fixed #14549 - Removed restriction of single FKs on intermediary tables
...
Thanks to Loic Bistuer for review. Minor changes to error messages
done by committer.
2014-03-05 22:33:58 +02:00
zedr
6fe22b30e0
Fixed #22085 -- Added a feature for setting non-expiring keys as the default.
...
This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
so that cache instances can set a non-expiring key as the default,
instead of using the default value of 5 minutes.
Previously, this was possible only by passing `None` as an argument to
the set() method of objects of type `BaseCache` (and subtypes).
2014-03-04 21:16:35 +01:00
Alex de Landgraaf
c8d61fa109
Fixed #21986 -- Added some guidelines for database indexes.
...
Thanks django-issues at colons.co for the suggestion.
2014-03-03 11:16:41 -05:00
Rodolfo Carvalho
2b6436e2d5
Fixed some typos and formatting issues in docs.
2014-03-03 08:37:17 -05:00
Russell Keith-Magee
21d8175242
Fixed #22193 -- Made hint a truly optional arugment on check messages.
...
Thanks to Thomas Güttler for the suggestion.
2014-03-03 19:16:19 +08:00
Russell Keith-Magee
5679fce87c
Added first cut at reference documentation for the checks framework.
2014-03-03 18:56:11 +08:00
Baptiste Mispelon
ea4da8e63c
Fixed some typos in the documentation.
...
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
2014-03-02 17:05:57 +01:00
Sergey Kolosov
8c98f39624
Fixed #15318 -- Added settings for language cookie max-age, path, domain
...
Introduced a number of settings to configure max-age, path, and domain
for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and
LANGUAGE_COOKIE_DOMAIN.
Thanks sahid for the suggestion.
2014-03-01 07:52:45 -05:00
Tim Graham
1f5f015c32
Fixed spelling mistakes in docs.
2014-02-28 21:03:46 -05:00
Tim Graham
7f2505ad9e
Fixed doc typos.
2014-02-28 11:44:03 -05:00
Tim Graham
4132e013ec
Removed a nonexistent link in the docs.
2014-02-25 11:28:36 -05:00
Rik
355572ac56
Fixed #12670 -- Added a note about permissions of files stored in FILE_UPLOAD_TEMP_DIR.
...
Thanks simon29 for the suggestion.
2014-02-25 11:19:31 -05:00
Henk Vos
e65c0ccac0
Fixed #22071 -- Added a warning regarding override_settings and aliasing.
...
Thanks EvilDMP for the suggestion.
2014-02-25 10:48:27 -05:00
Szczepan Cieślik
e816198034
Fixed docs typos.
2014-02-25 10:28:32 -05:00
Daniele Procida
4f7b7ef683
Merge pull request #2363 from nheyning/22019_add_objects_doc
...
Fixed #22019 -- added documentation on Model attributes
2014-02-23 17:35:43 +01:00
Nicolaas Heyning
e1d2a0bd04
added documentation on Model attributes
2014-02-23 17:16:12 +01:00
Marcin Sokół
b887408486
Fixed #22113 -- changed object_name to model_name in CBV docs.
...
Thanks to trac user nikunj.sg for the report.
2014-02-22 23:36:54 +01:00
Greg Chapple
ede99f0ec3
Fixed #22032 -- added documentation for settings.MIGRATION_MODULES
2014-02-22 20:14:41 +01:00
Erik Romijn
8cd32f0965
Fixed #22120 -- Documented persistent activation of languages and cleaned up language session key use
2014-02-22 18:29:06 +01:00
Martin Matusiak
d399731bf2
Fixed #22007 -- Fixed cbv docs - make imports consistent
...
Thanks to trac user kinjal.dixit for the report.
2014-02-22 14:39:09 +01:00
David Sanders
adcedfe8ba
Capitalize SQL keywords
2014-02-20 11:32:04 -07:00
David Sanders
6dfd02f88c
Capitalize SQL keywords
2014-02-20 11:26:59 -07:00
Tim Graham
821fc925f0
Fixed #22093 -- Made Form.Meta.fields examples consistent.
...
Thanks david-schultz at gmx.net for the suggestion.
2014-02-19 12:29:47 -05:00
Loic Bistuer
99416c7ad0
Added an example to the release notes for custom reverse managers.
2014-02-19 07:45:24 -05:00
Grzegorz Rożniecki
57ba5bf97b
Added some links in i18n documentation
2014-02-16 14:50:32 +01:00
Grzegorz Rożniecki
bb83a32623
Fixed two typos in documentation
2014-02-16 14:50:32 +01:00
MattBlack85
653527de40
Fixed #18745 - Documentation change explaining tuple to list with signing.
...
Thanks to lee for the report.
2014-02-16 13:12:49 +01:00
Zbigniew Siciarz
94b5bc361a
Fixed #22002 -- Documented avoiding database interaction in AppConfig.ready().
...
Thanks Marc Tamlyn for the suggestion.
2014-02-15 13:50:31 -05:00
Rodolfo Carvalho
3d898b0e12
Change analyse (British) to analyze (American).
2014-02-15 13:00:56 +01:00
Lukasz Balcerzak
0242134d32
Fixed #17942 -- Added a JsonResponse class to more easily create JSON encoded responses.
...
Thanks leahculver for the suggestion and Erik Romijn,
Simon Charette, and Marc Tamlyn for the reviews.
2014-02-14 18:25:19 -05:00
Antoine Catton
e3d0790bd0
Fixed #21177 -- Made resolve_url support relative URLs.
...
This fixes redirecting to relative URLs with django.shortcuts.redirect.
2014-02-14 17:58:03 -05:00
Alasdair Nicol
8aa1efff6d
Fixed #21951 -- Updated docs to use __str__ for Python 3
...
Thanks Tim Graham for the report and recommendations
2014-02-13 07:12:40 -05:00
Andrew Godwin
dbe82e74f2
Add reference documentation for operations and stubs for schemaeditor.
2014-02-12 18:53:35 +00:00
Chris Bailey
c5395eef76
Allowed a message to be passed to assertQuerysetEqual to make it consistent with other assert methods.
2014-02-10 05:21:23 -05:00
Loic Bistuer
8847a0c601
Fixed #16192 -- Made unique error messages in ModelForm customizable.
...
Overriding the error messages now works for both unique fields, unique_together
and unique_for_date.
This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS
since previously only fields' errors were customizable.
Refs #20199 .
Thanks leahculver for the suggestion.
2014-02-08 04:59:09 -05:00
Loic Bistuer
f265c1ef13
Fixed gendered examples in the docs.
2014-02-05 14:58:50 -05:00
Andrew Godwin
5dc4a8652c
Add an extra warning about custom save methods in migrations docs.
2014-01-28 14:10:40 +00:00
Aymeric Augustin
8e1fc03491
Fixed typo. Refs #21836 .
2014-01-26 09:30:10 +01:00
Aymeric Augustin
9ffab9cee1
Moved RequestSite and get_current_site.
...
Following the app-loading refactor, these objects must live outside of
django.contrib.sites.models because they must be available without
importing the django.contrib.sites.models module when
django.contrib.sites isn't installed.
Refs #21680 . Thanks Carl and Loic for reporting this issue.
2014-01-26 08:50:47 +01:00
Chris Jerdonek
798fd59fad
Fixed #21836 -- Improved transaction docs about autocommit mode
...
Clarified that queries in autocommit mode are committed immediately
only if a transaction has not already been started. Added to the
main transaction docs that Django's TestCase class implicitly wraps
its tests in transactions.
2014-01-25 21:20:17 +01:00
Aymeric Augustin
2ff93e027c
Fixed #21829 -- Added default AppConfigs.
...
Thanks Russell for the report, Marc for the initial patch, Carl for the
final review, and everyone who contributed to the design discussion.
2014-01-25 10:41:56 +01:00
Tom Atkins
3b869b09d0
Fixed #21847 -- Clarified where ContactForm was defined
2014-01-23 13:48:09 -05:00
Andrew Godwin
b8c8241945
Add docs about converting from South
2014-01-23 11:45:25 +00:00
Baptiste Mispelon
05d36dc06e
Always use parentheses when documenting a method with no arguments.
2014-01-22 22:26:10 +01:00
Baptiste Mispelon
79e1d6ebd7
Don't show `self` in the list of arguments of a method.
...
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].
[1] http://sphinx-doc.org/markup/desc.html#dir-method
Refs #21855 .
2014-01-22 22:17:32 +01:00
Tim Graham
5f9790072d
Fixed #20834 -- Described how caching of user permissions works.
...
Thanks Giggaflop and Jennifer Casavantes.
2014-01-22 13:08:51 -05:00
Tim Graham
6f06c749b7
Fixed #21726 -- Clarified that password should not be included in REQUIRED_FIELDS.
...
Thanks russellm for the report.
2014-01-22 10:17:44 -05:00
Russell Keith-Magee
d818e0c9b2
Fixed #16905 -- Added extensible checks (nee validation) framework
...
This is the result of Christopher Medrela's 2013 Summer of Code project.
Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian
Apolloner, and Alex Gaynor for review notes along the way.
Also: Fixes #8579 , fixes #3055 , fixes #19844 .
2014-01-20 10:45:21 +08:00
Andrew Godwin
6bbb820014
Fixed #21290 : Documented migration serializing and improved error
2014-01-19 19:27:30 +00:00
Tim Graham
5c7ac7494a
Fixed #18907 -- Correct docs regard population of model backrefs.
...
Thanks simonpercivall for the report and Aymeric for the patch.
2014-01-19 09:35:59 -05:00
Tim Graham
b87c59b04b
Removed some unnecessary __exact operators in filters.
2014-01-17 18:12:45 -05:00
Tim Graham
dd98ccd482
Fixed #16785 -- Documented some of the design decisions of the cache framework.
...
Thanks jamesp for the draft patch.
2014-01-16 21:13:08 -05:00
Claude Paroz
2a31d00933
Fixed #21740 -- Stopped using mutable default arguments in test client
...
Thanks Denver Coneybeare for the report and initial patch, and
Atala for another patch.
2014-01-16 17:44:20 +01:00
Tim Graham
a6e3fb80b0
Fixed #21343 -- Noted many-to-many restrictions with intermediate model.
...
Thanks EvilDMP for the report.
2014-01-16 08:38:40 -05:00
Tim Graham
d35f2bfd5b
Fixed #21727 -- Added some links to help clarify topics/auth/default.txt
...
Thanks daGrevis for the suggestion.
2014-01-16 07:16:09 -05:00
Tim Graham
9e5033b302
Fixed #21747 -- Added {% elif %} to template topics guide.
...
Thanks gcc for the suggestion.
2014-01-16 07:07:53 -05:00
Unai Zalakain
9eb16031ca
Fixed #12571 -- Attached originating WSGIRequest to test client responses.
...
Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of
the ``HttpResponse`` returned by the testing client.
Thanks rvdrijst for the suggestion.
2014-01-09 18:50:03 -05:00
Claude Paroz
c717ebbfec
Fixed #21730 -- Removed superfluous db_index in custom auth docs
...
Thanks rafalp for the report.
2014-01-04 16:11:21 +01:00
Tim Graham
4d27d311f6
Fixed a sentence in the session security docs; thanks claudep.
2014-01-03 12:02:58 -05:00
Frank Tobia
6dd8631617
Fixed typos. Changed grammar.
...
Minor typos. Some grammar changes.
2014-01-02 14:22:52 -05:00
Tim Graham
4d8d76e7a8
Fixed #21484 -- Documented that SQL logging does not include "framework level" queries.
2013-12-31 13:02:01 -05:00
Claude Paroz
b8e3373f45
Fixed #21714 -- Moved logging configuration to global setup()
...
Thanks Aymeric Augustin for the report and the review.
2013-12-31 18:35:00 +01:00
Aymeric Augustin
1d23d766ab
Renamed AppConfig.setup to ready.
...
Thanks Jannis and Marc for the feedback.
Fixed #21717 .
2013-12-31 18:04:54 +01:00
Tim Graham
69f0249d7b
Fixed #19395 -- Added a simple example logging config.
...
Thanks ken.nelson at maclaren.com.
2013-12-31 10:20:44 -05:00
Tim Graham
9953e98e6a
Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.
...
Thanks cjerdonek for the suggestion.
2013-12-31 08:14:09 -05:00
Tim Graham
270f7e2167
Fixed #21708 -- Added some headings to separate unrelated topics.
...
Thanks ashley at ashleymills.com for the suggestion.
2013-12-30 17:55:12 -05:00
Aymeric Augustin
c31d7c4813
Updated advice on connecting signals at startup.
2013-12-30 22:11:17 +01:00
Aymeric Augustin
99649ddcb2
Assumed Python 3 throughout docs/intro.
...
Various small fixes while I was proof-reading.
2013-12-30 19:09:45 +01:00
Tim Graham
81a5e35c8d
Fixed doc indentation in previous commit.
2013-12-28 11:33:24 -05:00
ijl
71a03e01aa
Fixed #20346 -- Made cache middleware vary on the full URL.
...
Previously, only the URL path was included in the cache key.
Thanks jamey for the suggestion.
2013-12-28 11:20:18 -05:00
Aymeric Augustin
c81fae6b95
Used app_label instead of appname.
...
The last component of the dotted path to the application module is
consistently referenced as the application "label". For instance it's
AppConfig.label. appname could be confused with AppConfig.name, which is
the full dotted path.
2013-12-28 09:53:02 +01:00
Tim Graham
85270ef3f5
Fixed #21650 -- Corrected bad advice for plural translation.
...
Thanks nedbatchelder and claudep.
2013-12-27 10:02:22 -05:00
Tim Graham
025ec2e7fe
Fixed #21582 -- Corrected URL namespace example.
...
Thanks oubiga for the report.
2013-12-26 20:04:28 -05:00
Tim Graham
d8d83777eb
Fixed #21629 -- Added instructions for loading MySQL time zone definitions.
...
Thanks Aymeric for the suggestion.
2013-12-26 15:50:33 -05:00
Aymeric Augustin
5241763c81
Added modify_settings to alter settings containing lists of values.
2013-12-23 21:37:43 +01:00
Tim Graham
23d9f517dc
Fixed #21585 -- Updated some links to 3rd party database projects.
...
Thanks graeme.perrow at sap.com for the original report.
2013-12-18 18:48:21 -05:00
Tianyi Wang
b62031441b
Fixed #21625 -- incorrect documentation for DiscoverRunner.build_suite
2013-12-18 14:12:04 +01:00
Baptiste Mispelon
e904d421d0
Added internal link to i18n documentation.
2013-12-15 01:50:54 +01:00
Alasdair Nicol
1fa681ee11
Fixed #21539 -- Added example of modelformset_factory's form argument
2013-12-14 16:35:14 -05:00
Marti Raudsepp
75ec1fdf16
Clarifed table rewrites in migration docs.
...
Small nitpicks. All column-related ALTER TABLE commands take an
exclusive table lock in PostgreSQL. The difference is that adding a
column without default doesn't cause a table rewrite, so the lock is
held only for a short time.
The time taken is more accurately proportional to table size, not row
count.
2013-12-14 12:34:45 -05:00
Chris Jerdonek
d599b590eb
Fixed #21614 -- improved docs on configuring email for development.
2013-12-14 11:20:38 -05:00
johannes-gehrs
f685f94c98
Fixed #21580 -- Clarified why render() does not return a TemplateResponse object.
2013-12-13 18:56:18 -05:00
Christian Schmitt
744aac6dac
Fixed #21560 -- missing 'slug' field in example code
...
I updated the documentation, that the modelform now includes the 'slug' field.
2013-12-09 22:54:11 +01:00
Claude Paroz
626bdf648a
Updated a bunch of hyperlinks in documentation
2013-12-08 18:40:09 +01:00
Frank Wiles
164df40501
Fixing manager documentation inaccuracy
2013-12-04 18:03:28 -06:00
Ramiro Morales
abb04f1f3f
Added link to localized formatting doc from main index.
2013-12-04 10:26:03 -03:00
Tim Graham
f3e7ab366c
Removed gender-based pronouns per [ c0a2daad78
].
2013-11-30 08:37:15 -05:00
Claude Paroz
50a8ab7cd1
Enabled makemessages to support several translation directories
...
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and
Tim Graham for the reviews.
Also fixes #16084 .
2013-11-30 11:00:23 +01:00