How to Resolve Error Creating New SuperAdmin User on Visual Studio 2019 Django Web Project

Опубликовано: 12 Апрель 2019
на канале: PinoyITSolution
1,269
2

Are you receiving this error below?

ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

That's because you haven't created an environment for your Django project yet.

Please follow the tutorial below on how to create a new superadmin user on your Visual Studio 2019 new Django project.

Step 1: Select Add Environment from the drop down selection from your python menu.
Step 2: Name your Environment and press Create button.
Step 3: Once your Environment has been created, you can now create your new SuperAdmin user.