from django.urls import path
#from django.conf.urls import url
from . import views

app_name='apps.ablog'

urlpatterns = [
    path("", views.blog_index, name="blog_index"),
    path("<int:id>/", views.blog_detail, name="blog_detail"),
    #url(r'^post/new/$', views.CreatePostView.as_view(), name='CreatePostView'),
    #path('contacto', views.contact, name='contact')
]
from django.urls import path
#from django.conf.urls import url
from . import views

app_name='apps.ablog'

urlpatterns = [
    path("", views.blog_index, name="blog_index"),
    path("<int:id>/", views.blog_detail, name="blog_detail"),
    #url(r'^post/new/$', views.CreatePostView.as_view(), name='CreatePostView'),
    #path('contacto', views.contact, name='contact')
]
#from django.conf.urls import url #url(r'^post/new/$', views.CreatePostView.as_view(), name='CreatePostView'), #path('contacto', views.contact, name='contact')