Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roomlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
roomlist
Commits
1d097ad7
Commit
1d097ad7
authored
Feb 21, 2015
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing string field
parent
878e8efa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
roomlist/accounts/models.py
roomlist/accounts/models.py
+3
-0
No files found.
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