Commits

Simon Meers  committed 074b515

Better cook-ids URL pattern

  • Participants
  • Parent commits 8bb5871

Comments (0)

Files changed (1)

File generic/admin/mixins/cooking.py

     def get_urls(self):
         return patterns(
             '',
-            url(r'^cook-ids/(?P<field_name>\w+)/(?P<raw_ids>[^/]*)/?$',
+            url(r'^cook-ids/(?P<field_name>\w+)/(?P<raw_ids>[\d,]+)/$',
                 self.admin_site.admin_view(self.cook_ids))
         ) + super(CookedIdAdmin, self).get_urls()