Factored out a couple of modules
--HG-- rename : courseware/static/schematic.js => courseware/static/js/schematic.js
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user