mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Views now working, basic construction complete
This commit is contained in:
14
sso/forms.py
Normal file
14
sso/forms.py
Normal 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']
|
||||
|
||||
Reference in New Issue
Block a user