0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

1604 Commits

Author SHA1 Message Date
Tim Graham
51c8045145 Removed versionadded/changed annotations for 1.6. 2014-03-24 11:42:56 -04:00
Adam Kaliński
ec08d62a20 Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
Thanks EvilDMP for the suggestion.
2014-03-24 09:41:04 -04:00
Tim Graham
60d2dde286 Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.
Thanks valgarv at gmx.net for the report.
2014-03-24 09:19:27 -04:00
Moayad Mardini
bff77e2aa8 Fixed #22265 -- Clarfied consistent behavior of migrations.
Thanks aruseni for the report.
2014-03-24 07:27:04 -04:00
Claude Paroz
3a97f992fb Fixed #22313 -- Removed 'u' prefixes from documentation 2014-03-22 21:32:20 +01:00
Tim Graham
ee4edb1eda Made ModelForms raise ImproperlyConfigured if the list of fields is not specified.
Also applies to modelform(set)_factory and generic model views.

refs #19733.
2014-03-22 07:56:48 -04:00
Tim Graham
4965a77407 Removed PIL compatability layer per deprecation timeline.
refs #19934.
2014-03-21 10:54:53 -04:00
Tim Graham
aa93a1890f Removed contrib.comments per deprecation timeline. 2014-03-21 07:05:36 -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