Skip to main content

Django Extensions

Project description

Django Ext

Some extensions for Django.

Model

TimestampModel

Add created_at and updated_at for model.

TimeRangeModel

Add started_at and ended_at for model.

UserTrackModel

Add created_by and update_by for model.

This model requires django-currentuser, and should add it to the middleware classes in your settings.py:

MIDDLEWARE = (
    ...,
    'django_currentuser.middleware.ThreadLocalUserMiddleware',
)

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

django-ext-0.3.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

django_ext-0.3-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page