from django.urls import path

from .views import (
    BlockchainCreateView,
    BlockchainDeleteView,
    BlockchainDetailView,
    BlockchainListView,
    BlockchainUpdateView,
)

app_name = "blockchain"
urlpatterns = [
    path("", BlockchainListView.as_view(), name="blockchain_list"),
    path("add/", BlockchainCreateView.as_view(), name="blockchain_add"),
    path("<int:pk>/", BlockchainDetailView.as_view(), name="blockchain_detail"),
    path("<int:pk>/edit/", BlockchainUpdateView.as_view(), name="blockchain_edit"),
    path("<int:pk>/delete/", BlockchainDeleteView.as_view(), name="blockchain_delete"),
]

from django.urls import path

from .views import (
    BlockchainCreateView,
    BlockchainDeleteView,
    BlockchainDetailView,
    BlockchainListView,
    BlockchainUpdateView,
)

app_name = "blockchain"
urlpatterns = [
    path("", BlockchainListView.as_view(), name="blockchain_list"),
    path("add/", BlockchainCreateView.as_view(), name="blockchain_add"),
    path("<int:pk>/", BlockchainDetailView.as_view(), name="blockchain_detail"),
    path("<int:pk>/edit/", BlockchainUpdateView.as_view(), name="blockchain_edit"),
    path("<int:pk>/delete/", BlockchainDeleteView.as_view(), name="blockchain_delete"),
]
