Verified Commit 1b6fb77d authored by David Haynes's avatar David Haynes 🙆
Browse files

dependency update 06-04-17

- plus a correction in Alert model doc
parent 22979385
Pipeline #1383 passed with stage
in 1 minute and 8 seconds
......@@ -4,3 +4,4 @@ django-cas-client==1.3.0
djangorestframework==3.6.3
django-model-utils==3.0.0
mysqlclient==1.3.10
setuptools==36.0.1
\ No newline at end of file
......@@ -297,13 +297,6 @@ class Alert(TimeStampedModel):
in effect, election reminder, advertising for other SRCT projects.
Alerts last for a period of time until the information is no longer dank.
alert: {
urgency_tag: [info, slight, major, emergency],
message: String(),
startDate: Date(),
endDate: Date()
}
"""
# Define string constants to represent urgency tag levels
INFO = 'info'
......@@ -311,7 +304,7 @@ class Alert(TimeStampedModel):
MAJOR = 'major'
EMERGENCY = 'emergency'
# Tuple that ties a urgency tag with an integer representation
# Tuple that ties a urgency tag with a string representation
URGENCY_CHOICES = (
(INFO, 'Info'),
(SLIGHT, 'Slight'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment