From Fedora Project Wiki
(fixed <pre> tags) |
(Closed some tags) |
||
Line 19: | Line 19: | ||
<pre> | <pre> | ||
curl http://localhost:8000</pre> | curl http://localhost:8000</pre> | ||
</li> | |||
</ol> | |||
|results= | |results= | ||
Latest revision as of 17:32, 1 June 2011
Description
This test is designed to validate basic functionality of the Django
package. The test includes creating and hosting a new project. This test case was taken from http://docs.djangoproject.com/en/dev/intro/tutorial01.
Setup
- Install required packages:
yum install Django
How to test
-
Create a new django project
django-admin startproject mysite
-
Change to the project directory and start the django server
cd mysite python manage.py runserver
-
Access the default start page for the project
curl http://localhost:8000
Expected Results
- The final step above should download a sample web page coming from the Django project that you just created.