from django.urls import path
from .import views

urlpatterns = [
    path('', views.homepage, name="homepage"),
    path('decks/make/', views.make_deck, name='make_deck'),
    path('decks/edit/<int:deck_pk>', views.edit_deck, name='edit_deck'),
    path('decks/delete/<int:deck_pk>', views.delete_deck, name='delete_deck'),
    path('cards/make/<int:deck_pk>', views.make_card, name='make_card'),
    path('cards/edit/<int:card_pk>', views.edit_card, name='edit_card'),
    path('cards/delete/<int:card_pk>', views.delete_card, name='delete_card'),
    path('decks/view/<int:deck_pk>', views.view_deck, name='view_deck'),
    path('signup/', views.signup_view, name='signup_view'),
    path('login/', views.login_view, name='login_view'),
    path('logout/', views.logout_view, name='logout_view'),
]
