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'),
]
[(9, 'django.urls.path', 'path', (['""""""', 'views.index'], {'name': '"""index"""'}), False, 'from django.urls import path\n'), (10, 'django.urls.path', 'path', (['"""email/"""', 'views.email'], {'name': '"""email"""'}), False, 'from django.urls import path\n'), (11, 'django.urls.path', 'path', (['"""post/<slug>/"""', 'views.post_detail'], {'name': '"""post"""'}), False, 'from django.urls import path\n'), (12, 'django.urls.path', 'path', (['"""posts/"""', 'views.posts'], {'name': '"""posts"""'}), False, 'from django.urls import path\n'), (13, 'django.urls.path', 'path', (['"""takes/"""', 'views.hot_takes'], {'name': '"""takes"""'}), False, 'from django.urls import path\n'), (14, 'django.urls.path', 'path', (['"""take/<slug>/"""', 'views.take_detail'], {'name': '"""take"""'}), False, 'from django.urls import path\n')]