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
a47e3684
Commit
a47e3684
authored
Nov 22, 2014
by
Daniel W Bond
Browse files
comments
parent
3e89df59
Changes
1
Show whitespace changes
Inline
Side-by-side
roomlist/housing/models.py
View file @
a47e3684
...
...
@@ -80,6 +80,10 @@ class Student(TimeStampedModel):
room
=
models
.
OneToOneField
(
Room
)
# class = models.OneToOneField(Class)
# major = models.
# social media accounts
slug
=
AutoSlugField
(
populate_from
=
'user'
,
unique
=
True
)
def
__str__
(
self
):
# __unicode__ on Python 2
...
...
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