mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-29 12:41:06 +02:00
13 lines
210 B
Python
13 lines
210 B
Python
from django import forms
|
|
|
|
from .models import Customer
|
|
|
|
|
|
class CustomerForm(forms.ModelForm):
|
|
class Meta:
|
|
model = Customer
|
|
fields = (
|
|
'name',
|
|
'description'
|
|
)
|