Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions core/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
path('about/', views.about, name='about'),
path('contact/', views.contact, name='contact'),
path("forgot-password/", views.forgot_password, name="forgot_password"),

#adding edit pagw ka url here
# urls.py



# Success Stories URLs
path('success-stories/', views.success_stories, name='success_stories'),
Expand Down
2 changes: 2 additions & 0 deletions core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
import json
from django.views.decorators.http import require_GET



@require_GET
def auth_check(request):
"""API endpoint to check if user is authenticated"""
Expand Down
Binary file modified db.sqlite3
Binary file not shown.
2 changes: 2 additions & 0 deletions peerprep/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
path('dashboard/', views.dashboard, name='dashboard'),
path('forgot-password/', views.forgot_password, name='forgot_password'),


# Success Stories
path('success-stories/', views.success_stories, name='success_stories'),
path('auth-check/', views.auth_check, name='auth_check'),
Expand All @@ -33,5 +34,6 @@
path('user-reactions/<int:story_id>/', views.get_user_reactions, name='get_user_reactions'),
]


if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATICFILES_DIRS[0])
Loading