14 lines
490 B
Python
14 lines
490 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from django.conf.urls import url
|
|
from . import views
|
|
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
urlpatterns = [
|
|
url(r'^$', views.image_new, name='image_new'),
|
|
url(r'^post/(?P<pk>[0-9]+)/$', views.image_detail, name='image_detail'),
|
|
url(r'^all/$', views.all_posts, name='all_posts'),
|
|
url(r'^carousel/$', views.carousel, name='carousel'),
|
|
url(r'^delete/(?P<pk>[0-9]+)/$', views.delete_post, name='delete_post')
|
|
]
|