summaryrefslogtreecommitdiff
path: root/devel/models.py
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-12 20:28:49 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-12 20:28:49 -0500
commit16e941c68ddb2d37d7e94d0c60da7e9d3dba65a0 (patch)
tree0dc941580251a06870b9ceee159b7685c8a02795 /devel/models.py
parentf9ae4f860ccf57e84032d7be9426331a9e06e979 (diff)
parentfbbcc8534a25d3e78ef3a319c8aeb127bc5085f0 (diff)
Merge tag 'release_2012-04-26'parabolaweb-2012-12-12
CSS and display related tweaks Conflicts: public/views.py requirements.txt requirements_prod.txt templates/public/download.html
Diffstat (limited to 'devel/models.py')
-rw-r--r--devel/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/models.py b/devel/models.py
index 79c56f2a..fd5a0347 100644
--- a/devel/models.py
+++ b/devel/models.py
@@ -3,6 +3,7 @@ import pytz
from django.db import models
from django.contrib.auth.models import User
+from django_countries import CountryField
from .fields import PGPKeyField
from main.utils import make_choice
@@ -30,6 +31,7 @@ class UserProfile(models.Model):
help_text="consists of 40 hex digits; use `gpg --fingerprint`")
website = models.CharField(max_length=200, null=True, blank=True)
yob = models.IntegerField("Year of birth", null=True, blank=True)
+ country = CountryField(blank=True)
location = models.CharField(max_length=50, null=True, blank=True)
languages = models.CharField(max_length=50, null=True, blank=True)
interests = models.CharField(max_length=255, null=True, blank=True)