L
L
LJ3222019-07-31 19:46:07
Django
LJ322, 2019-07-31 19:46:07

Django app won't open via cmd?

spoiler
5d41c4332145c881709061.png

Started learning django. After reading the guides, I installed a virtual environment, installed django there and created an application. When I ran it from Atom via the terminal extension, everything worked. Then the extension was covered when Atom was updated (and did not figure out how to fix it without rolling back to previous versions) and decided to run it through cmd. I launched cmd, chose the environment, registered the path and decided to launch the application. In general, either the skis do not go, or I'm crooked. What's wrong with pythonpath?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JRazor, 2019-07-31
@JRazor

Add an environment variable to the virtual environment:
where project_name is the name of your project
Although, it may be that you did not activate venv

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question