Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
ff271f59
Commit
ff271f59
authored
Nov 25, 2014
by
Jason Yeomans
Browse files
add student to admin.py, include accounts app in settings
parent
f8e5efe3
Changes
2
Hide whitespace changes
Inline
Side-by-side
roomlist/housing/admin.py
View file @
ff271f59
from
django.contrib
import
admin
from
housing.models
import
Class
,
Building
,
Address
,
Room
from
housing.models
import
Class
,
Building
,
Address
,
Room
,
Student
# Register your models here.
admin
.
site
.
register
(
Class
)
admin
.
site
.
register
(
Building
)
admin
.
site
.
register
(
Address
)
admin
.
site
.
register
(
Room
)
admin
.
site
.
register
(
Student
)
roomlist/settings/settings.py
View file @
ff271f59
...
...
@@ -66,6 +66,7 @@ INSTALLED_APPS = (
'django.contrib.staticfiles'
,
'api'
,
'housing'
,
'accounts'
,
'crispy_forms'
,
'django_gravatar'
,
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment