mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-28 12:11:08 +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'
|
||
|
)
|