Skip to content
Snippets Groups Projects

Corrections de bugs

Merged ynerant requested to merge beta into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -138,7 +138,7 @@ class ConsumerViewSet(ReadOnlyProtectedModelViewSet):
try:
re.compile(alias)
valid_regex = True
except re.error:
except (re.error, TypeError):
valid_regex = False
suffix = '__iregex' if valid_regex else '__istartswith'
alias_prefix = '^' if valid_regex else ''
Loading