fix for missing urlpatterns error in gunicorn: from http://stackoverflow.com/a/21005346