2012-05-12 00:27:02 +00:00
|
|
|
from django.conf.urls import patterns, url
|
2012-04-26 03:44:16 +00:00
|
|
|
|
2013-02-24 16:56:03 +01:00
|
|
|
from .views import RecentPins
|
2013-02-25 04:08:35 +01:00
|
|
|
from .views import UploadImage
|
2013-02-24 16:56:03 +01:00
|
|
|
|
2012-04-26 03:44:16 +00:00
|
|
|
|
|
|
|
|
urlpatterns = patterns('pinry.pins.views',
|
2013-02-24 16:56:03 +01:00
|
|
|
url(r'^$', RecentPins.as_view(), name='recent-pins'),
|
|
|
|
|
url(r'^tag/.+/$', RecentPins.as_view(), name='tag'),
|
2013-02-25 04:08:35 +01:00
|
|
|
url(r'^upload-pin/$', UploadImage.as_view(), name='new-pin'),
|
2012-04-26 03:44:16 +00:00
|
|
|
)
|