Use these step to install the django-1.4 in ubuntu
Step1- First check the python-2.7 version by use this commond
python -V
Step2- than use below link and install django-1.4 version
https://pypi.python.org/pypi/Django/1.4 and download the django-1.4
Step3- Than extract the django-1.4 file, first go to the path like
as cd /home/sachin/Downloads/Django-1.4$ by using below command
tar xzvf Django-1.4.2.tar.gz
Step4- than install the setup
.py file in django-1.4
tar xzvf Django-1.4.2.tar.gz
Step5- Now import the django by using this command
import django
Step6-cd /home/sachin/Downloads/Django-1.4$
this is django framwork location and below is the project creation command
django-admin.py startproject mysite(mysite is your project name)
Step7- Finally you can check whether dijango is work or not so use this
commond
cd /home/sachin/Downloads/Django-1.4/mysite$ than
python manage.py runserver
0 Comment(s)