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.
Thanks to NaderM <https://bitbucket.org/NaderM>, 1.1.0 includes python3 support, and extensive testing.
Release files for django-weekday-field 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-weekday-field-1.1.0.tar.gz | 4.6 kB | Details |
Release files / django-weekday-field-1.1.0.tar.gz
| Download URL | django-weekday-field-1.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a07750b8733e1ea7bbbfe98e5eec349bc371c1636e5de234fd2230d2b883197a
|
|
BLAKE2b-256 checksum How to use checksums |
e01aaac598e10c658e6a8768f212781d8454e90e95501f4210461faac5b529f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |