Closed galkinAIP closed 1 year ago
The filter was added. Here is the commit: https://github.com/django-daiquiri/daiquiri/commit/325fde63921f4180d6fe84a709888b66123b3b31
Hi @galkinAIP , @triole , any reason why this was not merged before? I would add a setting for this though. Another possibility was to chain a django.core.validators.RegexValidator
with r'^[\w]+\Z'
with the current TableNameValidator
(and get rid of the -
as well).
Anyway, is it just to make cli access for admins better? Daiquiri seems to work fine with weird tablenames.
Hi @galkinAIP , @triole , any reason why this was not merged before? I would add a setting for this though. Another possibility was to chain a
django.core.validators.RegexValidator
withr'^[\w]+\Z'
with the currentTableNameValidator
(and get rid of the-
as well).Anyway, is it just to make cli access for admins better? Daiquiri seems to work fine with weird tablenames.
Hi, I am testing daiquiri and in my environment, when there is space in the table name the download fails.
Can confirm. Currently, whitespaces in the table name
break the download.
The "table name" currently allows spaces, etc. in the Query form. The form should allow only alphanumerical characters and "_", "-".