from django.urls import path     
from . import views
urlpatterns = [
    # path('', views.redirecting_method),
    # path('blogs', views.index),
    # path('blogs/new', views.new),
    # path('blogs/create', views.create),
    # path('blogs/<int:number>', views.show),
    # path('blogs/<int:number>/edit', views.edit),
    # path('blogs/<int:number>/delete', views.destroy),
    # path('blogs/json', views.myjson),
    path('',views.root),
    path('blogs',views.index),
    path('blogs/new',views.new),
    path('blogs/<int:number>',views.show),
    path('blogs/<int:number>/edit',views.edit),
    path('blogs/<int:number>/delete',views.destroy),
    path('blogs/json',views.myjson)
    ]