From 0d11b934b707b3bc6c55eeff6c24f33ccfdc05d5 Mon Sep 17 00:00:00 2001 From: Bart Merenda Date: Mon, 14 Dec 2015 12:55:49 +0100 Subject: [PATCH] Added AppConfig --- AUTHORS | 1 + oauth2_provider/__init__.py | 2 ++ oauth2_provider/apps.py | 6 ++++++ 3 files changed, 9 insertions(+) create mode 100644 oauth2_provider/apps.py diff --git a/AUTHORS b/AUTHORS index 88c94b7f0..7b2c6b83f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,3 +15,4 @@ Rodney Richardson Hiroki Kiyohara Diego Garcia Bas van Oostveen +Bart Merenda diff --git a/oauth2_provider/__init__.py b/oauth2_provider/__init__.py index 9ffed34b1..ea2f026c9 100644 --- a/oauth2_provider/__init__.py +++ b/oauth2_provider/__init__.py @@ -2,4 +2,6 @@ __author__ = "Massimiliano Pippi & Federico Frenguelli" +default_app_config = 'oauth2_provider.apps.DOTConfig' + VERSION = __version__ # synonym diff --git a/oauth2_provider/apps.py b/oauth2_provider/apps.py new file mode 100644 index 000000000..6f67f3871 --- /dev/null +++ b/oauth2_provider/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class DOTConfig(AppConfig): + name = 'oauth2_provider' + verbose_name = "Django OAuth Toolkit"