Python

champak
₹2,000.00 ₹1,500.00
The Python Programming Language at Champak's World
  • 15 students
  • 22 lessons
  • 0 quizzes
  • 10 week duration

Python

Installing and running DJango

To install Django open the command prompt and write

conda install django

Then press enter

Press y to continue.

Installation done

 


To create a DJango project write
django-admin startproject champaksite

The project is created.

A directory named champaksite is created.

To test the installation write
import django
print(django.get_version())

in the console and check the result.

To get the DJango site running. we need to activate a virtual environment.

This is done by

activate champakvirtual

Then run the site by typing

python manage.py runserver

 

 

 

end

Leave a Reply

Your email address will not be published. Required fields are marked *