2013-09-28 20:01:09 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from django import forms
|
2013-09-28 22:20:19 +02:00
|
|
|
from main.models import Host
|
2013-09-28 20:01:09 +02:00
|
|
|
|
2013-09-29 01:21:44 +02:00
|
|
|
|
2013-09-28 20:01:09 +02:00
|
|
|
class HostForm(forms.ModelForm):
|
|
|
|
class Meta:
|
|
|
|
model = Host
|
2013-09-29 13:36:28 +02:00
|
|
|
fields = ['subdomain', 'domain', 'comment', 'update_secret']
|