diff --git a/boofilsic/settings.py b/boofilsic/settings.py index 01e820a1..39ba74fb 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -143,7 +143,7 @@ if not DEBUG: 'file': { 'level': 'INFO', 'class': 'logging.FileHandler', - 'filename': '/path/to/django/debug.log', + 'filename': os.path.join(BASE_DIR, 'log'), }, }, 'loggers': { diff --git a/common/static/img/logo.svg b/common/static/img/logo.svg index 92810da0..0570333b 100644 --- a/common/static/img/logo.svg +++ b/common/static/img/logo.svg @@ -1 +1 @@ -logo \ No newline at end of file +logo \ No newline at end of file diff --git a/log b/log new file mode 100644 index 00000000..e69de29b diff --git a/users/views.py b/users/views.py index 0f14a0ad..a23f6b5e 100644 --- a/users/views.py +++ b/users/views.py @@ -51,7 +51,7 @@ def login(request): # TODO NOTE replace http with https!!!! auth_url = f"https://{MASTODON_DOMAIN_NAME}{API_OAUTH_AUTHORIZE}?" +\ f"client_id={CLIENT_ID}&scope=read+write&" +\ - f"redirect_uri=http://{request.get_host()}{reverse('users:OAuth2_login')}" +\ + f"redirect_uri=https://{request.get_host()}{reverse('users:OAuth2_login')}" +\ "&response_type=code" return render(