7

Set query rule to be static

This commit is contained in:
Kaitlyn Crawford
2018-01-18 16:17:30 +02:00
parent 49fba11049
commit a00929846e
2 changed files with 15 additions and 1 deletions

View File

@ -261,6 +261,7 @@ class QueryRule(AbstractBaseRule):
"""
icon = 'fa-link'
static = True
parameter = models.SlugField(_("The query parameter to search for"),
max_length=20)