~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/urls.py

  • Committer: Marc Tardif
  • Date: 2011-09-14 01:25:40 UTC
  • Revision ID: marc.tardif@canonical.com-20110914012540-1gs255vhv6kb0mg4
Added updating of submissions periodically.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
from django.conf import settings
16
16
from django.conf.urls.defaults import patterns
17
17
 
18
 
from lpresults.services.validators import VALID_NAME_PATTERN
 
18
from lpresults.registry.validators import VALID_NAME_PATTERN
19
19
 
20
20
 
21
21
handler404 = "lpresults.tracker.views.errors.not_found"
55
55
        % {"id": r"\d+"}, "system"),
56
56
    (r"^systems/(?P<system_id>%(id)s)/\+units/?$"
57
57
        % {"id": r"\d+"}, "units"),
58
 
    (r"^systems/(?P<system_id>%(id)s)/(?P<unit_sequence>%(sequence)s)/?$"
 
58
    (r"^systems/(?P<system_id>%(id)s)/"
 
59
        "(?P<unit_sequence>%(sequence)s)/?$"
59
60
        % {"id": r"\d+", "sequence": r"\d+"}, "unit"),
60
 
    (r"^systems/(?P<system_id>%(id)s)/(?P<unit_sequence>%(sequence)s)/\+states/?$"
 
61
    (r"^systems/(?P<system_id>%(id)s)/"
 
62
        "(?P<unit_sequence>%(sequence)s)/\+states/?$"
61
63
        % {"id": r"\d+", "sequence": r"\d+"}, "states"),
62
64
    (r"^~(?P<person_name>%(name)s)/?$"
63
65
        % {"name": VALID_NAME_PATTERN}, "person"),