├── LEARN.md ├── cart ├── session_backend.py ├── tests.py ├── apps.py ├── admin.py ├── models.py └── views.py ├── Procfile ├── bookstore ├── custom_functions.py ├── tests.py ├── apps.py ├── admin.py ├── models.py ├── context_processor.py └── views.py ├── googleefc8609dc1319892.html ├── .gitattributes ├── git_logo-org.png ├── accounts ├── tests.py ├── apps.py ├── admin.py └── models.py ├── category ├── tests.py ├── admin.py ├── apps.py ├── models.py └── views.py ├── checkout ├── tests.py ├── apps.py ├── admin.py └── models.py ├── static ├── images │ ├── bac.png │ ├── hero.png │ ├── logo.png │ ├── pay-us.png │ ├── slidebar.png │ ├── background.png │ ├── logo-black.png │ ├── dashboard-card.png │ └── footer-banner.png └── admin │ ├── fonts │ ├── Roboto-Bold-webfont.woff │ ├── Roboto-Light-webfont.woff │ ├── Roboto-Regular-webfont.woff │ └── README.txt │ ├── img │ ├── tooltag-arrowright.svg │ ├── README.txt │ ├── icon-addlink.svg │ ├── tooltag-add.svg │ ├── icon-changelink.svg │ ├── icon-deletelink.svg │ ├── icon-yes.svg │ ├── search.svg │ ├── icon-alert.svg │ ├── icon-no.svg │ ├── inline-delete.svg │ ├── icon-viewlink.svg │ ├── icon-unknown.svg │ ├── icon-unknown-alt.svg │ ├── icon-clock.svg │ ├── gis │ │ ├── move_vertex_on.svg │ │ └── move_vertex_off.svg │ ├── icon-calendar.svg │ ├── calendar-icons.svg │ ├── LICENSE │ ├── sorting-icons.svg │ └── selector-icons.svg │ ├── js │ ├── jquery.init.js │ ├── prepopulate_init.js │ ├── popup_response.js │ ├── vendor │ │ ├── select2 │ │ │ ├── i18n │ │ │ │ ├── zh-TW.js │ │ │ │ ├── zh-CN.js │ │ │ │ ├── ja.js │ │ │ │ ├── az.js │ │ │ │ ├── ko.js │ │ │ │ ├── vi.js │ │ │ │ ├── tk.js │ │ │ │ ├── id.js │ │ │ │ ├── tr.js │ │ │ │ ├── ar.js │ │ │ │ ├── th.js │ │ │ │ ├── nb.js │ │ │ │ ├── km.js │ │ │ │ ├── sv.js │ │ │ │ ├── fi.js │ │ │ │ ├── is.js │ │ │ │ ├── et.js │ │ │ │ ├── hu.js │ │ │ │ ├── ms.js │ │ │ │ ├── ka.js │ │ │ │ ├── bg.js │ │ │ │ ├── da.js │ │ │ │ ├── hy.js │ │ │ │ ├── fa.js │ │ │ │ ├── en.js │ │ │ │ ├── hi.js │ │ │ │ ├── he.js │ │ │ │ ├── hr.js │ │ │ │ ├── de.js │ │ │ │ ├── af.js │ │ │ │ ├── eu.js │ │ │ │ ├── mk.js │ │ │ │ ├── pt-BR.js │ │ │ │ ├── pt.js │ │ │ │ ├── bn.js │ │ │ │ ├── lv.js │ │ │ │ ├── ca.js │ │ │ │ ├── ps.js │ │ │ │ ├── sq.js │ │ │ │ ├── it.js │ │ │ │ ├── nl.js │ │ │ │ ├── ne.js │ │ │ │ ├── fr.js │ │ │ │ ├── es.js │ │ │ │ ├── gl.js │ │ │ │ ├── sl.js │ │ │ │ ├── ro.js │ │ │ │ ├── lt.js │ │ │ │ ├── pl.js │ │ │ │ ├── el.js │ │ │ │ ├── sr.js │ │ │ │ ├── uk.js │ │ │ │ ├── bs.js │ │ │ │ ├── sr-Cyrl.js │ │ │ │ ├── ru.js │ │ │ │ ├── hsb.js │ │ │ │ ├── dsb.js │ │ │ │ ├── cs.js │ │ │ │ └── sk.js │ │ │ └── LICENSE.md │ │ ├── jquery │ │ │ └── LICENSE.txt │ │ └── xregexp │ │ │ └── LICENSE.txt │ ├── change_form.js │ ├── cancel.js │ ├── autocomplete.js │ ├── nav_sidebar.js │ ├── prepopulate.js │ ├── collapse.js │ ├── SelectBox.js │ ├── core.js │ └── admin │ │ └── RelatedObjectLookups.js │ └── css │ ├── dashboard.css │ ├── fonts.css │ ├── login.css │ ├── vendor │ └── select2 │ │ └── LICENSE-SELECT2.md │ ├── responsive_rtl.css │ ├── nav_sidebar.css │ └── rtl.css ├── Screenshots ├── New Version │ ├── home.png │ ├── login.png │ ├── book-page.png │ ├── checkout.png │ ├── dashboard.png │ ├── edit profile.png │ ├── registration.png │ └── View order page.png └── Old Version │ ├── home.png │ ├── dashboard.png │ ├── login page.png │ ├── contact us page.png │ ├── registration page.png │ └── single book page.png ├── requirements.txt ├── templates ├── messages.html ├── view_invoice.html ├── about.html ├── dashboard-menu.html ├── change_password.html ├── search_res.html ├── login.html ├── contact-us.html ├── index.html ├── books-cat.html ├── edit_profile.html ├── cart.html ├── view_order.html ├── register.html ├── list-orders.html ├── checkout.html ├── dashboard.html ├── dashboard-base.html ├── book-single-page.html └── base.html ├── boihut ├── asgi.py ├── wsgi.py ├── urls.py └── settings.py ├── manage.py ├── LICENSE ├── .gitignore └── README.md /LEARN.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /cart/session_backend.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn boihut.wsgi -------------------------------------------------------------------------------- /bookstore/custom_functions.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /googleefc8609dc1319892.html: -------------------------------------------------------------------------------- 1 | google-site-verification: googleefc8609dc1319892.html -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-detectable=false 2 | *.css linguist-detectable=false 3 | -------------------------------------------------------------------------------- /cart/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /git_logo-org.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/git_logo-org.png -------------------------------------------------------------------------------- /accounts/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /bookstore/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /category/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /checkout/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /static/images/bac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/bac.png -------------------------------------------------------------------------------- /static/images/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/hero.png -------------------------------------------------------------------------------- /static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/logo.png -------------------------------------------------------------------------------- /static/images/pay-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/pay-us.png -------------------------------------------------------------------------------- /static/images/slidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/slidebar.png -------------------------------------------------------------------------------- /static/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/background.png -------------------------------------------------------------------------------- /static/images/logo-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/logo-black.png -------------------------------------------------------------------------------- /Screenshots/New Version/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/home.png -------------------------------------------------------------------------------- /Screenshots/Old Version/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/Old Version/home.png -------------------------------------------------------------------------------- /static/images/dashboard-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/dashboard-card.png -------------------------------------------------------------------------------- /static/images/footer-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/images/footer-banner.png -------------------------------------------------------------------------------- /Screenshots/New Version/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/login.png -------------------------------------------------------------------------------- /Screenshots/New Version/book-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/book-page.png -------------------------------------------------------------------------------- /Screenshots/New Version/checkout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/checkout.png -------------------------------------------------------------------------------- /Screenshots/New Version/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/dashboard.png -------------------------------------------------------------------------------- /Screenshots/Old Version/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/Old Version/dashboard.png -------------------------------------------------------------------------------- /Screenshots/New Version/edit profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/edit profile.png -------------------------------------------------------------------------------- /Screenshots/New Version/registration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/registration.png -------------------------------------------------------------------------------- /Screenshots/Old Version/login page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/Old Version/login page.png -------------------------------------------------------------------------------- /Screenshots/New Version/View order page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/New Version/View order page.png -------------------------------------------------------------------------------- /Screenshots/Old Version/contact us page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/Old Version/contact us page.png -------------------------------------------------------------------------------- /Screenshots/Old Version/registration page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/Old Version/registration page.png -------------------------------------------------------------------------------- /Screenshots/Old Version/single book page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/Screenshots/Old Version/single book page.png -------------------------------------------------------------------------------- /static/admin/fonts/Roboto-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/admin/fonts/Roboto-Bold-webfont.woff -------------------------------------------------------------------------------- /static/admin/fonts/Roboto-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/admin/fonts/Roboto-Light-webfont.woff -------------------------------------------------------------------------------- /static/admin/fonts/Roboto-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaongitbd/boihut/HEAD/static/admin/fonts/Roboto-Regular-webfont.woff -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Django==3.2.11 2 | django-mathfilters==1.0.0 3 | regex==2020.11.13 4 | requests==2.25.1 5 | Pillow==8.0.1 6 | whitenoise==6.0.0 7 | -------------------------------------------------------------------------------- /category/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from .models import Category 3 | # Register your models here. 4 | 5 | 6 | admin.site.register(Category) -------------------------------------------------------------------------------- /cart/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class CartConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'cart' 7 | -------------------------------------------------------------------------------- /cart/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from .models import Cart,CartItems 3 | # Register your models here. 4 | admin.site.register(CartItems) 5 | admin.site.register(Cart) 6 | -------------------------------------------------------------------------------- /accounts/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class AccountsConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'accounts' 7 | -------------------------------------------------------------------------------- /bookstore/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class BookstoreConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'bookstore' 7 | -------------------------------------------------------------------------------- /category/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class CategoryConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'category' 7 | -------------------------------------------------------------------------------- /checkout/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class CheckoutConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'checkout' 7 | -------------------------------------------------------------------------------- /templates/messages.html: -------------------------------------------------------------------------------- 1 | {% if messages %} 2 | 3 | {% for message in messages %} 4 |
8 | {% endif %} -------------------------------------------------------------------------------- /static/admin/fonts/README.txt: -------------------------------------------------------------------------------- 1 | Roboto webfont source: https://www.google.com/fonts/specimen/Roboto 2 | WOFF files extracted using https://github.com/majodev/google-webfonts-helper 3 | Weights used in this project: Light (300), Regular (400), Bold (700) 4 | -------------------------------------------------------------------------------- /checkout/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from .models import order_note_admin,order,order_list,invoice 3 | # Register your models here. 4 | admin.site.register(order) 5 | admin.site.register(order_list) 6 | admin.site.register(order_note_admin) 7 | 8 | admin.site.register(invoice) -------------------------------------------------------------------------------- /static/admin/img/tooltag-arrowright.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /templates/view_invoice.html: -------------------------------------------------------------------------------- 1 | 2 | {{invoices.invoice_id}} 3 | {{invoices.total_price}} 4 | {{invoices.date_created}} 5 | 6 | {{invoices.first_name}} 7 | {{invoices.last_name}} 8 | {{invoices.address}} 9 | {{invoices.city}} 10 | {{invoices.division}} 11 | {{invoices.zip}} 12 | {{invoices.country}} 13 | 14 | -------------------------------------------------------------------------------- /static/admin/img/README.txt: -------------------------------------------------------------------------------- 1 | All icons are taken from Font Awesome (http://fontawesome.io/) project. 2 | The Font Awesome font is licensed under the SIL OFL 1.1: 3 | - https://scripts.sil.org/OFL 4 | 5 | SVG icons source: https://github.com/encharm/Font-Awesome-SVG-PNG 6 | Font-Awesome-SVG-PNG is licensed under the MIT license (see file license 7 | in current folder). 8 | -------------------------------------------------------------------------------- /static/admin/img/icon-addlink.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /static/admin/img/tooltag-add.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /static/admin/js/jquery.init.js: -------------------------------------------------------------------------------- 1 | /*global jQuery:false*/ 2 | 'use strict'; 3 | /* Puts the included jQuery into our own namespace using noConflict and passing 4 | * it 'true'. This ensures that the included jQuery doesn't pollute the global 5 | * namespace (i.e. this preserves pre-existing values for both window.$ and 6 | * window.jQuery). 7 | */ 8 | window.django = {jQuery: jQuery.noConflict(true)}; 9 | -------------------------------------------------------------------------------- /static/admin/img/icon-changelink.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /static/admin/img/icon-deletelink.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /static/admin/img/icon-yes.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /templates/about.html: -------------------------------------------------------------------------------- 1 | {%extends 'base.html'%} 2 | {%load static%} 3 | {%include 'messages.html'%} 4 | {%block content%} 5 |This project was made as a first year university project. This project was developed in django.
9 | 10 |Change Password
12 |Sorry, No Book found
19 |Seach for other keywords
20 | 21 | {%else%} 22 | {%for book in books%} 23 | 24 | 25 | 35 | 36 | 37 | 38 | {% endfor %} 39 | 40 | {%endif%} 41 | 42 |
Address: Dhaka, Bangladesh.
14 |Email: shaongit@gmail.com
15 |Please Fillup the form correctly. Incorect information can lead to account being lost.
15 | 16 |Order Details
25 || Item | 29 |Price Per item | 30 |Quantity | 31 |Price | 32 |
|---|---|---|---|
| {{order.order_item}} | 39 |{{order.order_item.price}} | 40 |{{order.order_quantity}} | 41 |{{order.order_price}} | 42 | 43 |
Invoice Details
50 | 51 || invoice id | 55 |Total | 56 |Payment Method | 57 |Transaction No | 58 |Status | 59 |
|---|---|---|---|---|
| {{invoice.invoice_id}} | 66 |{{invoice.total_price}} | 67 |{{invoice.transaction_method}} | 68 |{{invoice.transaction_id}} | 69 |{{invoice.invoice_status}} | 70 | 71 |