Commit 582e84ec authored by Daniel W Bond's avatar Daniel W Bond
Browse files

maximum number of days you can add on the admin interface is now (appropriately) seven

parent 022853a8
......@@ -4,6 +4,7 @@ from .models import Facility, Schedule, OpenTime, Category
class OpenTimeInline(admin.TabularInline):
model = OpenTime
fk_name = 'schedule'
max_num = 7
class OpenTimeAdmin(admin.ModelAdmin):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment