Skip to main content

Dj myghanta is a Django app to create MySQL timestamp field for Django models.

Quick start

  1. Add “myghanta” to your INSTALLED_APPS like this:

    ```
    INSTALLED_APPS = (
        ...
        'myghanta',
    )
    ```
  2. Import it in your models like:

    ```
    from myghanta.fields import MysqlTimeStampField
    ```
  3. Create model fields like:

    ```
       created_at = MysqlTimestamp(auto_now_add=True)
       updated_at = MysqlTimestamp(auto_now=True)
    ```

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dj-myghanta-0.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file dj-myghanta-0.1.tar.gz.

File metadata

  • Download URL: dj-myghanta-0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dj-myghanta-0.1.tar.gz
Algorithm Hash digest
SHA256 53af31a189341d0ce5b6edab5d395c5a87b72e1e37b8dc6e8e0c50e45600c226
MD5 49e305ba39c00cf983c8bb614dde00b6
BLAKE2b-256 1f4f1510df36f77970ab78f0baad479b565f5595ccc2b355d812e9f3629c60e0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

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