A Django app providing reusable abstract models.
Project description
About
This library creates Abstract models which will be used to reduce work across all the models of your application. You can just import the library and inherit it in other models to make usage of its functionality.
Usage
from django_auditable_models.models import AbstractAuditableModel
class MyModel(models.Model,AbstractAuditableModel):
name = models.CharField(max_length = 150,null=True,blank=True)
test = MyModel()
test.name = 'TestName'
test.save()
print(test.created_on)
Api is still underdevelopment so it can break.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_auditable_model-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04540ed6c94a09c0b8ebf3fa6bdb9cf4ecc04ce4dc5005c03001a351ab7142e8 |
|
MD5 | 7114136f8f3339a9bd2c6ea48d95b049 |
|
BLAKE2b-256 | 916170c7a25278f47fe119af98ec028391e21057665a73cc8f3389717a7cbec6 |
Close
Hashes for django_auditable_model-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d41d0855daeb76925f7ed2e7693ef79b05e12d51ccdb154bfb31f9fee3ed9b3e |
|
MD5 | 632cc69c7d94df255cfffbec599b51e6 |
|
BLAKE2b-256 | b9e9de07186da593074256c233a4d8f938ba7dd3164ccfa0e622ec6ba86d4b19 |