Created new functions to produce associations dict
Used the utility functions in the view
Updated template to show associations
Added name to urlpattern