Edit to URLconf in preparation for using generic views.
Edited views to use generic views.