Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed leading slash on urls.

  • Loading branch information...
commit f75bb462820f13cdf0383e66ac404ef53331086d 1 parent 12306ca
Luke Hatcher lukeman authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 mimesis/urls.py
6 mimesis/urls.py
View
@@ -4,10 +4,10 @@
urlpatterns = patterns("mimesis.views",
# Images
- url(r"^/image/add/", "add_image", name="add_image"),
- url(r"^/image/add-for/(?P<app_label>[\w\-]+)/(?P<module_name>[\w\-]+)/(?P<obj_pk>\d+)/$",
+ url(r"^image/add/", "add_image", name="add_image"),
+ url(r"^image/add-for/(?P<app_label>[\w\-]+)/(?P<module_name>[\w\-]+)/(?P<obj_pk>\d+)/$",
"add_image", name="add_image_for"),
- url(r"^/image/(?P<pk>\d+)/associate/(?P<app_label>[\w\-]+)/(?P<module_name>[\w\-]+)/(?P<obj_pk>\d+)/$",
+ url(r"^image/(?P<pk>\d+)/associate/(?P<app_label>[\w\-]+)/(?P<module_name>[\w\-]+)/(?P<obj_pk>\d+)/$",
"associate_image", name="associate_image"),
# Audio
Please sign in to comment.
Something went wrong with that request. Please try again.