question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: cannot import name 'DjangoFilterConnectionField'

See original GitHub issue

I’ve updated Django to version 2.2.1 but I can’t import from graphene_django.filter import DjangoFilterConnectionField

>>> from graphene_django.filter import DjangoFilterConnectionField
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: cannot import name 'DjangoFilterConnectionField'
>>> 
$ python -m pip freeze
Django==2.2.1
django-filter==1.1.0
djangorestframework==3.9.3
djangorestframework-filters==0.11.1
graphene==2.1.3
graphene-django==2.2.0
graphql-core==2.1
graphql-relay==0.4.5

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Siecjecommented, Oct 23, 2019

@Bulletninja Sorry I’m not using djangorestframework-filters anymore.

0reactions
Bulletninjacommented, Oct 23, 2019

Did you ever solve this @Siecje ? I have the same issue and i also think it’s a strange one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting the error : ImportError: cannot import name 'to_const'
Looks to me like to_const does not exist in the module str_converters . Which is why you are getting this error. Source: https://github.com/ ......
Read more >
Developers - ImportError: Could not import 'cookbook.schema ...
ImportError: Could not import 'cookbook.schema.schema' for Graphene setting ... ImportError: cannot import name 'DjangoFilterConnectionField'.
Read more >
MakeMigration Error on Django - ImportError: cannot import ...
Django : MakeMigration Error on Django - ImportError : cannot import name 'FieldDoesNotExist' from 'django.db.models' [ Beautify Your ...
Read more >
cannot import name 'url' from 'django.conf.urls' solved in Django
ImportError : cannot import name 'url' from 'django.conf.urls' solved in DjangoTo clear more you could read ...
Read more >
cannot import name 'file_hash' from 'pooch.utils' - YouTube
How to resolve ImportError : cannot import name 'file_hash' from 'pooch.utils'
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found