-
Tor-Einar Skog authoredTor-Einar Skog authored
urls.py 1.03 KiB
#
# Copyright (c) 2014 NIBIO <http://www.nibio.no/>.
#
# This file is part of VIPSWeb.
# VIPSWeb is free software: you can redistribute it and/or modify
# it under the terms of the NIBIO Open Source License as published by
# NIBIO, either version 1 of the License, or (at your option) any
# later version.
#
# VIPSWeb is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# NIBIO Open Source License for more details.
#
# You should have received a copy of the NIBIO Open Source License
# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>.
#
from django.conf.urls import url
from vips_messages import views
app_name="vips_messages"
urlpatterns = [
# ex: /messages/
url(r'^$', views.index, name='index'),
# ex: /messages/5/
url(r'^(?P<message_id>\d+)/$', views.detail, name='detail'),
url(r'^by_tag/json', views.messages_by_tag_json, name='messages_by_tag_json'),
]