author | anoop |
Wed, 17 Feb 2010 17:46:16 +0530 | |
changeset 40 | 43853e376bb8 |
parent 27 | 8d52492d3c14 |
child 44 | 2b09336352b5 |
permissions | -rw-r--r-- |
13
0fb64b24a1c9
added views, templates for register, login, logout user.
anoop
parents:
12
diff
changeset
|
1 |
#!/usr/bin/python2.5 |
0fb64b24a1c9
added views, templates for register, login, logout user.
anoop
parents:
12
diff
changeset
|
2 |
|
0fb64b24a1c9
added views, templates for register, login, logout user.
anoop
parents:
12
diff
changeset
|
3 |
from django import forms |
23 | 4 |
from pytask.taskapp.models import GENDER_CHOICES, Profile |
5 |
from django.forms import ModelForm |
|
13
0fb64b24a1c9
added views, templates for register, login, logout user.
anoop
parents:
12
diff
changeset
|
6 |
|
23 | 7 |
class UserProfileEditForm(ModelForm): |
8 |
class Meta: |
|
9 |
model = Profile |
|
10 |
exclude = ('user','rights','dob','credits') |