Skip to main content

# Django L10N extensions Django L10N extensions adds some useful L10N extensions to the Django framework

The project in maintained on [github](https://github.com/ceasaro/django-l10n-extensions)

[Read the docs](http://django-l10n-extensions.readthedocs.io)

## Create new distribution To create a new distribution from this package follow these steps: 1) create new virualenv met python 3 mkvirtualenv -p /usr/bin/python3 django-l10n-extensions 2) install requirements pip install -r setup/requirements.txt 3) update the version in ./setup.py, otherwise you will overwrite an already existing version. 4) Make a new distribution run: python setup.py sdist bdist_wheel 5) Optional upload to pypi TEST: twine upload –repository-url https://test.pypi.org/legacy/ dist/*

to upload to PRODUCTION remove the –repository-url argument (make sure your local ~/.pypirc is correct)

# Date and time in python CONCEPT version

Always work in UTC and use date / datetime aware instances

e.g. python 3 datetime.utcfromtimestamp(0).timestamp() –> -3600 # datetime instance has no timezone and python fallback on OS timezone

datetime.utcnow() is also timezone unaware use datetime.utc(tz=timezone.utc)

datetime.strptime(“1970-0101T00:00:00”, “%Y-%m-%dT%H:%M:%S) is also timezone unaware use datetime.strptime(“1970-0101T00:00:00”, “%Y-%m-%dT%H:%M:%S).replace(tzinfo=timezone.utc)

Metadata

Release files for django-l10n-extensions 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-l10n-extensions 1.1.1
File Size Uploaded Provenance Actions
django-l10n-extensions-1.1.1.tar.gz 22.6 kB Without provenance Details for django-l10n-extensions-1.1.1.tar.gz

Release files / django-l10n-extensions-1.1.1.tar.gz

Download URL django-l10n-extensions-1.1.1.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c0507531cc662b0ba954de94c66e51fe28be4cd0658fb5d7ce88a996c97c9c70
BLAKE2b-256 checksum
How to use checksums
76ea308d41e7b7fa20f8aff5cea4e8e13f03daed697fa8bc662edcf09019e76b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for django-l10n-extensions 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page