Assume that you have two implemented Function-based views: cat_view and dog_view.
Populate the urlpatterns with paths so that requests with the link cat/ are processed by the cat_view, and those with the link dog/ are processed by the dog_view.
Do not define the cat_view and dog_view functions!