Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 730 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 730 Bytes

django-opening-hours

Model and andmin for management opening hours

Authors

Source

Documentation

Instalation

Instalation is very simple over pip.

pip install django-opening-hours

Usage

settings.py

INSTALLED_APPS += ("opening_hours", )

myapp/models.py

from django.db import models
from opening_hours.db_fields import OpeningHoursField

class Store(model.Model):
    name = models.CharField(max_length=255)
    opening_hours = OpeningHoursField()