Skip to content

A Django app providing database store for pytz timezone objects.

Notifications You must be signed in to change notification settings

vbabiy/django-timezone-field

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

This app provides a TimeZoneField to save pytz.tzinfo.DstTzInfo objects.

Input can either be a pytz DstTzInfo object, or a string that validates
successfully against pytz.all_timezones.

Output is a pytz DstTzInfo object.

Objects are stored in the database as strings.
South support included.

Custom validators should be designed to validate a pytz DstTzInfo.

Originally adapted from Brian Rosner's django-timezones:
https://github.com/brosner/django-timezones/

About

A Django app providing database store for pytz timezone objects.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%