Install the project dependencies with
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
Create superuser
python manage.py createsuperuser
Enter the Username of your choice and press enter
Username: admin
Enter the Email address and press enter.(It can be left blank)
Email address:
Enter password:
Password: test
Run the project with command
python manage.py runserver
Index page http://127.0.0.1:8000/products/
Product_list http://127.0.0.1:8000/products/product_list
Product_details: http://127.0.0.1:8000/products/product.id e.g. http://127.0.0.1:8000/products/2 # modify front_end
Cart summary page: http://127.0.0.1:8000/cart/
Admin http://127.0.0.1:8000/admin/
Login http://127.0.0.1:8000/login
Signup http://127.0.0.1:8000/signup
Signout http://127.0.0.1:8000/logout/ -todo frontend
Password reset http://127.0.0.1:8000/password/reset/ -todo frontend
#Search function: #broken-tobefixed
If search keyword is product.name or product.code (e.g. piz002, piz003, piz004...), the result will return sorted product name(s) and product price(s), then if search keyword is category, it will return category name
Frontend
Inspired by Createx Studio 's bootstrap template
#to do list
- override authentication templates and frontend
https://django-allauth.readthedocs.io/en/latest/templates.html
-
Product_list database rebuild
-
authentication messages accumulated. Customize signout page pennersr/django-allauth#636