1
0
mirror of https://github.com/django/django.git synced 2025-04-24 01:04:39 +00:00

2327 Commits

Author SHA1 Message Date
Oliver Meinusch
9766ed6a0e [1.7.x] Fixed QuerySet datetimes argument name in docs.
Backport of 6b39401baf from master
2014-10-27 19:49:50 -04:00
Claude Paroz
b42930e4b7 [1.7.x] Fixed #23446 -- Officially recommended mysqlclient as MySQL driver
Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
Backport of 7f089ac2e3 from master.
2014-10-27 09:17:31 +01:00
James Doherty
69b5428c12 [1.7.x] Fixed typo in docs/ref/request-response.txt
Backport of adf8fb34ce from master
2014-10-24 07:49:47 -04:00
wrwrwr
a2ebbf8916 [1.7.x] Fixed a typo in urlencode documentation.
Backport of 62a53bdf11 from master
2014-10-19 19:20:28 -04:00
Jon Dufresne
37ab955d69 [1.7.x] Fixed #23676 -- Rearranged sentence; "by default" applies only to max length
Backport of c1b9f99a81 from master
2014-10-18 06:56:12 -04:00
Tim Graham
a1a54b00d2 [1.7.x] Fixed #23667 -- Incorrect settings reference for language cookie.
Thanks jamesbeith for the report.

Backport of bedd439297 from master
2014-10-16 19:42:05 -04:00
Rigel Di Scala
e8262b5941 [1.7.x] Fixed #23615 -- Validate that a Model instance's "check" attribute is a method.
The "check" name is a reserved word used by Django's check framework,
and cannot be redefined as something else other than a method, or the check
framework will raise an error.

This change amends the django.core.checks.model_check.check_all_models()
function, so that it verifies that a model instance's attribute "check"
is actually a method. This new check is assigned the id "models.E020".

Conflicts:
	docs/ref/checks.txt

Backport of a5c77417a6 from master
2014-10-17 00:36:43 +07:00
mcgeeco
b729ef0bda [1.7.x] Fixed #12008 -- Clarified relationship between template blocks and includes.
Thanks Daniele Procida for suggested wording.

Backport of 80b8d3bee0 from master
2014-10-16 10:54:35 -04:00
Dori
d2a2af67f7 [1.7.x] Fixed #23639 -- Fixed doc error in RegexValidator.regex
Thanks to @claudep for the report and the original patch.

Backport of c48a29a02a457cfdb1cff11009401459ba24e870 from master.
2014-10-12 13:02:27 +01:00
Tim Graham
625480cf08 [1.7.x] Fixed #23631 -- Removed outdated note on MySQL timezone support.
Thanks marfire for the report.

Backport of 9db3653670 from master
2014-10-10 15:22:36 -04:00
Markus Holtermann
71988ed953 [1.7.x] Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column into a NOT NULL one due to existing rows
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.

Backport of f633ba778d from master
2014-10-09 22:41:27 +07:00
Tim Graham
dbd52f339c [1.7.x] Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.
Thanks Rolandde for the report.

Backport of 87eedfff44 from master
2014-10-06 17:46:26 -04:00
Carl Meyer
b3569b3a82 [1.7.X] Fixed #23602 -- Add comment on get_absolute_url regarding user input
Backport of 04bd84786d39b8a17620dfb3b354599d8d95417b from master.
2014-10-06 11:30:33 -06:00
Kostochko Dmitriy
2999bf055a [1.7.x] Updated links in admin docs to use :ref:
per Sphinx docs: "Using ref is advised over standard reStructuredText
links to sections because it works across files, when section headings
are changed, and for all builders that support cross-references.

Backport of 13409b932a from master
2014-10-06 10:46:43 -04:00
Ismail Badawi
e9609fb7a1 [1.7.x] Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
Backport of e501d4c505 from master
2014-10-06 08:24:07 -04:00
Erik Romijn
d2f01afed0 [1.7.x] Made minor typographic correction to SECRET_KEY docs.
Backport of 2bb00b0b0b5232aff806c8a9b3f1126c1cf79221 from master.
2014-10-04 10:34:50 +02:00
Erik Romijn
ab8afafcc0 [1.7.x] Fixed #22310 -- Documented exact usage of SECRET_KEY
Backport of 4ad57bbe31bc1813264824111de2f9f74dbda0d6 from master.
2014-10-04 09:25:11 +02:00
jnothman
b21ec1ab6e [1.7.x] Added flat=False to signature of QuerySet.values_list()
Backport of 20f868bc5a from master
2014-10-01 13:10:14 -04:00
Duane Hilton
f0e7a695f5 [1.7.x] Fixed #17638 -- Added crosslinks between topic and reference guides.
Thanks oinopion for the suggestion and jarus for the initial patch.

Backport of 054bdfeff1 from master
2014-09-29 18:17:13 -04:00
Tim Graham
02aa3e30e9 [1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.
Thanks gkoller for the report and Markus Holtermann for review.
2014-09-24 14:49:46 -04:00
Markus Holtermann
5356183716 [1.7.x] Fixed #22959 -- Documented that class-based validators need to be deconstructible.
Backport of c692e37b63 from master
2014-09-24 14:33:57 -04:00
Tim Graham
40e5eb4114 [1.7.x] Corrected --noinput docs for makemigrations; refs #23407.
Backport of 450a616004 from master
2014-09-24 13:30:23 -04:00
Markus Holtermann
ae14c75014 [1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
Backport of b9a670b227 from master
2014-09-24 07:21:50 -04:00
Joseph Dougherty
722516536e [1.7.x] Fixed #23499 -- Error in built-in template tag "now" documentation
Backport of ab8248361e0a7b4fc7684eaaa5891e16b8562683 from master.
2014-09-17 09:23:20 +02:00
Tim Graham
a8ded528b3 [1.7.x] Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url().
Thanks jukvalim for the report and initial patch,
and Preston Timmons for review.

Backport of c32bc1a7a7 from master
2014-09-09 11:07:41 -04:00
Collin Anderson
d19291e9ad [1.7.x] Fixed #23340 -- Corrected naturaltime docs to match behavior.
Thanks zachborboa for the report and blackguest for the patch.

Backport of 7353e26d5d and 0a2bc6e6bd from master
2014-09-06 08:00:29 -04:00
Andrew Godwin
ffa9e60638 [1.7.x] Fixed #22534: Reinforce swappable documentation 2014-09-05 11:41:22 -07:00
Sébastien Fievet
994294e0da [1.7.x] Added missing periods in docs/ref/checks.txt.
Backport of 5d04433903 from master
2014-09-05 12:31:10 -04:00
John-Scott Atlakson
368e5cea58 [1.7.x] Fixed imports in Sitemap for static views example
Backport of 344f37718b from master
2014-09-05 07:11:12 -04:00
Tim Graham
676db20824 [1.7.x] Fixed typo in docs/ref/checks.txt.
Backport of 2ca244aae6 from master
2014-09-04 12:32:52 -04:00
Thomas Chaumeny
0bc67a16d3 [1.7.x] Fixed documentation links to Query Expression API.
Backport of d7a9659110 from master
2014-09-04 09:45:35 -04:00
Alexey Efimov
9cacc25037 [1.7.x] Added missing import in docs/ref/signals.txt.
Backport of 4a303341fc from master
2014-09-02 08:15:02 -04:00
Tim Graham
52eadbf5c0 Revert "[1.7.x] Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918"
This reverts commit a7ac5f018726694e3a79180ef97f2813c715fac0.
2014-09-02 08:12:49 -04:00
Andrew Godwin
a7ac5f0187 [1.7.x] Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918 2014-09-01 11:50:31 -07:00
Simon Charette
e42a82edf2 [1.7.x] Fixed #23391 -- Removed an erroneous backtip from the form's documentation.
Thanks to Trac alias nessita for the report.

Backport of ab9c886459 from master
2014-08-31 20:11:57 -04:00
Simon Charette
0396001830 [1.7.x] Corrected a usage example of related_query_name.
Thanks to Petr Glotov for spotting this.

Backport of 05a8cef428 from master
2014-08-29 23:11:37 -04:00
Claude Paroz
022fdb2ac4 [1.7.x] Fixed #22786 -- Documented value_from_datadict caveat
Thanks blueyed for the report and Tim Graham for the review.
Backport of 909015a51b from master.
2014-08-29 10:25:32 +02:00
Aymeric Augustin
8f033ee04b [1.7.x] Documented correct kwargs for post_syncdb/migrate.
d562527a rename the db to using in the wrong signal.

Thanks Maik Hoepfel for the report.

Backport of 569e0a2 from master
2014-08-28 21:32:44 +02:00
Claude Paroz
9ac713645b [1.7.x] Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
Refs #20739. Thanks Raphaël Hertzog for the report and the initial
patch.
Backport of 3a44e2000 from master.
2014-08-28 08:46:54 +02:00
Tim Graham
574f8f560f [1.7.x] Documented --database option for migrate.
Thanks Mike O'Connor for the reporty.

Backport of 6aae07fe61 from master
2014-08-27 08:02:17 -04:00
Tim Graham
e86030b3be [1.7.x] Fixed #23354 -- Documented that ModelChoiceField to_field_name should be a unique field.
Thanks Keryn Knight for the suggestion.

Backport of 83762da3fb from master
2014-08-27 07:45:34 -04:00
Tim Graham
4f0916c374 [1.7.x] Fixed #21567 -- Documented how to deploy multiple sites using the sites framework.
Backport of 7b9537fb27 from master
2014-08-26 15:22:28 -04:00
Tim Graham
1b89f976f4 [1.7.x] Fixed #23250 -- Documented that ModelMultipleChoiceField queryset may be None.
Backport of ced3e303ca from master
2014-08-26 14:50:37 -04:00
Tim Graham
588afbb2be [1.7.x] Fixed #17707, #20734 -- Added examples to URL namespacing docs.
Thanks Daniele Procida for review.

Backport of a2bcec3491 from master
2014-08-26 14:35:17 -04:00
Tim Graham
e920c900ec [1.7.x] Fixed #19312 -- Documented MySQL TIMESTAMP columns cannot be used with USE_TZ=True.
Backport of 348c89cbfb from master
2014-08-26 14:11:53 -04:00
Tim Graham
34116ad71c [1.7.x] Fixed #17719 -- Documented that template syntax sequences cannot be used as string literals.
Backport of e02f45d5ea from master
2014-08-26 10:45:18 -04:00
Tim Graham
9c849f7c7a [1.7.x] Fixed spelling mistake in file docs.
Backport of a3e88e64a4 from master
2014-08-26 09:44:51 -04:00
Tim Graham
da2077ed67 [1.7.x] Fixed #22154 -- Added "Built-in" to some class-based views titles.
Backport of 0c9f40f776 from master
2014-08-23 19:31:05 -04:00
Tim Graham
3d88ed3341 [1.7.x] Fixed #23344 -- Removed duplicate docs for file upload settings.
Backport of c7fa27d702 from master
2014-08-23 09:31:48 -04:00
Tim Graham
c19c7c192c [1.7.x] Fixed #23324 -- Mentioned Site.id in contrib.sites docs.
Backport of a76aab3583 from master
2014-08-22 13:23:55 -04:00