diff options
Diffstat (limited to 'tools/pharos-dashboard/pharos_dashboard')
-rw-r--r-- | tools/pharos-dashboard/pharos_dashboard/settings.py | 9 | ||||
-rw-r--r-- | tools/pharos-dashboard/pharos_dashboard/urls.py | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/pharos_dashboard/settings.py b/tools/pharos-dashboard/pharos_dashboard/settings.py index 77175016..a482f95d 100644 --- a/tools/pharos-dashboard/pharos_dashboard/settings.py +++ b/tools/pharos-dashboard/pharos_dashboard/settings.py @@ -56,6 +56,7 @@ MIDDLEWARE = [ 'account.middleware.TimezoneMiddleware', ] + ROOT_URLCONF = 'pharos_dashboard.urls' TEMPLATES = [ @@ -144,3 +145,11 @@ djcelery.setup_loader() BROKER_URL = 'django://' CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler' +JIRA_URL = 'http://localhost:8080' + +OAUTH_CONSUMER_KEY = 'oauth-pharos-dashboard-consumer' +OAUTH_CONSUMER_SECRET = 'development_secret' + +OAUTH_REQUEST_TOKEN_URL = JIRA_URL + '/plugins/servlet/oauth/request-token' +OAUTH_ACCESS_TOKEN_URL = JIRA_URL + '/plugins/servlet/oauth/access-token' +OAUTH_AUTHORIZE_URL = JIRA_URL + '/plugins/servlet/oauth/authorize'
\ No newline at end of file diff --git a/tools/pharos-dashboard/pharos_dashboard/urls.py b/tools/pharos-dashboard/pharos_dashboard/urls.py index 41aa4093..26ab3677 100644 --- a/tools/pharos-dashboard/pharos_dashboard/urls.py +++ b/tools/pharos-dashboard/pharos_dashboard/urls.py @@ -20,5 +20,6 @@ urlpatterns = [ url(r'^', include('dashboard.urls', namespace='dashboard')), url(r'^booking/', include('booking.urls', namespace='booking')), url(r'^account/', include('account.urls', namespace='account')), + url(r'^admin/', admin.site.urls), ]
\ No newline at end of file |