summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/models_spoken_tutorial.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2014-06-06 17:28:57 +0530
committerPrabhu Ramachandran2014-06-06 17:28:57 +0530
commite50eb8426d5f22fd35a2575cd3f4617226bc1a01 (patch)
treeaf75e47255f39402c79ded6f75399a47084584ff /testapp/myauthentication/models_spoken_tutorial.py
parent8b5d13df2a8f4ac3acc075c522128722b987e57b (diff)
parent77caf5d44ab14d56efd4acbc65a6dd2d78c1c1a6 (diff)
downloadonline_test-e50eb8426d5f22fd35a2575cd3f4617226bc1a01.tar.gz
online_test-e50eb8426d5f22fd35a2575cd3f4617226bc1a01.tar.bz2
online_test-e50eb8426d5f22fd35a2575cd3f4617226bc1a01.zip
Merge pull request #24 from prathamesh920/spoken_tutorial
Spoken tutorial authentication
Diffstat (limited to 'testapp/myauthentication/models_spoken_tutorial.py')
-rw-r--r--testapp/myauthentication/models_spoken_tutorial.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/testapp/myauthentication/models_spoken_tutorial.py b/testapp/myauthentication/models_spoken_tutorial.py
new file mode 100644
index 0000000..d333400
--- /dev/null
+++ b/testapp/myauthentication/models_spoken_tutorial.py
@@ -0,0 +1,26 @@
+# This is an auto-generated Django model module.
+# You'll have to do the following manually to clean this up:
+# * Rearrange models' order
+# * Make sure each model has one field with primary_key=True
+# Feel free to rename the models, but don't rename db_table values or field names.
+#
+# Also note: You'll have to insert the output of 'django-admin.py sqlcustom [appname]'
+# into your database.
+
+from django.db import models
+
+class MoodleUser(models.Model):
+ id = models.BigIntegerField(primary_key=True)
+ username = models.CharField(unique=True, max_length=300)
+ password = models.CharField(max_length=96)
+ idnumber = models.CharField(max_length=765)
+ firstname = models.CharField(max_length=300)
+ lastname = models.CharField(max_length=300)
+ email = models.CharField(max_length=300)
+ institution = models.CharField(max_length=120)
+ department = models.CharField(max_length=90)
+ address = models.CharField(max_length=210)
+ city = models.CharField(max_length=360)
+ country = models.CharField(max_length=6)
+ class Meta:
+ db_table = u'mdl_user'