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
1d097ad7
Commit
1d097ad7
authored
Feb 21, 2015
by
Daniel W Bond
Browse files
missing string field
parent
878e8efa
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/models.py
View file @
1d097ad7
...
...
@@ -13,6 +13,9 @@ class Major(TimeStampedModel):
name
=
models
.
CharField
(
max_length
=
50
)
# I believe the longest is "Government and International Politics"
def
__str__
(
self
):
return
self
.
name
class
StudentQuerySet
(
models
.
query
.
QuerySet
):
def
floor
(
self
):
return
self
.
filter
(
privacy
=
FLOOR
)
...
...
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