mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 23:00:57 +00:00
Add contact and share app
This commit is contained in:
14
contacts/forms.py
Normal file
14
contacts/forms.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from django import forms
|
||||
|
||||
|
||||
class AddContactForm(forms.Form):
|
||||
"""
|
||||
Form for adding a contact.
|
||||
|
||||
"""
|
||||
|
||||
email = forms.EmailField()
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(AddContactForm, self).__init__(*args, **kwargs)
|
||||
|
Reference in New Issue
Block a user