Responded to jrbl's style comments, added test reference to check endpoint, and parameterized database name from django.conf.settings