user109503
user109503

Reputation: 41

Creating project in Django using pycharm

I'm a beginner in python3. I'm using pycharm in windows10 and i'm using the book 'Python Crash Course'.
I already activated virtual environment and installed Django.

These are the following commands that is written in the book:

(ll_env)learning_log$ django-admin.py startproject learning_log
(ll_env)ls learning_log ll_env manage.py`enter code here`
(ll_env)ls learning_log __init__.py settings.py wsgi.py

But PyCharm does not recognize the "ls" part.
Can someone help me with this please?

Upvotes: 0

Views: 124

Answers (2)

Sergei
Sergei

Reputation: 11

Instead of writing django-admin.py startproject learning_log . write django-admin startproject learning_log .

And you should not write (ll_env)ls learning_log __init__.py settings.py wsgi.py. These files will be shown after you create a new project and use dir instead of ls

I hope it'll help you

Upvotes: 1

Sanjay SS
Sanjay SS

Reputation: 566

use dir instead of using ls when you're using command prompt or the integrated terminal in pycharm on windows OS. ls is a unix command.

Upvotes: 2

Related Questions