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
a5f87787
Commit
a5f87787
authored
Feb 22, 2015
by
Daniel W Bond
Browse files
students can now share rooms
parent
9b7b879c
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/models.py
View file @
a5f87787
...
...
@@ -83,9 +83,9 @@ class Student(TimeStampedModel):
privacy
=
models
.
CharField
(
max_length
=
100
,
choices
=
PRIVACY_CHOICES
,
default
=
FLOOR
)
room
=
models
.
OneToOneField
(
Room
)
clas
=
models
.
OneToOneField
(
Class
)
major
=
models
.
OneToOneField
(
Major
)
room
=
models
.
ForeignKey
(
Room
)
clas
=
models
.
ForeignKey
(
Class
)
major
=
models
.
ForeignKey
(
'
Major
'
)
# social media accounts
...
...
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