Bug while upgrading to 2.0 with filterssets
See original GitHub issueWhile trying to upgrade to 2.0 I’ve gotten this error
"'Meta.fields' or 'Meta.exclude' to the %s class." % cls.__name__
AssertionError: Setting 'Meta.model' without either 'Meta.fields' or 'Meta.exclude'
has been deprecated since 0.15.0 and is now disallowed.
Add an explicit 'Meta.fields' or 'Meta.exclude' to the DealroomListingsFilterSet class.
I’m not defining a custom filterset class
This is my node
'''node for dealroom filters'''
from graphene.relay import Node
from graphene_django import DjangoObjectType
from graphene import String, Field
from apps.broker_dashboard.models import DealroomFilterSets
class DealroomFilterSetNode(DjangoObjectType):
'''Node for DealroomFilterSets '''
uuid = String(description='uuid')
def resolve_uuid(self, args, request, info):
return self.id
class Meta:
interfaces = (Node, )
model = DealroomFilterSets
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
BUG: No MouseDevice when upgrading to E-Prime 3.0 ...
If an experiment created in E-Prime 1.x or E-Prime 2.0 is upgraded to E-Prime 3.0 and the experiment does not have a MouseDevice...
Read more >Bug Version 2.0.48 - WordPress.org
Since my update from 2.0.46 to 2.0.48 it doesn't work any longer. ... While testing this issue I saw another issue: in new...
Read more >Cisco Bug: CSCvv74716 - [2.1.2.0] Upgrade Stuck at 0%
Symptom: During a Cisco DNA Center System Package upgrade, the maintenance window screen may become stuck at 0% for multiple hours.
Read more >url filtering update error - LIVEcommunity - 18496
Packet capture while upgrading : <?BrightCloud version=bcap/1.1?><bcap><seqnum>6</seqnum><response><status>603</status><statusmsg>License ...
Read more >Bug: An issue exists that may impact Oracle geodatabases ...
Technical Article Details : Bug: An issue exists that may impact Oracle geodatabases after upgrading to ArcGIS Runtime SDK for WPF 10.2.2 or ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can define field filter_fields as an empty list:
+1
And the workaround doesn’t seem to work anymore:
TypeError: __init_subclass_with_meta__() got an unexpected keyword argument 'filter_fields'
. Keeping the django-filters version at the ancient 0.15.3 does the trick for now.