start building rota functions into site

This commit is contained in:
Ross
2023-12-12 21:57:11 +00:00
parent 026906340a
commit e1d9f1ecad
11 changed files with 248 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from django.shortcuts import render
from django.views.generic.edit import CreateView, UpdateView, DeleteView
from rota.forms import UserRotaDetailForm
from rota.models import UserRotaDetail
# Create your views here.
class UserRotaDetailUpdate(UpdateView):
model = UserRotaDetail
form_class = UserRotaDetailForm