diff options
author | Leif Johansson <leifj@sunet.se> | 2012-05-11 13:43:54 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-05-11 13:43:54 +0200 |
commit | fc0d16f8819a1107e81f977504a1fbd48d746a4f (patch) | |
tree | 0938e8a0c2b25d04382fc1d6c5aad60333ef78b8 /coip/apps/consumer/forms.py | |
parent | 04a6491e5d83b8cb33223122b9868c14ebbb7ce4 (diff) |
consumer code
Diffstat (limited to 'coip/apps/consumer/forms.py')
-rw-r--r-- | coip/apps/consumer/forms.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/coip/apps/consumer/forms.py b/coip/apps/consumer/forms.py new file mode 100644 index 0000000..1973f48 --- /dev/null +++ b/coip/apps/consumer/forms.py @@ -0,0 +1,11 @@ +from django.forms import forms +from form_utils.forms import BetterModelForm +from coip.apps.consumer.models import Consumer + +__author__ = 'leifj' + +class ConsumerForm(BetterModelForm): + + class Meta: + model = Consumer + fields = ['name','consumer_name','inherit'] |