1
0
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:
plt
2012-02-11 11:12:54 +08:00
parent fe1b85dbd6
commit 67e0ce2fb6
24 changed files with 406 additions and 39 deletions

14
contacts/forms.py Normal file
View 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)