api_core represents a core module used primary in eszone_ API projects providing an authentication, set of exceptions and a bunch of API views to manage tokens. Token is passed in a request data as a 'authentication.token' key followed by a value containing uuid4 string representation of a token.
-
Submodule this application into your Django project
git submodule add *repository-link*
-
Append 'api_core' to INSTALLED_APPS in your Django project settings
-
Route api_core submodule in a urls.py file in your Django project settings
url(r'^my-url-auth/', include('api_core.urls')),