Crash when viewing upcoming event
This is either a data import error or a bug in Amy; either way, Amy should give something better than a stack trace when something goes wrong.
1.  `make clean`
2.  `make database` to import faked data.
3.  `make serve` to run.
4.  go to http://127.0.0.1:8000/workshops/
5.  fifth event down under 'upcoming events' is labelled 2015-04-xx-ttt-nih - click on it.
6.  boom: "ObjectDoesNotExist at /workshops/event/2015-04-xx-ttt-nih"

Other upcoming events display properly, and occurs as of b2e0c6058.

diff --git a/workshops/models.py b/workshops/models.py
index dec147a7..605b1ab8 100644
--- a/workshops/models.py
+++ b/workshops/models.py
@@ -228,10 +228,13 @@ class Event(models.Model):
         The real indicator is the 'published' flag.
         '''
 
+        # match event ID
         if re.match(r'^\\d+$', ident):
             return Event.objects.get(id=ident)
 
-        if re.match(r'^\\d{4}-\\d{2}-\\d{2}-.+$', ident):
+        # match event slug in format YYYY-MM-**** (ie. this works for
+        # YYYY-MMMM-DD-**** too)
+        if re.match(r'^\\d{4}-\\d{2}-.+$', ident):
             return Event.objects.get(slug=ident)
 
         raise ObjectDoesNotExist(ident)
['workshops/models.py']