Skip to main content

PyPI version

Time Stamped Model

This package creates adds a created and modified field to your django modals.

To use

Add time-stamped-model to your installed apps

from time-stamped-model.modals import TimeStampedModel

class Foo(TimeStampedModel):
    bar = models.BooleanField(default=False)

Manual set

Sometimes you want to manual set the time. This may be required if you import data from another system.

To do this you can use the functions set_created_date and set_modified_date

Metadata

Release files for time-stamped-model 0.2.12

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

Source distribution (sdist)

Source distribution for time-stamped-model 0.2.12
File Size Uploaded Provenance
time_stamped_model-0.2.12.tar.gz 5.3 kB Without provenance Details

Release files / time_stamped_model-0.2.12.tar.gz

Download URL time_stamped_model-0.2.12.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36c22d50d9c60429967773c0aed9902d7250031316efb8bd7c64cf48976f2bda
BLAKE2b-256 checksum
How to use checksums
40ce2a01ed32e7722f8977fe289d28d6993f4161a5a5574402c03de08e2ced24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Security for time-stamped-model 0.2.12

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