mirror of
https://github.com/DerTyp7/tealcode-django-python.git
synced 2025-10-29 20:42:07 +01:00
7 lines
189 B
Python
7 lines
189 B
Python
from django.forms import ModelForm,HiddenInput
|
|
from .models import Entry
|
|
|
|
class EntryForm(ModelForm):
|
|
class Meta:
|
|
model = Entry
|
|
fields = [ 'email', 'subject', 'message'] |