- Language: en
20 results for locals in version 4.2
-
Format localization
- … localization for a template block, use: {% load l10n %} {% localize on %} {{ value }} {% endlocalize %} {% localize off %} {{ value …
-
Internationalization and localization
- … localization. Usually done by developers. localization Writing the translations and local formats. Usually done by translators …
-
Creating forms from models
- … localization for fields with localized_fields Using the localized_fields parameter, you can enable localization …
-
Translation
- … locale directory. All those catalogs plus all catalogs found in LOCALE_PATHS (which are always …
-
Django’s cache framework
- … local Unix socket file /tmp/memcached.sock using the pymemcache binding: CACHES = { "default" : { "BACKEND …
-
Time zones
- … local time to UTC – which isn’t deterministic if your local time has DST. Code …
-
Testing tools
- … localization, you might want to set the language for a test client request. The method …
-
Managing files
- … locally, using the MEDIA_ROOT and MEDIA_URL settings. The examples below assume that you’re using …
-
Sending email
- … local development is to use the console email backend. This backend redirects all email to stdout …
-
How to use sessions
- … local-memory cache backend doesn’t retain data long enough to be a good choice …