~qajenkinsbot/qa-dashboard/production

« back to all changes in this revision

Viewing changes to memevent/urls.py

  • Committer: Joe Talbott
  • Date: 2013-07-03 19:55:15 UTC
  • mto: (1.1.484 qa-dashboard)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: joe.talbott@canonical.com-20130703195515-akweyl9opr6jk0ss
memevent - Add Memory Event Testing views.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# QA Dashboard
 
2
# Copyright 2013 Canonical Ltd.
 
3
 
 
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.
 
7
 
 
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.
 
12
 
 
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/>.
 
15
 
 
16
from django.conf.urls.defaults import (
 
17
    patterns,
 
18
    url,
 
19
)
 
20
 
 
21
urlpatterns = patterns(
 
22
    'memevent.views',
 
23
    url(
 
24
        r'^(?:arch/(?P<arch>\w+)/)?$',
 
25
        'arch_overview',
 
26
        name='memevent_arch_overview',
 
27
    ),
 
28
    url(
 
29
        r'^image/(?P<image_id>\d+)/$',
 
30
        'image_overview',
 
31
        name='memevent_image_overview',
 
32
    ),
 
33
    url(
 
34
        r'^image/(?P<image_id>\d+)/detail/$',
 
35
        'image_detail',
 
36
        name='memevent_image_detail',
 
37
    ),
 
38
    url(
 
39
        r'^image/(?P<image_id>\d+)/event/(?P<event>.*)/detail/$',
 
40
        'event_detail',
 
41
        name='memevent_event_detail',
 
42
    ),
 
43
)