I'm new to django and currently going through the main tutorial. Even though it was working earlier, when I do python manage.py runserver OR python manage.py -h OR with any other command, the shell doesn't output anything. Wondering what I'm doing wrong.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Django __str__ returned non-string (type NoneType)
- Evil ctypes hack in python
First, check if python is fully installed by typing "python" in a shell.
Then you should try
python manage.py runserver
inside your django project. If you don't have any django project, try creating one by typingdjango-admin.py startproject mysite
. If nothing is displayed in your shell, you must have installed Django the wrong way.Please refer to Django Documentation at https://docs.djangoproject.com/en/1.4/intro/install/