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): ...@@ -12,9 +12,9 @@ class Announcement(models.Model):
class Reaction(models.Model): class Reaction(models.Model):
LIKE = 'like' LIKE = 'Like'
LOVE = 'love' LOVE = 'Love'
ANGR = 'angry' ANGR = 'Angry'
namechoices = [ namechoices = [
(LIKE, 'Like'), (LIKE, 'Like'),
(LOVE, 'Love'), (LOVE, 'Love'),
......
...@@ -11,7 +11,7 @@ def pageview(request): ...@@ -11,7 +11,7 @@ def pageview(request):
string_builder = "{} <br> {} by {} published {} <br> {}".format( string_builder = "{} <br> {} by {} published {} <br> {}".format(
string_builder, announcement.title, announcement.author, 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 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