소스 검색

added a new app named analytics for analysis staff

Mohidul Islam 5 년 전
부모
커밋
bdf2ea13b0
11개의 변경된 파일178개의 추가작업 그리고 53개의 파일을 삭제
  1. 1 0
      .gitignore
  2. 0 0
      analytics/__init__.py
  3. 3 0
      analytics/admin.py
  4. 5 0
      analytics/apps.py
  5. 0 0
      analytics/migrations/__init__.py
  6. 3 0
      analytics/models.py
  7. 3 0
      analytics/tests.py
  8. 3 0
      analytics/views.py
  9. 2 1
      gauth/views.py
  10. 1 0
      review_automation/settings.py
  11. 157 52
      review_data_set.csv

+ 1 - 0
.gitignore

@@ -4,6 +4,7 @@ __pycache__/
 *$py.class
 .vscode
 .idea
+review_data_set.csv
 # C extensions
 *.so
 client_secrets.json

+ 0 - 0
analytics/__init__.py


+ 3 - 0
analytics/admin.py

@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.

+ 5 - 0
analytics/apps.py

@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+
+
+class AnalyticsConfig(AppConfig):
+    name = 'analytics'

+ 0 - 0
analytics/migrations/__init__.py


+ 3 - 0
analytics/models.py

@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.

+ 3 - 0
analytics/tests.py

@@ -0,0 +1,3 @@
+from django.test import TestCase
+
+# Create your tests here.

+ 3 - 0
analytics/views.py

@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.

+ 2 - 1
gauth/views.py

@@ -29,7 +29,8 @@ def get_token(request):
 def google_auth(request):
     user = User.objects.filter(username='admin@ercare').first()
     if not user:
-        return HttpResponse('<h1>You have to have a user account with username "admin@ercare". Please create a superuser using manage.py createsuperuser</h2>')
+        return HttpResponse('<h1>You have to have a user account with username "admin@ercare".'
+                            ' Please create a superuser using manage.py createsuperuser</h2>')
     return redirect('authorize')
 
 

+ 1 - 0
review_automation/settings.py

@@ -27,6 +27,7 @@ INSTALLED_APPS = [
     'review.apps.ReviewConfig',
     'dashboard.apps.DashboardConfig',
     'nlu_job.apps.NluJobConfig',
+    'analytics.apps.AnalyticsConfig',
 
     'crispy_forms',
     'django_crontab',

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 157 - 52
review_data_set.csv


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.