Skip to content

ssunduko/project3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 3

Web Programming with Python and JavaScript

Created by Sergey L. Sundukovskiy

File Content

forms.py

Contains definition of all the forms (RegisterForm, LoginForm, ToppingsForm)

db.sqlite3

Contains database for the entire assignment

admin.py

Contains registration of all the model object with django admin and custom definition for OrderAdmin. To allow admin (sergey) with password (galaug01) to see all the orders that have been placed and modify order status. It fulfills Viewing Orders and Personal Touch requirement of the assignment allowing site administrators to mark orders as complete. It also fulfills Adding Items requirement of the assignment

models.py

Contains contains definition and relationship between model objects representing (Pizza, Toppings, Order, Salad, Dinner Plate, Pasta )

urls.py

Contains contains definition of all the applications routes

views.py

Contains contains main code of the application. Among many other things it fulfills Logout requirement of the assignment

login.html

Contains a Login form. It fulfills Login requirement of the assignment

register.html

Contains a Registration form. It fulfills Registration requirement of the assignment

index.html

Contains html and python code for displaying Restaurant Menu. It fulfills Menu requirement of the assignment

visitor.html

Contains html and python code for displaying navigation menu of the application

cart.html

Contains html and python code for displaying and adding items added to cart. It fulfills Shopping Cart requirement of the assignment

order.html

Contains html and python code for placing orders. It fulfills Placing an Order requirement of the assignment

order_list.html

Contains html and python code for displaying placed orders for a particular user. It fulfills Personal Touch requirement of the assignment, allowing site administrators to mark orders as complete and allowing users to see the status of their pending or completed orders

Short Description

Initial project implementation only handled placing orders containing Pizza and Pizza Toppings. Subsequent implementation added support for placing orders for Dinner Plates, Salads and Pastas

Special Pizza requires 5 toppings

Admin username is 'sergey' password 'galaug01'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.7%
  • HTML 45.3%