Skip to content
Browse files

housekeeping urls

  • Loading branch information...
1 parent 56f11e1 commit 4c287d78606bda228e715cd33914282e175306b4 @evildmp committed
Showing with 7 additions and 2 deletions.
  1. +7 −2 housekeeping/urls.py
View
9 housekeeping/urls.py
@@ -2,9 +2,15 @@
from django.contrib import admin
urlpatterns = patterns('',
- # first, try to match /housekeeping/<task>/<execute>
(r"^housekeeping/statistics/", "housekeeping.statistics.stats"),
+
+ # /housekeeping/repair_mptt/contacts_and_people.Entity/
+ (r"^housekeeping/repair_mptt/(?P<slug>[-\w\.]+)/$", "housekeeping.repair_mptt.fix"),
+
+ # then, try to match /housekeeping/<task>/<execute>
(r"^housekeeping/(?P<task>[^/]+)/(?P<action>[^/]+)/$", "housekeeping.tasks.tasks"),
+
+
# # no match?
(r"^housekeeping/", "housekeeping.tasks.tasks"),
@@ -12,7 +18,6 @@
# (r"^housekeeping/clean_plugins/", "housekeeping.clean_plugins.clean"),
#
#
- # (r"^repair_mptt/(?P<slug>[-\w\.]+)/$", "housekeeping.repair_mptt.fix"),
# (r"^statistics/user/(?P<slug>[-\w]+)$", "housekeeping.statistics.userstats"),
)

0 comments on commit 4c287d7

Please sign in to comment.
Something went wrong with that request. Please try again.