Updated dependencies/imports in views.py
added the aff_id to the HttpResponse