Files
he-database/sheets/forms.py
2025-02-26 13:24:53 +01:00

8 lines
232 B
Python

from django import forms
from .models import ExcelEntry
class ExcelEntryForm(forms.ModelForm):
class Meta:
model = ExcelEntry
fields = ['name', 'age', 'email'] # Include only the fields you want users to input