Dj myghanta is a Django app to create MySQL timestamp field for Django models.
Quick start
Add “myghanta” to your INSTALLED_APPS like this:
``` INSTALLED_APPS = ( ... 'myghanta', ) ```Import it in your models like:
``` from myghanta.fields import MysqlTimeStampField ```
Create model fields like:
``` created_at = MysqlTimestamp(auto_now_add=True) updated_at = MysqlTimestamp(auto_now=True) ```
Metadata
Release files for dj-myghanta 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dj-myghanta-0.1.tar.gz | 2.7 kB | Details |
Release files / dj-myghanta-0.1.tar.gz
| Download URL | dj-myghanta-0.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53af31a189341d0ce5b6edab5d395c5a87b72e1e37b8dc6e8e0c50e45600c226
|
|
BLAKE2b-256 checksum How to use checksums |
1f4f1510df36f77970ab78f0baad479b565f5595ccc2b355d812e9f3629c60e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |