22 lines
469 B
Python
22 lines
469 B
Python
|
|
from django.forms import (
|
|
Form,
|
|
ModelForm,
|
|
ModelMultipleChoiceField,
|
|
ModelChoiceField,
|
|
ChoiceField,
|
|
CharField,
|
|
HiddenInput,
|
|
EmailField,
|
|
IntegerField,
|
|
)
|
|
from django.forms import inlineformset_factory
|
|
from atlas.models import CaseCollection
|
|
from django.contrib.auth.models import User
|
|
|
|
from rota.models import UserRotaDetail
|
|
|
|
class UserRotaDetailForm(ModelForm):
|
|
class Meta:
|
|
model = UserRotaDetail
|
|
exclude = ("",) |