Skip to content

An example app to manage products from database using Django

Notifications You must be signed in to change notification settings

bmartins95/ProductManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Manager App

Description

This is just a example app to illustrate the creation of a web interface using Django. You can delete, create and visualize products listed in the database.

Dependencies

These are the dependencies needed to run this project:

Usage

Firstly you need to start the server, go to /product_manager folder and run:

python3 manage.py runserver

After running the server, your terminal will output something like this:

System check identified no issues (0 silenced).
March 19, 2021 - 12:32:31
Django version 3.1.7, using settings 'product_manager.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Open the http://127.0.0.1:8000/ on your browser, now you probably are seeing a list with the products currently available in the database:

You can see details of a product by clicking is his name:

Now you can delete the product by clicking in the Delete link:

You can also add new products. Go to the products list page by clicking on the products link, then click on the Create new product link:

References

About

An example app to manage products from database using Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published