1👍
✅
Are your imports fine? If Schede
is a model, it should be imported from models.py
I believe. And it’s better to specify your_app
name in imports.
from .views import Schede
maybe it should be:
from your_app.models import Schede
Another thing, are you sure this import is fine?
from .views import views
Maybe it should be like this:
from your_app import views
Source:stackexchange.com