Deal with Django bug when saving model with foreign
key: https://code.djangoproject.com/ticket/10811
support viewing photos and photo detail