Fix Django adapter options handling