Skip to content

a small, but functional, multi page web site using Django

Notifications You must be signed in to change notification settings

chrisyamas/django-snacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAB - Class 26

Project: Django Snacks

Author: Christopher Yamas

Setup

With this repo on your and Python3 on your local machine, while in root directory run terminal command pip3 install -r requirements.txt.

To view the Home page, simply run python manage.py runserver and go to the path specified in terminal following the words Starting development server at

To view the About page, add /about/ to the end of path in the browser (or click the About button on the site's internal navigation).

Tests

Tests are contained in the snacks/tests.py file.

They can be run in the terminal with command python manage.py test.

The first two tests check that home and about status codes are correct.

The next two tests check that home and about urls are using their respective templates, as well as the base/ancestor template.

About

a small, but functional, multi page web site using Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published