Weekday field for django models
Project description
A field that encapsulates the handling of selection of 0 or more weekday choices.
Uses Django’s CommaSeparatedIntegerField internally.
Usage:
from django.db import models import weekday_field
- class MyModel(models.Model):
weekdays = weekday_field.fields.WeekdayField()
There is also a BitwiseWeekdayFormField, contributed by Andrew Gall <housepage@gmail.com>, which stores the data in a single integer.
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
Close
Hashes for django-weekday-field-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 737ba9dc7287b9fea10fcc37b6835d25e3ac1e1a226299f5e37ed211bc3d271e |
|
MD5 | 519faab979545bfb474ad7467a440000 |
|
BLAKE2b-256 | d186ba57a11968ad15b855cb957bd7c66cbb3020b4e41f2a5d2ea7750b3630ee |