Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim-sisar committed Feb 24, 2025
1 parent 1f5d5c2 commit 0b1f060
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified main/__pycache__/settings.cpython-312.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SECRET_KEY = os.getenv('DJANGO_SECRET_KEY', 'default-secret-key')

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True

ALLOWED_HOSTS = [
"quickchat-production-decc.up.railway.app",
Expand Down
Binary file modified users/__pycache__/views.cpython-312.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def user_login(request):
messages.error(request, "Invalid username or password.")
return render(request, 'login.html')

return render(request, 'login.html')
return render(request, 'Login.html')
@login_required
def user_logout(request):
logout(request)
Expand Down

0 comments on commit 0b1f060

Please sign in to comment.