240 Commits

Author SHA1 Message Date
Adam Chainz
1c9f49e80f [1.10.x] Documented url()'s 'regex' parameter.
Backport of 0a9bd266ff8e042f53e25928527a29ce896b4955 from master
2016-12-22 19:16:56 -05:00
Ben Wilkins
cdc343cac3 [1.10.x] Fixed #25751 -- Doc'd how to use JavaScriptCatalog with i18n_patterns().
Backport of 9524fd9133e47fa90846904f81fe91c72f331e56 from master
2016-12-15 10:33:44 -05:00
Henry Dang
047a62b3f7 [1.10.x] Fixed #27221 -- Doc'd how to escape a percent symbol in ugettext().
Backport of b1a9041535db5d03dab7f205669f0ab7a47de854 from master
2016-11-22 13:58:30 -05:00
medmunds
59001ca213 [1.10.x] Fixed #27382 -- Doc'd that ugettext_lazy() should be converted to text for non-Django code.
Backport of d3708aeb26032911897e213a300c8b8ea5c5a345 from master
2016-10-29 07:25:22 -04:00
Tim Graham
1c47c7e6f1 [1.10.x] Added template syntax highlighting in docs/topics/i18n/timezones.txt.
Backport of 19a140a1b37471e7e99f1fbb5e717b0d605a1895 from master
2016-10-08 08:08:18 -04:00
Frank Wiles
ff7d5e3a0b [1.10.x] Fixed import typos in the docs.
Backport of a09c058918f85949fd4c003e7ae62869f4559bd3 from master
2016-09-29 12:07:56 -04:00
Michael Scott
416004c043 [1.10.x] Fixed #15143 -- Doc'd how to set the language for the test client.
Backport of 3c447b108ac70757001171f7a4791f493880bf5b from master
2016-09-14 20:14:29 -04:00
Tim Graham
33783a9e06 [1.10.x] Fixed #26571 -- Corrected recommendation for converting timestamps to tz-aware datetimes.
Backport of d60386d0f5333c7fef4c5906a3358b00cf9de3bf from master
2016-08-19 14:47:38 -04:00
Mattias Loverot
04f0c2ab39 [1.10.x] Fixed #27069 -- Doc'd which gettext functions may be aliased as _.
Backport of 35ea6d83c8ecea76f49da26d6646c8d21936500f from master
2016-08-17 16:35:19 -04:00
Tim Graham
48a570164e [1.10.x] Fixed capitalization of "URL pattern".
Backport of 415ae960bb9f1bdae798023fdce3247d2c938eec from master
2016-07-06 15:31:44 -04:00
Leila20
2847b22f29 [1.10.x] Fixed #26832 -- Added translated language name on the get_language_info documentation
Backport of de4265e082bcce45ef6fb0929a44205463ba552e from master
2016-07-02 20:50:51 -04:00
Ville Skyttä
efe9874371 [1.10.x] Fixed broken links in docs and comments.
Backport of 96f97691ad5e1483263cea3bb4e4021b4c8dcc41 from master
2016-06-15 21:20:38 -04:00
Ville Skyttä
61bcf04132 [1.10.x] Fixed #26754 -- Documented django.template.context_processors.tz
Backport of 7003174fec188bd5a21e3d62bd5e13e80f6f329c from master
2016-06-14 11:58:50 +02:00
Ed Henderson
521772ff07 [1.10.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
2016-06-03 11:49:24 -04:00
Claude Paroz
5641a80d49 [1.10.x] Fixed #26337 -- Added i18n note about using a non-English base language
Thanks Cristiano Coelho for the report and Tim Graham for the review.
Backport of f6fefbf8cb from master.
2016-06-02 20:58:18 +02:00
Florian Apolloner
9baf692a58 Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Tim Graham
f945fb24a3 Fixed #26554 -- Updated docs URLs to readthedocs.io 2016-04-28 10:09:57 -04:00
Claude Paroz
de40cfbe74 Fixed #19567 -- Added JavaScriptCatalog and JSONCatalog class-based views
Thanks Cristiano Coelho and Tim Graham for the reviews.
2016-04-15 17:28:54 +02:00
Krzysztof Jurewicz
940b7fd5cb Fixed #21446 -- Allowed not performing redirect in set_language view
Thanks Claude Paroz and Tim Graham for polishing the patch.
2016-03-29 22:15:14 +02:00
Krzysztof Urbaniak
839a955d08 Fixed #25933 -- Allowed an unprefixed default language in i18n_patterns(). 2016-03-08 08:14:10 -05:00
Simon Charette
d0451e4cad Fixed #26295 -- Allowed using i18n_patterns() in any root URLconf.
Thanks Tim for the review.
2016-03-03 12:08:49 -05:00
Tim Graham
1d86d4c72b Updated instructions for gettext on Windows. 2016-02-11 08:45:55 -05:00
Tim Graham
f2b45ddd99 Fixed #26206 -- Fixed docs comments causing empty code blocks. 2016-02-11 07:58:15 -05:00
rowanv
a6ef025dfb Fixed #26124 -- Added missing code formatting to docs headers. 2016-02-01 10:42:05 -05:00
Yoong Kang Lim
31817dd2eb Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example. 2016-01-27 08:58:12 -05:00
Tim Graham
9c43d8252a Fixed Sphinx highlight warnings in docs. 2016-01-25 11:57:14 -05:00
Elif T. Kus
bca9faae95 Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
Marten Kenbeek
16411b8400 Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Jon Dufresne
7aabd62380 Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:01:34 -05:00
Gagaro
34d88944f4 Fixed #25812 -- Restored the ability to use custom formats with the date template filter. 2015-11-28 08:38:45 -05:00
Agnieszka Lasyk
1f8dad6915 Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:14 -05:00
Thijs van Dien
1679472165 Fixed #25473 -- Changed underscores in url() names to dashes in docs.
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.

Thanks guettli for reporting this.
2015-11-07 21:58:45 +01:00
Claude Paroz
9a6fc9606c Added some function links in translation docs 2015-10-07 17:25:23 +02:00
Tim Graham
54848a96dd Removed versionadded/changed annotations for 1.8. 2015-09-23 19:31:11 -04:00
Tim Graham
a25d3ce007 Refs #22218 -- Removed conf.urls.patterns() per deprecation timeline. 2015-09-23 19:31:09 -04:00
Rik
6e51d5d0e5 Added link to Babel's message extracting functionality. 2015-09-22 08:54:24 -04:00
Claude Paroz
64982cc2fb Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
Sergey Kolosov
244404227e Fixed #22404 -- Added a view that exposes i18n catalog as a JSON
Added django.views.i18n.json_catalog() view, which returns a JSON
response containing translations, formats, and a plural expression
for the specified language.
2015-08-05 09:05:21 -04:00
Flavio Curella
c2e70f0265 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
Rafał Selewońko
8e306967de Fixed typo in docs/topics/i18n/translation.txt 2015-07-16 07:31:30 -04:00
Matthew Somerville
839edcebb3 Fixed #21695 -- Added asvar option to blocktrans.
Thanks Bojan Mihelac for the initial patch.
2015-07-01 10:03:00 -04:00
Tim Graham
aaacaeb096 Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Wim Feijen
514b69cb9e Updated indentation of example template in docs/topics/i18n/translation.txt. 2015-06-22 15:42:09 -04:00
Marten Kenbeek
1e82094f1b Fixed #21927 -- Made application and instance namespaces more distinct.
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Tim Graham
2fbea621e6 Capitalized "Python" in docs. 2015-06-05 08:24:53 -04:00
Matthew Somerville
40f0a84cb1 Fixed #24159 -- Made compilemessages run across all apps.
Updated the command to match the documentation, which states it
runs over all .po files.
2015-06-04 21:02:02 -04:00
Tomáš Ehrlich
002b3d87b5 Fixed #24230 -- Added translated language name for i18n template tag/filter. 2015-06-02 16:04:01 -04:00
Tim Graham
9ca0961b8a Added headings to i18n template tags and filters. 2015-06-02 15:51:00 -04:00
Aymeric Augustin
ed83881e64 Fixed #23820 -- Supported per-database time zone.
The primary use case is to interact with a third-party database (not
primarily managed by Django) that doesn't support time zones and where
datetimes are stored in local time when USE_TZ is True.

Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ
is False used to result in silent data corruption. Now this is an error.
2015-05-17 09:40:28 +02:00
José Padilla
b0bd1f0e19 Fixed typo in translation import statement 2015-05-02 20:18:34 +02:00