diff options
author | hardythe1 | 2014-02-10 15:23:44 +0530 |
---|---|---|
committer | hardythe1 | 2014-02-10 15:23:44 +0530 |
commit | 816527bd7d521965e790263b8b1bf8ea3773b290 (patch) | |
tree | 14b53a23e3c706d9fb369e52d43562b3cd0eceeb | |
parent | f26211029f8847f5ee7e55922391160475112605 (diff) | |
download | Python-TBC-Interface-816527bd7d521965e790263b8b1bf8ea3773b290.tar.gz Python-TBC-Interface-816527bd7d521965e790263b8b1bf8ea3773b290.tar.bz2 Python-TBC-Interface-816527bd7d521965e790263b8b1bf8ea3773b290.zip |
adding book categories
-rw-r--r-- | tbc/models.py | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/tbc/models.py b/tbc/models.py index 7defae8..f334579 100644 --- a/tbc/models.py +++ b/tbc/models.py @@ -3,32 +3,39 @@ from django.contrib.auth.models import User from PythonTBC import settings -CATEGORY = (("computer science", "Computer Science"), - ("chemical engg", "Chemical Engg"), - ("aerospace engg", "Aerospace Engg"), - ("electronics engg", "Electronics Engg"), +CATEGORY = (("fluid mechanics", "Fluid Mechanics"), + ("control systems", "Control Theory & Control Systems"), + ("chemical engineering", "Chemical Engineering"), ("thermodynamics", "Thermodynamics"), - ("mechanical engg", "Mechanical Engg"), - ("mathematics", "Mathematics")) + ("mechanical engineering", "Mechanical Engineering"), + ("signal processing", "Signal Processing"), + ("digital communications", "Digital Communications"), + ("electrical technology", "Electrical Technology"), + ("maths & science", "Mathematics & Pure Science"), + ("analog electronics", "Analog Electronics"), + ("digital electronics", "Digital Electronics"), + ("computer programming", "Computer Programming"), + ("others", "Others")) GENDER = (("male", "Male"), ("female", "Female")) -COURSES = (("mtech", "Mtech"), +COURSES = (("mtech", "M.Tech"), ("me", "ME"), ("msc", "MSc"), ("mscit", "MScIT"), ("mca", "MCA"), + ("btech", "B.Tech"), ("be", "BE"), ("bca", "BCA"), ("bscit", "BScIt"), ("others", "Others")) -ABOUT_PROJ = (("pythontbc website", "PythonTBC Website"), - ("through friend", "Through Friend"), - ("through prof/teacher", "Through Prof/Teacher"), - ("through mailing list", "Through Mailing List"), - ("through posters in college", "Through Posters in College"), +ABOUT_PROJ = (("pythontbc website", "Python TBC Website"), + ("friend", "Through Friend"), + ("prof/teacher", "Through Prof/Teacher"), + ("mailing list", "Through Mailing List"), + ("posters in college", "Through Posters in College"), ("others", "Others")) def get_notebook_dir(instance, filename): |