summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiler/__init__.py0
-rw-r--r--profiler/models.py52
-rw-r--r--profiler/tests.py16
-rw-r--r--profiler/views.py1
-rw-r--r--settings.py1
5 files changed, 0 insertions, 70 deletions
diff --git a/profiler/__init__.py b/profiler/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/profiler/__init__.py
+++ /dev/null
diff --git a/profiler/models.py b/profiler/models.py
deleted file mode 100644
index 4a01147..0000000
--- a/profiler/models.py
+++ /dev/null
@@ -1,52 +0,0 @@
-from django.db import models
-
-from django.contrib.auth.models import User
-
-GENDER_CHOICES = (
- ('Male' : 'Male'),
- ('Female' : 'Female'),
-)
-
-SUBJECT_CHOICES = (
- ('001' : 'Physics'),
- ('002' : 'Mathematics'),
- ('003' : 'Chemistry')
-)
-
-CATEGORY_CHOICES = (
- ('GEN' : 'GENERAL'),
- ('OBC' : 'OTHER BACKWARD CASTE'),
-)
-
-class UserProfile(models.Model):
- #Mandatory field - Should be unique for an user
- user = models.ForeignKey(User, unique = True)
-
- #Custom fields
- exam_id = models.CharField(max_length=30,
- verbose_name="Registration number",
- help_text = "Registration number as given in examination id card")
-
- subject = models.CharField(verbose_name="Examination Subject",
- choices = SUBJECT_CHOICES)
-
- full_name = models.CharField(max_length=50, verbose_name="Full name",
- help_text ="Name as given in application")
-
- dob = models.DateField(verbose_name="Date of Birth",
- help_text="YYYY-MM-DD")
-
- category = models.CharField(verbose_name="Category",
- help_text="Category as given in the application",
- choices = CATEGORY_CHOICES)
-
-
- def __unicode__(self):
- return self.exam_id
-
-class Notification(models.Model):
-"""Borrowed from PyTask. Used to send notifications to users from the site
-regarding various announcements."""
-
- pass
-
diff --git a/profiler/tests.py b/profiler/tests.py
deleted file mode 100644
index 501deb7..0000000
--- a/profiler/tests.py
+++ /dev/null
@@ -1,16 +0,0 @@
-"""
-This file demonstrates writing tests using the unittest module. These will pass
-when you run "manage.py test".
-
-Replace this with more appropriate tests for your application.
-"""
-
-from django.test import TestCase
-
-
-class SimpleTest(TestCase):
- def test_basic_addition(self):
- """
- Tests that 1 + 1 always equals 2.
- """
- self.assertEqual(1 + 1, 2)
diff --git a/profiler/views.py b/profiler/views.py
deleted file mode 100644
index 60f00ef..0000000
--- a/profiler/views.py
+++ /dev/null
@@ -1 +0,0 @@
-# Create your views here.
diff --git a/settings.py b/settings.py
index 2fd3810..ea12ed7 100644
--- a/settings.py
+++ b/settings.py
@@ -128,7 +128,6 @@ INSTALLED_APPS = (
'registration',
'allotter',
- 'profiler'
)
ACCOUNT_ACTIVATION_DAYS = 7