allow non-django usage