Django app to manage product by cashier
Project description
django-cash-register is a Django app to manage product by cashier.
Installation
pip install django-cash-register
Quick start
Add “django_cash_register” to your INSTALLED_APPS settings.py like this:
INSTALLED_APPS = [ ... 'django_cash_register', ]
If you want to use django_cash_register as main url. Add “DJANGO_CASH_REGISTER_MAIN_PAGE” to settings.py like this:
DJANGO_CASH_REGISTER_MAIN_PAGE = True
Add “STATICFILES_DIRS” to settings.py like this:
STATICFILES_DIRS = [ [BASE_DIR / 'static'][0] ]
Add “django_cash_register.urls” to urls.py like this:
urlpatterns = [ ... path('', include('django_cash_register.urls')), ]
Execute command:
./manage.py migrate
Start the development server and visit http://127.0.0.1:8000 or http://127.0.0.1:8000/django_cash_register
Application
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-cash-register-0.2.tar.gz
(100.2 kB
view hashes)
Built Distribution
Close
Hashes for django_cash_register-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f87f80f3853b7af2f7349827b40ac4e13f7c9527e48deecfeddd85059afd9280 |
|
MD5 | 4c92ca9f1871f50d223a3c55ca9d15bf |
|
BLAKE2b-256 | f4e4b6919b49bddffb45120618092e97798e6b1dd60c5d3cbc68eba4dd1044eb |