How to work wih Django Framework with Python programming?
Website/Project:
Step by step:
Step 1: Install Django
Go to djangoproject.com to find the guide
Run this line in the command line with administrator rights: pip install Django==2.1
Step 2: Create a folder to save the website
Name of the folder: anything you like
Location: anywhere you want
Right click and open it in command line window and run: django-admin startproject mysite with mysite is the name of your website
Step 3: Go to the website folder
cd mysite
Step 4: Run server
C:/Python35/python manage.py runserver
Thank you so much!
Kiet Tram
From Vietnam
Website/Project:
- App: Forum
- App: Blog
- App: Store
Step by step:
Step 1: Install Django
Go to djangoproject.com to find the guide
Run this line in the command line with administrator rights: pip install Django==2.1
Step 2: Create a folder to save the website
Name of the folder: anything you like
Location: anywhere you want
Right click and open it in command line window and run: django-admin startproject mysite with mysite is the name of your website
![]() |
Create your website with Python programming languages and Django framework |
Step 3: Go to the website folder
cd mysite
Step 4: Run server
C:/Python35/python manage.py runserver
Thank you so much!
Kiet Tram
From Vietnam
Comments
Post a Comment