from django.contrib import admin
from django.urls import path
from .views import index, email, post_detail, posts, hot_takes, take_detail
from . import views

app_name = "core"

urlpatterns = [
    path('',views.index,name="index"),
    path('email/',views.email,name="email"),
    path('post/<slug>/',views.post_detail,name='post'),
    path('posts/',views.posts,name='posts'),
    path('takes/',views.hot_takes,name='takes'),
    path('take/<slug>/',views.take_detail,name='take'),
]
[((198, 233), 'django.urls.path', 'path', (['""""""', 'views.index'], {'name': '"""index"""'}), "('', views.index, name='index')\n", (202, 233), False, 'from django.urls import path\n'), ((237, 278), 'django.urls.path', 'path', (['"""email/"""', 'views.email'], {'name': '"""email"""'}), "('email/', views.email, name='email')\n", (241, 278), False, 'from django.urls import path\n'), ((282, 334), 'django.urls.path', 'path', (['"""post/<slug>/"""', 'views.post_detail'], {'name': '"""post"""'}), "('post/<slug>/', views.post_detail, name='post')\n", (286, 334), False, 'from django.urls import path\n'), ((338, 379), 'django.urls.path', 'path', (['"""posts/"""', 'views.posts'], {'name': '"""posts"""'}), "('posts/', views.posts, name='posts')\n", (342, 379), False, 'from django.urls import path\n'), ((383, 428), 'django.urls.path', 'path', (['"""takes/"""', 'views.hot_takes'], {'name': '"""takes"""'}), "('takes/', views.hot_takes, name='takes')\n", (387, 428), False, 'from django.urls import path\n'), ((432, 484), 'django.urls.path', 'path', (['"""take/<slug>/"""', 'views.take_detail'], {'name': '"""take"""'}), "('take/<slug>/', views.take_detail, name='take')\n", (436, 484), False, 'from django.urls import path\n')]