start building rota functions into site
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user