Commits

Christophe de Vienne  committed dec3553

Fix the regex in the example

  • Participants
  • Parent commits 8d162e1

Comments (0)

Files changed (1)

                                                    # on /api/v1 to /api/v2
     morph.add_rename_function(
         # All functions under /api/v1/utilfunctions :
-        'utilfunctions/(?P<name>)',
+        'utilfunctions/(?P<name>.*)',
 
         # are renamed to /api/v2/utils/NAME
         'utils/%(name)s'