See #297: linting of various, uncommon errors
This commit is contained in:
parent
ab80dffeea
commit
d17ceec1f0
29 changed files with 39 additions and 109 deletions
|
|
@ -24,7 +24,7 @@ class RadioSessionFactory(factory.django.DjangoModelFactory):
|
|||
|
||||
|
||||
@registry.register(name="radios.CustomRadioSession")
|
||||
class RadioSessionFactory(factory.django.DjangoModelFactory):
|
||||
class CustomRadioSessionFactory(factory.django.DjangoModelFactory):
|
||||
user = factory.SubFactory(UserFactory)
|
||||
radio_type = "custom"
|
||||
custom_radio = factory.SubFactory(
|
||||
|
|
|
|||
|
|
@ -175,7 +175,6 @@ class TagFilter(RadioFilter):
|
|||
"type": "list",
|
||||
"subtype": "string",
|
||||
"autocomplete": reverse_lazy("api:v1:tags-list"),
|
||||
"autocomplete_qs": "",
|
||||
"autocomplete_fields": {
|
||||
"remoteValues": "results",
|
||||
"name": "name",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue