Metadata-Version: 2.1
Name: time-stamped-model
Version: 0.2.1
Summary: Django app to add created and modified
Home-page: https://github.com/django-advance-utils/time-stamped-model
Author: Tom Turner
License: UNKNOWN
Description: [![PyPI version](https://badge.fury.io/py/time-stamped-model.svg)](https://badge.fury.io/py/time-stamped-model)
        
        # 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`
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
