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