2
# Copyright 2013 Canonical Ltd.
4
# This program is free software: you can redistribute it and/or modify it
5
# under the terms of the GNU Affero General Public License version 3, as
6
# published by the Free Software Foundation.
8
# This program is distributed in the hope that it will be useful, but
9
# WITHOUT ANY WARRANTY; without even the implied warranties of
10
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11
# PURPOSE. See the GNU Affero General Public License for more details.
13
# You should have received a copy of the GNU Affero General Public License
14
# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
from django.conf.urls.defaults import (
21
urlpatterns = patterns(
24
r'^(?:arch/(?P<arch>\w+)/)?$',
26
name='memevent_arch_overview',
29
r'^image/(?P<image_id>\d+)/$',
31
name='memevent_image_overview',
34
r'^image/(?P<image_id>\d+)/detail/$',
36
name='memevent_image_detail',
39
r'^image/(?P<image_id>\d+)/event/(?P<event>.*)/detail/$',
41
name='memevent_event_detail',