Hello. I have two view files in one application. Let's call them view1 and view2 In view1 there is an appcard function appcard is imported into view2 :

 from app.view1 import appcard 

Gives an error message:

cannot import name appcard

  • one
    check if you have import view1 from view2 - LinnTroll

0