Commit 2ec1d86f authored by Ben Waters's avatar Ben Waters
Browse files

am i root?

parent 1b8742a8
......@@ -39,7 +39,7 @@ INSTALLED_APPS = (
'mainapp',
'rest_framework',
'south',
'rest_framework_swagger',
'django_gravatar',
)
MIDDLEWARE_CLASSES = (
......
This diff is collapsed.
[{"pk": 1, "model": "contenttypes.contenttype", "fields": {"model": "logentry", "name": "log entry", "app_label": "admin"}}, {"pk": 2, "model": "contenttypes.contenttype", "fields": {"model": "permission", "name": "permission", "app_label": "auth"}}, {"pk": 3, "model": "contenttypes.contenttype", "fields": {"model": "group", "name": "group", "app_label": "auth"}}, {"pk": 4, "model": "contenttypes.contenttype", "fields": {"model": "user", "name": "user", "app_label": "auth"}}, {"pk": 5, "model": "contenttypes.contenttype", "fields": {"model": "contenttype", "name": "content type", "app_label": "contenttypes"}}, {"pk": 6, "model": "contenttypes.contenttype", "fields": {"model": "session", "name": "session", "app_label": "sessions"}}, {"pk": 7, "model": "contenttypes.contenttype", "fields": {"model": "migrationhistory", "name": "migration history", "app_label": "south"}}, {"pk": 8, "model": "contenttypes.contenttype", "fields": {"model": "student", "name": "student", "app_label": "mainapp"}}, {"pk": 9, "model": "contenttypes.contenttype", "fields": {"model": "advisoradminuser", "name": "advisor admin user", "app_label": "mainapp"}}, {"pk": 10, "model": "contenttypes.contenttype", "fields": {"model": "semester", "name": "semester", "app_label": "mainapp"}}, {"pk": 11, "model": "contenttypes.contenttype", "fields": {"model": "trajectory", "name": "trajectory", "app_label": "mainapp"}}, {"pk": 12, "model": "contenttypes.contenttype", "fields": {"model": "program", "name": "program", "app_label": "mainapp"}}, {"pk": 13, "model": "contenttypes.contenttype", "fields": {"model": "major", "name": "major", "app_label": "mainapp"}}, {"pk": 14, "model": "contenttypes.contenttype", "fields": {"model": "minor", "name": "minor", "app_label": "mainapp"}}, {"pk": 15, "model": "contenttypes.contenttype", "fields": {"model": "gened", "name": "gen ed", "app_label": "mainapp"}}, {"pk": 16, "model": "contenttypes.contenttype", "fields": {"model": "concentration", "name": "concentration", "app_label": "mainapp"}}, {"pk": 17, "model": "contenttypes.contenttype", "fields": {"model": "requirement", "name": "requirement", "app_label": "mainapp"}}, {"pk": 18, "model": "contenttypes.contenttype", "fields": {"model": "metacourse", "name": "meta course", "app_label": "mainapp"}}, {"pk": 19, "model": "contenttypes.contenttype", "fields": {"model": "course", "name": "course", "app_label": "mainapp"}}, {"pk": 20, "model": "contenttypes.contenttype", "fields": {"model": "coursegroup", "name": "course group", "app_label": "mainapp"}}, {"pk": 21, "model": "contenttypes.contenttype", "fields": {"model": "buildresponse", "name": "build response", "app_label": "mainapp"}}, {"pk": 1, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.247Z", "app_name": "mainapp", "migration": "0001_initial"}}, {"pk": 2, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.310Z", "app_name": "mainapp", "migration": "0002_auto"}}, {"pk": 3, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.392Z", "app_name": "mainapp", "migration": "0003_auto__add_buildresponse"}}, {"pk": 4, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.463Z", "app_name": "mainapp", "migration": "0004_auto__add_field_metacourse_name"}}, {"pk": 5, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.564Z", "app_name": "mainapp", "migration": "0005_auto__chg_field_metacourse_name"}}, {"pk": 6, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.630Z", "app_name": "mainapp", "migration": "0006_auto__add_field_student_slug"}}, {"pk": 7, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.705Z", "app_name": "mainapp", "migration": "0007_auto__chg_field_student_slug"}}, {"pk": 8, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.780Z", "app_name": "mainapp", "migration": "0008_auto__chg_field_student_trajectory"}}, {"pk": 9, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.852Z", "app_name": "mainapp", "migration": "0009_auto__chg_field_student_advisorname"}}, {"pk": 10, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:01.928Z", "app_name": "mainapp", "migration": "0010_auto__del_field_metacourse_name"}}, {"pk": 11, "model": "south.migrationhistory", "fields": {"applied": "2014-03-02T05:03:02.031Z", "app_name": "mainapp", "migration": "0011_auto__del_field_major_concentration__chg_field_major_gened__add_field_"}}, {"pk": 1, "model": "auth.permission", "fields": {"codename": "add_logentry", "name": "Can add log entry", "content_type": 1}}, {"pk": 2, "model": "auth.permission", "fields": {"codename": "change_logentry", "name": "Can change log entry", "content_type": 1}}, {"pk": 3, "model": "auth.permission", "fields": {"codename": "delete_logentry", "name": "Can delete log entry", "content_type": 1}}, {"pk": 4, "model": "auth.permission", "fields": {"codename": "add_permission", "name": "Can add permission", "content_type": 2}}, {"pk": 5, "model": "auth.permission", "fields": {"codename": "change_permission", "name": "Can change permission", "content_type": 2}}, {"pk": 6, "model": "auth.permission", "fields": {"codename": "delete_permission", "name": "Can delete permission", "content_type": 2}}, {"pk": 7, "model": "auth.permission", "fields": {"codename": "add_group", "name": "Can add group", "content_type": 3}}, {"pk": 8, "model": "auth.permission", "fields": {"codename": "change_group", "name": "Can change group", "content_type": 3}}, {"pk": 9, "model": "auth.permission", "fields": {"codename": "delete_group", "name": "Can delete group", "content_type": 3}}, {"pk": 10, "model": "auth.permission", "fields": {"codename": "add_user", "name": "Can add user", "content_type": 4}}, {"pk": 11, "model": "auth.permission", "fields": {"codename": "change_user", "name": "Can change user", "content_type": 4}}, {"pk": 12, "model": "auth.permission", "fields": {"codename": "delete_user", "name": "Can delete user", "content_type": 4}}, {"pk": 13, "model": "auth.permission", "fields": {"codename": "add_contenttype", "name": "Can add content type", "content_type": 5}}, {"pk": 14, "model": "auth.permission", "fields": {"codename": "change_contenttype", "name": "Can change content type", "content_type": 5}}, {"pk": 15, "model": "auth.permission", "fields": {"codename": "delete_contenttype", "name": "Can delete content type", "content_type": 5}}, {"pk": 16, "model": "auth.permission", "fields": {"codename": "add_session", "name": "Can add session", "content_type": 6}}, {"pk": 17, "model": "auth.permission", "fields": {"codename": "change_session", "name": "Can change session", "content_type": 6}}, {"pk": 18, "model": "auth.permission", "fields": {"codename": "delete_session", "name": "Can delete session", "content_type": 6}}, {"pk": 19, "model": "auth.permission", "fields": {"codename": "add_migrationhistory", "name": "Can add migration history", "content_type": 7}}, {"pk": 20, "model": "auth.permission", "fields": {"codename": "change_migrationhistory", "name": "Can change migration history", "content_type": 7}}, {"pk": 21, "model": "auth.permission", "fields": {"codename": "delete_migrationhistory", "name": "Can delete migration history", "content_type": 7}}, {"pk": 22, "model": "auth.permission", "fields": {"codename": "add_student", "name": "Can add student", "content_type": 8}}, {"pk": 23, "model": "auth.permission", "fields": {"codename": "change_student", "name": "Can change student", "content_type": 8}}, {"pk": 24, "model": "auth.permission", "fields": {"codename": "delete_student", "name": "Can delete student", "content_type": 8}}, {"pk": 25, "model": "auth.permission", "fields": {"codename": "add_advisoradminuser", "name": "Can add advisor admin user", "content_type": 9}}, {"pk": 26, "model": "auth.permission", "fields": {"codename": "change_advisoradminuser", "name": "Can change advisor admin user", "content_type": 9}}, {"pk": 27, "model": "auth.permission", "fields": {"codename": "delete_advisoradminuser", "name": "Can delete advisor admin user", "content_type": 9}}, {"pk": 28, "model": "auth.permission", "fields": {"codename": "add_semester", "name": "Can add semester", "content_type": 10}}, {"pk": 29, "model": "auth.permission", "fields": {"codename": "change_semester", "name": "Can change semester", "content_type": 10}}, {"pk": 30, "model": "auth.permission", "fields": {"codename": "delete_semester", "name": "Can delete semester", "content_type": 10}}, {"pk": 31, "model": "auth.permission", "fields": {"codename": "add_trajectory", "name": "Can add trajectory", "content_type": 11}}, {"pk": 32, "model": "auth.permission", "fields": {"codename": "change_trajectory", "name": "Can change trajectory", "content_type": 11}}, {"pk": 33, "model": "auth.permission", "fields": {"codename": "delete_trajectory", "name": "Can delete trajectory", "content_type": 11}}, {"pk": 34, "model": "auth.permission", "fields": {"codename": "add_program", "name": "Can add program", "content_type": 12}}, {"pk": 35, "model": "auth.permission", "fields": {"codename": "change_program", "name": "Can change program", "content_type": 12}}, {"pk": 36, "model": "auth.permission", "fields": {"codename": "delete_program", "name": "Can delete program", "content_type": 12}}, {"pk": 37, "model": "auth.permission", "fields": {"codename": "add_major", "name": "Can add major", "content_type": 13}}, {"pk": 38, "model": "auth.permission", "fields": {"codename": "change_major", "name": "Can change major", "content_type": 13}}, {"pk": 39, "model": "auth.permission", "fields": {"codename": "delete_major", "name": "Can delete major", "content_type": 13}}, {"pk": 40, "model": "auth.permission", "fields": {"codename": "add_minor", "name": "Can add minor", "content_type": 14}}, {"pk": 41, "model": "auth.permission", "fields": {"codename": "change_minor", "name": "Can change minor", "content_type": 14}}, {"pk": 42, "model": "auth.permission", "fields": {"codename": "delete_minor", "name": "Can delete minor", "content_type": 14}}, {"pk": 43, "model": "auth.permission", "fields": {"codename": "add_gened", "name": "Can add gen ed", "content_type": 15}}, {"pk": 44, "model": "auth.permission", "fields": {"codename": "change_gened", "name": "Can change gen ed", "content_type": 15}}, {"pk": 45, "model": "auth.permission", "fields": {"codename": "delete_gened", "name": "Can delete gen ed", "content_type": 15}}, {"pk": 46, "model": "auth.permission", "fields": {"codename": "add_concentration", "name": "Can add concentration", "content_type": 16}}, {"pk": 47, "model": "auth.permission", "fields": {"codename": "change_concentration", "name": "Can change concentration", "content_type": 16}}, {"pk": 48, "model": "auth.permission", "fields": {"codename": "delete_concentration", "name": "Can delete concentration", "content_type": 16}}, {"pk": 49, "model": "auth.permission", "fields": {"codename": "add_requirement", "name": "Can add requirement", "content_type": 17}}, {"pk": 50, "model": "auth.permission", "fields": {"codename": "change_requirement", "name": "Can change requirement", "content_type": 17}}, {"pk": 51, "model": "auth.permission", "fields": {"codename": "delete_requirement", "name": "Can delete requirement", "content_type": 17}}, {"pk": 52, "model": "auth.permission", "fields": {"codename": "add_metacourse", "name": "Can add meta course", "content_type": 18}}, {"pk": 53, "model": "auth.permission", "fields": {"codename": "change_metacourse", "name": "Can change meta course", "content_type": 18}}, {"pk": 54, "model": "auth.permission", "fields": {"codename": "delete_metacourse", "name": "Can delete meta course", "content_type": 18}}, {"pk": 55, "model": "auth.permission", "fields": {"codename": "add_course", "name": "Can add course", "content_type": 19}}, {"pk": 56, "model": "auth.permission", "fields": {"codename": "change_course", "name": "Can change course", "content_type": 19}}, {"pk": 57, "model": "auth.permission", "fields": {"codename": "delete_course", "name": "Can delete course", "content_type": 19}}, {"pk": 58, "model": "auth.permission", "fields": {"codename": "add_coursegroup", "name": "Can add course group", "content_type": 20}}, {"pk": 59, "model": "auth.permission", "fields": {"codename": "change_coursegroup", "name": "Can change course group", "content_type": 20}}, {"pk": 60, "model": "auth.permission", "fields": {"codename": "delete_coursegroup", "name": "Can delete course group", "content_type": 20}}, {"pk": 61, "model": "auth.permission", "fields": {"codename": "add_buildresponse", "name": "Can add build response", "content_type": 21}}, {"pk": 62, "model": "auth.permission", "fields": {"codename": "change_buildresponse", "name": "Can change build response", "content_type": 21}}, {"pk": 63, "model": "auth.permission", "fields": {"codename": "delete_buildresponse", "name": "Can delete build response", "content_type": 21}}, {"pk": 1, "model": "auth.user", "fields": {"username": "admin", "first_name": "", "last_name": "", "is_active": true, "is_superuser": true, "is_staff": true, "last_login": "2014-03-02T05:02:51.979Z", "groups": [], "user_permissions": [], "password": "pbkdf2_sha256$12000$h0XPerRcAfYp$lK4Jg1sfuoJz0+REYUYo9rWiM2MMqkKGHL/zbn58jC4=", "email": "", "date_joined": "2014-03-02T05:02:51.979Z"}}]
\ No newline at end of file
/*
DJANGO Admin styles
*/
body {
margin: 0;
padding: 0;
font-size: 12px;
font-family: "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
color: #333;
background: #fff;
}
/* LINKS */
a:link, a:visited {
color: #5b80b2;
text-decoration: none;
}
a:hover {
color: #036;
}
a img {
border: none;
}
a.section:link, a.section:visited {
color: white;
text-decoration: none;
}
/* GLOBAL DEFAULTS */
p, ol, ul, dl {
margin: .2em 0 .8em 0;
}
p {
padding: 0;
line-height: 140%;
}
h1,h2,h3,h4,h5 {
font-weight: bold;
}
h1 {
font-size: 18px;
color: #666;
padding: 0 6px 0 0;
margin: 0 0 .2em 0;
}
h2 {
font-size: 16px;
margin: 1em 0 .5em 0;
}
h2.subhead {
font-weight: normal;
margin-top: 0;
}
h3 {
font-size: 14px;
margin: .8em 0 .3em 0;
color: #666;
font-weight: bold;
}
h4 {
font-size: 12px;
margin: 1em 0 .8em 0;
padding-bottom: 3px;
}
h5 {
font-size: 10px;
margin: 1.5em 0 .5em 0;
color: #666;
text-transform: uppercase;
letter-spacing: 1px;
}
ul li {
list-style-type: square;
padding: 1px 0;
}
ul.plainlist {
margin-left: 0 !important;
}
ul.plainlist li {
list-style-type: none;
}
li ul {
margin-bottom: 0;
}
li, dt, dd {
font-size: 11px;
line-height: 14px;
}
dt {
font-weight: bold;
margin-top: 4px;
}
dd {
margin-left: 0;
}
form {
margin: 0;
padding: 0;
}
fieldset {
margin: 0;
padding: 0;
}
blockquote {
font-size: 11px;
color: #777;
margin-left: 2px;
padding-left: 10px;
border-left: 5px solid #ddd;
}
code, pre {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
background: inherit;
color: #666;
font-size: 11px;
}
pre.literal-block {
margin: 10px;
background: #eee;
padding: 6px 8px;
}
code strong {
color: #930;
}
hr {
clear: both;
color: #eee;
background-color: #eee;
height: 1px;
border: none;
margin: 0;
padding: 0;
font-size: 1px;
line-height: 1px;
}
/* TEXT STYLES & MODIFIERS */
.small {
font-size: 11px;
}
.tiny {
font-size: 10px;
}
p.tiny {
margin-top: -2px;
}
.mini {
font-size: 9px;
}
p.mini {
margin-top: -3px;
}
.help, p.help {
font-size: 10px !important;
color: #999;
}
img.help-tooltip {
cursor: help;
}
p img, h1 img, h2 img, h3 img, h4 img, td img {
vertical-align: middle;
}
.quiet, a.quiet:link, a.quiet:visited {
color: #999 !important;
font-weight: normal !important;
}
.quiet strong {
font-weight: bold !important;
}
.float-right {
float: right;
}
.float-left {
float: left;
}
.clear {
clear: both;
}
.align-left {
text-align: left;
}
.align-right {
text-align: right;
}
.example {
margin: 10px 0;
padding: 5px 10px;
background: #efefef;
}
.nowrap {
white-space: nowrap;
}
/* TABLES */
table {
border-collapse: collapse;
border-color: #ccc;
}
td, th {
font-size: 11px;
line-height: 13px;
border-bottom: 1px solid #eee;
vertical-align: top;
padding: 5px;
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
}
th {
text-align: left;
font-size: 12px;
font-weight: bold;
}
thead th,
tfoot td {
color: #666;
padding: 2px 5px;
font-size: 11px;
background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
border-left: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
tfoot td {
border-bottom: none;
border-top: 1px solid #ddd;
}
thead th:first-child,
tfoot td:first-child {
border-left: none !important;
}
thead th.optional {
font-weight: normal !important;
}
fieldset table {
border-right: 1px solid #eee;
}
tr.row-label td {
font-size: 9px;
padding-top: 2px;
padding-bottom: 0;
border-bottom: none;
color: #666;
margin-top: -1px;
}
tr.alt {
background: #f6f6f6;
}
.row1 {
background: #EDF3FE;
}
.row2 {
background: white;
}
/* SORTABLE TABLES */
thead th {
padding: 2px 5px;
line-height: normal;
}
thead th a:link, thead th a:visited {
color: #666;
}
thead th.sorted {
background: #c5c5c5 url(../img/nav-bg-selected.gif) top left repeat-x;
}
thead th.sorted .text {
padding-right: 42px;
}
table thead th .text span {
padding: 2px 5px;
display:block;
}
table thead th .text a {
display: block;
cursor: pointer;
padding: 2px 5px;
}
table thead th.sortable:hover {
background: white url(../img/nav-bg-reverse.gif) 0 -5px repeat-x;
}
thead th.sorted a.sortremove {
visibility: hidden;
}
table thead th.sorted:hover a.sortremove {
visibility: visible;
}
table thead th.sorted .sortoptions {
display: block;
padding: 4px 5px 0 5px;
float: right;
text-align: right;
}
table thead th.sorted .sortpriority {
font-size: .8em;
min-width: 12px;
text-align: center;
vertical-align: top;
}
table thead th.sorted .sortoptions a {
width: 14px;
height: 12px;
display: inline-block;
}
table thead th.sorted .sortoptions a.sortremove {
background: url(../img/sorting-icons.gif) -4px -5px no-repeat;
}
table thead th.sorted .sortoptions a.sortremove:hover {
background: url(../img/sorting-icons.gif) -4px -27px no-repeat;
}
table thead th.sorted .sortoptions a.ascending {
background: url(../img/sorting-icons.gif) -5px -50px no-repeat;
}
table thead th.sorted .sortoptions a.ascending:hover {
background: url(../img/sorting-icons.gif) -5px -72px no-repeat;
}
table thead th.sorted .sortoptions a.descending {
background: url(../img/sorting-icons.gif) -5px -94px no-repeat;
}
table thead th.sorted .sortoptions a.descending:hover {
background: url(../img/sorting-icons.gif) -5px -115px no-repeat;
}
/* ORDERABLE TABLES */
table.orderable tbody tr td:hover {
cursor: move;
}
table.orderable tbody tr td:first-child {
padding-left: 14px;
background-image: url(../img/nav-bg-grabber.gif);
background-repeat: repeat-y;
}
table.orderable-initalized .order-cell, body>tr>td.order-cell {
display: none;
}
/* FORM DEFAULTS */
input, textarea, select, .form-row p {
margin: 2px 0;
padding: 2px 3px;
vertical-align: middle;
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
font-weight: normal;
font-size: 11px;
}
textarea {
vertical-align: top !important;
}
input[type=text], input[type=password], input[type=email], input[type=url], input[type=number],
textarea, select, .vTextField {
border: 1px solid #ccc;
}
/* FORM BUTTONS */
.button, input[type=submit], input[type=button], .submit-row input {
background: white url(../img/nav-bg.gif) bottom repeat-x;
padding: 3px 5px;
color: black;
border: 1px solid #bbb;
border-color: #ddd #aaa #aaa #ddd;
}
.button:active, input[type=submit]:active, input[type=button]:active {
background-image: url(../img/nav-bg-reverse.gif);
background-position: top;
}
.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
background-image: url(../img/nav-bg.gif);
background-position: bottom;
opacity: 0.4;
}
.button.default, input[type=submit].default, .submit-row input.default {
border: 2px solid #5b80b2;
background: #7CA0C7 url(../img/default-bg.gif) bottom repeat-x;
font-weight: bold;
color: white;
float: right;
}
.button.default:active, input[type=submit].default:active {
background-image: url(../img/default-bg-reverse.gif);
background-position: top;
}
.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
background-image: url(../img/default-bg.gif);
background-position: bottom;
opacity: 0.4;
}
/* MODULES */
.module {
border: 1px solid #ccc;
margin-bottom: 5px;
background: white;
}
.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
padding-left: 10px;
padding-right: 10px;
}
.module blockquote {
margin-left: 12px;
}
.module ul, .module ol {
margin-left: 1.5em;
}
.module h3 {
margin-top: .6em;
}
.module h2, .module caption, .inline-group h2 {
margin: 0;
padding: 2px 5px 3px 5px;
font-size: 11px;
text-align: left;
font-weight: bold;
background: #7CA0C7 url(../img/default-bg.gif) top left repeat-x;
color: white;
}
.module table {
border-collapse: collapse;
}
/* MESSAGES & ERRORS */
ul.messagelist {
padding: 0 0 5px 0;
margin: 0;
}
ul.messagelist li {
font-size: 12px;
display: block;
padding: 4px 5px 4px 25px;
margin: 0 0 3px 0;
border-bottom: 1px solid #ddd;
color: #666;
background: #ffc url(../img/icon_success.gif) 5px .3em no-repeat;
}
ul.messagelist li.warning{
background-image: url(../img/icon_alert.gif);
}
ul.messagelist li.error{
background-image: url(../img/icon_error.gif);
}
.errornote {
font-size: 12px !important;
display: block;
padding: 4px 5px 4px 25px;
margin: 0 0 3px 0;
border: 1px solid red;
color: red;
background: #ffc url(../img/icon_error.gif) 5px .3em no-repeat;
}
ul.errorlist {
margin: 0 !important;