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
710d0165
Commit
710d0165
authored
Sep 24, 2016
by
h
Browse files
added abbreviation char field to housing building model
parent
0dca9539
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/housing/models.py
View file @
710d0165
...
...
@@ -13,7 +13,7 @@ from autoslug import AutoSlugField
class
Building
(
TimeStampedModel
):
name
=
models
.
CharField
(
max_length
=
100
,
unique
=
True
)
abbreviation
=
models
.
CharField
(
max_length
=
2
,
blank
=
True
)
NONE
=
'na'
AQUIA
=
'aq'
RAPPAHANNOCK
=
'ra'
...
...
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