added django-path option and consolidated methods