浏览代码

update local settings template

Mohammed Khan 1 年之前
父节点
当前提交
44e2fe8da9
共有 2 个文件被更改,包括 5 次插入6 次删除
  1. 0 6
      backend/UnTube/secrets.py
  2. 5 0
      backend/UnTube/settings/templates/settings.dev.py

+ 0 - 6
backend/UnTube/secrets.py

@@ -1,6 +0,0 @@
-# Make sure you change these before production or to run this project on your own machine ;)
-SECRETS = {"SECRET_KEY": 'django-insecure-ycs22y+20sq67y(6dm6ynqw=dlhg!)%vuqpd@$p6rf3!#1h$u=',
-           "YOUTUBE_V3_API_KEY": 'AIzaSyCBOucAIJ5PdLeqzTfkTQ_6twsjNaMecS8',
-           "GOOGLE_OAUTH_CLIENT_ID": "901333803283-1lscbdmukcjj3qp0t3relmla63h6l9k6.apps.googleusercontent.com",
-           "GOOGLE_OAUTH_CLIENT_SECRET": "ekdBniL-_mAnNPwCmugfIL2q",
-           "GOOGLE_OAUTH_SCOPES": ['https://www.googleapis.com/auth/youtube']}

+ 5 - 0
backend/UnTube/settings/templates/settings.dev.py

@@ -1,2 +1,7 @@
 DEBUG = True
 SECRET_KEY = "django-insecure-ycs22y+20sq67y(6dm6ynqw=dlhg!)%vuqpd@$p6rf3!#1h$u="
+
+# please fill these in with your own Google OAuth credentials for the app to run properly!
+YOUTUBE_V3_API_KEY = NotImplemented
+GOOGLE_OAUTH_CLIENT_ID = NotImplemented
+GOOGLE_OAUTH_CLIENT_SECRET = NotImplemented