from django.urls import path

from .views import (
    home,
    student_dashboard,
    assignment_detail,
    get_hint,
    call_teacher,
    login_view,
    logout_view,
)

app_name = "core"

urlpatterns = [
    path("", home, name="home"),
    path("login/", login_view, name="login"),
    path("logout/", logout_view, name="logout"),
    path("dashboard/", student_dashboard, name="student_dashboard"),
    path("assignment/<int:assignment_id>/", assignment_detail, name="assignment_detail"),
    path("hint/<int:exercise_id>/", get_hint, name="get_hint"),
    path("call-teacher/", call_teacher, name="call_teacher"),
]
