Answer the question
In order to leave comments, you need to log in
How to fix imports error and KeyError at /admin Exception Value: 'actions'?
I studied django from this book, worked in pycharm, reached chapter 6 - the code at the link
https://github.com/PacktPublishing/Django-2-by-Exa...
For some reason it does not see the added decorator, although there is a common folder with empty __init__.py files and decorators.py file. It does not import from the Action application yet, although everything has been added and there is no difference with the file on the github.
Perhaps because of this, the sections in the admin panel that used to work and open were
broken KeyError Error
Question - what could be the problem? Maybe you need to install something in PyCharm itself?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question