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
File details
Details for the file django-weekday-field-0.1.5.tar.gz
.
File metadata
- Download URL: django-weekday-field-0.1.5.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71c34e400b9d3c672f93697dcc8ae9e4aca69c699f7deb75bb7e5bcec627ae3f |
|
MD5 | bf62ba68325b18e2ca2cb896dea9cb38 |
|
BLAKE2b-256 | fc2262c2c601f2feef50e86a0956c68ef89f626381db01989a54342f6b161485 |