NameError: name 'module1' is not defined when running ./manage.py test in Django

Django
2018-03-29 15:37 (7 years ago) ytyng

In Django,

./manage.py test

when you encounter the error

NameError: name 'module1' is not defined

If you are using Python 3.4, the quickest solution is to update to Python 3.6 or a later version.

Currently unrated
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.

Archive

2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011