areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Tim Graham
9432f1e750
Fixed some doc errors that caused syntax highlighting to fail.
2014-08-18 20:37:47 -04:00
Collin Anderson
e5376999fa
Refs #23276 -- Added missing url() in some places.
2014-08-13 14:20:15 -04:00
Tim Graham
6745b6fd7a
Fixed typo in previous commit.
2014-08-12 14:40:32 -04:00
Tim Graham
a9fd740d22
Fixed #23276 -- Deprecated passing views as strings to url().
2014-08-12 13:15:40 -04:00
Ola Sitarska
2e7be92b4d
Fixed #23267 -- Fixed typo in Translation documentation
...
Thanks to Tomin1 for the report.
2014-08-11 12:06:08 +02:00
Tim Graham
da59902250
Updated timezone docs to use timezone.now()
...
Thanks James Cleveland for the report and Aymeric for suggesting
the solution.
2014-07-31 12:54:11 -04:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00
Martin Brochhaus
bb0a9a070b
Fixed #20477 : Allowed list of modules for FORMAT_MODULE_PATH
...
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path). A feature has been added to also allow a list of strings.
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
2014-05-21 07:35:47 -04:00
Tim Graham
5abc811a40
Revert "Fixed #20477 : Allowed settings.FORMAT_MODULE_PATH to be a list of modules."
...
This reverts commit 950b6de16a
.
2014-05-19 08:22:46 -04:00
Martin Brochhaus
950b6de16a
Fixed #20477 : Allowed settings.FORMAT_MODULE_PATH to be a list of modules.
...
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path).
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
2014-05-19 07:59:13 -04:00
Aymeric Augustin
0fb7570c5c
Fixed #22523 -- Clarified pytz requirement.
...
Thanks z for the report and timo for the proposal.
2014-04-29 08:33:15 +02:00
Claude Paroz
680a0f08b1
Updated doc links to point to Python 3 documentation
2014-04-26 16:02:53 +02:00
Marti Raudsepp
11d453bcad
Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2014-04-23 02:31:49 +03:00
Erik Romijn
54d5c37de6
Fixed #22471 -- Corrected misprint in i18n docs
...
Thanks to aruseni for the report.
2014-04-18 15:05:18 +02:00
Tim Graham
d73d0e071c
Fixed #22218 -- Deprecated django.conf.urls.patterns.
...
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-03 07:28:10 -04:00
Tim Graham
51c8045145
Removed versionadded/changed annotations for 1.6.
2014-03-24 11:42:56 -04:00
Claude Paroz
3a97f992fb
Fixed #22313 -- Removed 'u' prefixes from documentation
2014-03-22 21:32:20 +01: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
Rodolfo Carvalho
2b6436e2d5
Fixed some typos and formatting issues in docs.
2014-03-03 08:37:17 -05: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
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
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
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
d8d83777eb
Fixed #21629 -- Added instructions for loading MySQL time zone definitions.
...
Thanks Aymeric for the suggestion.
2013-12-26 15:50:33 -05:00
Baptiste Mispelon
e904d421d0
Added internal link to i18n documentation.
2013-12-15 01:50:54 +01: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
Aymeric Augustin
9f8810ac51
Fixed #21487 -- Session cannot store tzinfo instances anymore.
...
Thanks filipp for the report.
Forward-port of 1eddca0a
from stable/1.6.x.
2013-11-22 15:34:37 +01:00
Bernardo Pires
8bc350b385
Fixed #21372 -- Corrected docs regarding translating LANGUAGES.
...
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
2013-11-09 23:56:53 +01:00
Claude Paroz
b780d03d62
Removed obsolete locale restriction admonition
...
Refs #14461 . Thanks Ramiro Morales for pointing this.
2013-11-08 16:47:19 +01:00
Bouke Haarsma
7a7c789d5a
Fixed #5849 -- Strip whitespace from blocktrans
...
Add the trimmed option to the blocktrans tag to trim any newlines and
whitespace from its content.
This allows the developer to indent the blocktrans tag without adding
new lines and whitespace to the msgid in the PO file.
Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the
report.
2013-11-08 00:52:17 +02:00
Claude Paroz
88b9d4ff3a
Fixed #21373 -- Typo fixed in i18n docs
...
Thanks rpq at winscores.com for the report.
2013-11-02 19:13:29 +01:00
Tim Graham
090315f5df
Fixed spelling ("dependant" -> "dependent")
...
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
2013-11-01 21:29:39 -04:00
Bouke Haarsma
0d0f4f020a
Fixed #5789 -- Changed LocaleMiddleware session variable to '_language'.
...
The old 'django_language' variable will still be read from in order
to migrate users. The backwards-compatability shim will be removed in
Django 1.8.
Thanks to jdunck for the report and stugots for the initial patch.
2013-10-22 09:24:42 -04:00
Aymeric Augustin
570d9c2678
Fixed #19560 -- Identified field in warning for naive datetime.
...
Thanks gcc for the report and vajrasky for the patch.
2013-10-13 11:54:11 +02:00
Loic Bistuer
9885f07757
Made the doc about translating string literals in templates more prominent.
2013-08-31 07:59:53 -04:00
Ramiro Morales
57c82f909b
Typos introduced in 297f5af222
.
2013-08-22 21:25:35 -03:00
Ramiro Morales
297f5af222
Made description of LANGUAGE_CODE setting more clear.
2013-08-22 08:27:04 -03:00
Tim Graham
7b69c3e775
Removed versionadded/changed annotations for 1.5
2013-08-19 09:09:41 -04:00
Sergio Oliveira
cf6c754629
LocaleMiddleware isn't default anymore
...
Changed in @23229061fcb836ecca2195cc75f91e331279a5d1
2013-07-18 21:15:30 -03:00
SusanTan
ef3fddf26e
Fixed #18261 -- Clarified 'project root directory'
2013-07-09 07:11:41 -04:00
Tim Graham
231e31c690
Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
...
Thanks rene@ for the suggestion.
2013-07-04 05:44:22 -04:00
Jacob Kaplan-Moss
357d62d9f2
Explained that timezone.now() always returns times in UTC.
...
The docs were ambiguous about the time zone for now(), leading people to
assume that it would be the current time zone rather that UTC.
2013-06-06 11:05:33 -05:00
Panagiotis H.M. Issaris
6845dc7e8f
Fixed comments for translators example in the i18n documentation
...
The documentation regarding adding a comment for translators was confusing
as the example contained mismatching tags.
2013-05-23 10:19:10 +02:00
Silvan Spross
1d543949d7
Add missing imports and models to the examples in internationalization and localization documentation
2013-05-19 13:30:01 +02:00
Tim Graham
96cabba808
Fixed #20335 - Documented the {% language %} template tag.
...
Thanks bmispelon for the suggestion and djangsters for the patch.
2013-05-18 11:20:02 -04:00