Views now working, basic construction complete

This commit is contained in:
2010-02-25 22:44:59 +00:00
parent 180b344c72
commit c0a5f75504
12 changed files with 278 additions and 9 deletions

14
sso/forms.py Normal file
View File

@@ -0,0 +1,14 @@
from django import forms
from sso.models import ServiceAccount
class EveAPIForm(forms.Form):
user_id = forms.CharField(max_length=10)
api_key = forms.CharField(max_length=100)
description = forms.CharField(max_length=100)
class ServiceAccountForm(forms.ModelForm):
class Meta:
model = ServiceAccount
exclude = ['user', 'active']