1👍
Yups! Finally got it! So here’s what I did:
- Removed python completely and installed it again.
- adjust my PATH environment variable to include paths to the Python executable & additional scripts.
- Installed Setuptools
- Installed pip using easy_install pip.
- Installed Django using pip install django.
Note: If your Python is installed in C:\Python27\
, the following paths need to be added to PATH: C:\Python27\;C:\Python27\Scripts;
Reference: https://docs.djangoproject.com/en/dev/howto/windows/
Thanks a lot for your valuable inputs and bearing with me! 🙂
0👍
I would make sure that DJango is installed by running
python -c “import django; print(django.get_version())”
https://docs.djangoproject.com/en/1.6/intro/tutorial01/
I found the Django tutorial on their site to be very good
Also what exactly are you typing into the command prompt ? You should simply be in directory C:\Users\DIPANSHU> in the command shell
EDIT: you should be in the directory where you installed Django
- [Answer]-Django base template files
- [Answer]-How to reduce the number of times a heavy objects.all query runs on foriegn key field in Django?
Source:stackexchange.com