Weekday field for django models
A field that encapsulates the handling of selection of 0 or more weekday choices.
Uses Django’s CommaSeparatedIntegerField internally.
from django.db import models
- class MyModel(models.Model):
- weekdays = weekday_field.fields.WeekdayField()
There is also a BitwiseWeekdayFormField, contributed by Andrew Gall <email@example.com>, which stores the data in a single integer.
Thanks to NaderM <https://bitbucket.org/NaderM>, 1.1.0 includes python3 support, and extensive testing.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django-weekday-field-1.1.0.tar.gz (4.6 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for django-weekday-field-1.1.0.tar.gz