mirror of
https://github.com/nikdoof/test-auth.git
synced 2026-01-31 00:18:14 +00:00
First step of the groups subapp, view groups and request access done
This commit is contained in:
11
groups/forms.py
Normal file
11
groups/forms.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django import forms
|
||||
import settings
|
||||
|
||||
from groups.models import GroupRequest
|
||||
from groups.app_defines import *
|
||||
|
||||
class GroupRequestForm(forms.ModelForm):
|
||||
|
||||
class Meta:
|
||||
model = GroupRequest
|
||||
exclude = ('group', 'user', 'status', 'changed_by', 'changed_date', 'created_date')
|
||||
Reference in New Issue
Block a user