diff options
Diffstat (limited to 'dev_status')
| -rw-r--r-- | dev_status/urls.py | 1 | ||||
| -rw-r--r-- | dev_status/views.py | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/dev_status/urls.py b/dev_status/urls.py index c4250b78..62c4c3a2 100644 --- a/dev_status/urls.py +++ b/dev_status/urls.py @@ -1,5 +1,6 @@ from django.urls import path from django.views.generic import RedirectView + from . import views app_name = 'dev_status' diff --git a/dev_status/views.py b/dev_status/views.py index 0291159a..0a7adf7f 100644 --- a/dev_status/views.py +++ b/dev_status/views.py @@ -1,9 +1,10 @@ -from django.shortcuts import render -from github import Github -from dotenv import load_dotenv +import math import os + import requests -import math +from django.shortcuts import render +from dotenv import load_dotenv +from github import Github load_dotenv() g = Github(os.getenv('GH_TOKEN')) |
