Python

UnboundLocalError at /Menu/ local variable 'Menu' referenced before assignment

  • django
  • python

1 comments

Hello "@Mike Hunt Is Bald",
1. Why is there a need for global Menu?
2. Just to check is this on the "views.py" file?
If you were to follow my steps for the "pyshop" project closely, you should be able to achieve the same result without using global.