Commit c71e66c7 authored by Michael Lopez's avatar Michael Lopez

minor edit on semantics to capitalize the first letter of 'like', 'love', and 'angry'

parent dc0ece9d
......@@ -12,9 +12,9 @@ class Announcement(models.Model):
class Reaction(models.Model):
LIKE = 'like'
LOVE = 'love'
ANGR = 'angry'
LIKE = 'Like'
LOVE = 'Love'
ANGR = 'Angry'
namechoices = [
(LIKE, 'Like'),
(LOVE, 'Love'),
......
......@@ -11,7 +11,7 @@ def pageview(request):
string_builder = "{} <br> {} by {} published {} <br> {}".format(
string_builder, announcement.title, announcement.author,
announcement.pub_datetime.strftime("%m/%d/%Y, %I:%M %p"),
announcement.pub_datetime.strftime("%m/%d/%Y, %I:%M %p:"),
announcement.body
)
......
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