Commits

Ollie Rutherfurd  committed 55ba15b

url -> path (fixes #1)

  • Participants
  • Parent commits 8fea99d

Comments (0)

Files changed (1)

     def url(self, path, *args, **kw):
         # replacement for django.conf.urls.defaults.url
         from django.conf.urls.defaults import url as _url
-        return _url(self.regex(url), *args, **kw)
+        return _url(self.regex(path), *args, **kw)
     __call__ = url
     
     def regex(self, url, **kw):