38188-vm/core/urls.py
Flatlogic Bot 16066e4ba4 Mock 5
2026-02-06 20:41:24 +00:00

15 lines
634 B
Python

from django.urls import path, include
from .views import home, mp_list, mp_detail, ticker_list, ticker_detail, toggle_follow, signup, profile
urlpatterns = [
path("", home, name="home"),
path("mps/", mp_list, name="mp_list"),
path("mp/<int:pk>/", mp_detail, name="mp_detail"),
path("tickers/", ticker_list, name="ticker_list"),
path("ticker/<str:ticker>/", ticker_detail, name="ticker_detail"),
path("toggle-follow/", toggle_follow, name="toggle_follow"),
path("signup/", signup, name="signup"),
path("profile/", profile, name="profile"),
path("accounts/", include("django.contrib.auth.urls")),
]