Skip to main content

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

django-weekday-field-0.1.7.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file django-weekday-field-0.1.7.tar.gz.

File metadata

File hashes

Hashes for django-weekday-field-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8ac1b75c92475326b4c0d0cffffaa2e38a511febf44fa7dfee4cfcecd28240bc
MD5 719d2c2c17d68168d0b2984479e599cf
BLAKE2b-256 fd265651e1b6155654df63b73551a05d623ef39a63369eab40c56632a456093d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page