I've followed exact instruction here for my latest project 
https://www.django-rest-framework.org. However, when I run command "python 
manage.py runserver", this is the error I've got. The error seems to be new 
in this version because I've got other projects built months ago with the 
same frameworks and they worked fine.

  File 
"C:\Users\xxx\Python\Python38-32\lib\site-packages\django\template\backends\django.py",
 
line 123, in get_package_libraries
    raise InvalidTemplateLibrary(
django.template.library.InvalidTemplateLibrary: Invalid template library 
specifi
ed. ImportError raised when trying to load 
'rest_framework.templatetags.rest_fra
mework': cannot import name 'FieldDoesNotExist' from 
'django.db.models.fields' (
C:\Users\xxx\Python\Python38-32\lib\site-packages\django\db\models\fields\__init__.py)

Python38-32 
django 3.2.5
django-rest-framework 3.9.1

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/a29f9d77-7cf7-4d6e-8512-9a1b7d6d0fa0n%40googlegroups.com.

Reply via email to