getting rid of the django dependency