Factored out a couple of modules

--HG--
rename : courseware/static/schematic.js => courseware/static/js/schematic.js
This commit is contained in:
Piotr Mitros
2011-12-16 15:51:10 -05:00
parent e31356b1bd
commit 07454b82b2
11 changed files with 289 additions and 149 deletions

View File

@@ -5,13 +5,13 @@ import uuid
class UserProfile(models.Model):
## CRITICAL TODO/SECURITY
# Sanitize all fields.
# This is not visible to other users, but could introduce holes
# later
# This is not visible to other users, but could introduce holes later
user = models.ForeignKey(User, unique=True, db_index=True)
name = models.TextField(blank=True)
language = models.TextField(blank=True)
location = models.TextField(blank=True)
meta = models.TextField(blank=True) # JSON dictionary for future expansion
courseware = models.TextField(blank=True)
class Registration(models.Model):
''' Allows us to wait for e-mail before user is registered. A