Skip to content

chitkokooo/customer-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

customer-management-system

Simple Customer Management System with Basic CRUD Operations written in django. Customer list can be exported as csv file or pdf file.

Resources

Python | Django | WeasyPrint | whitenoise | django-extensions | django-sslserver | django-debug-toolbar | django-crispy-forms

Installation Instruction

  • git clone https://github.com/chitkokooo/customer-management-system.git
  • cd customer-management-system
  • Activate virtual environment source Scripts/activate in GNU/Linux (or) Scripts\activate.bat in Windows
  • Install necessary packages pip install -r requirements.txt
  • cd cms
  • python manage.py makemgrations
  • python manage.py migrate
  • python manage.py collectstatic
  • python manage.py createsuperuser and enter information as instructions
  • python manage.py runserver or python manage.py runsslserver for https
  • Open http://127.0.0.1:8000 or https://127.0.0.1:8000 in web browser

WeasyPrint Installation and Configuration Instruction for Microsoft Windows

  • I used weasyprint for pdf exporting function and it will be needed additional steps for windows machine.
  • Install weasyprint module: pip install weasyprint
  • Check installed python architecture 32bits (i686) or 64bits (x64) with python --version --version
  • Dowload msys2xxxx.exe based on python architecture and install as their descriptions.
  • Download and install GTK3 Runtime
  • add msys2 and gtk3 runtime bin path to system environment PATH, so they can be accessed from anywhere within system.
  • You can test with following command python -m weasyprint http://weasyprint.org weasyprint.pdf to check whether weasyprint is working or not.

Additional Information

Moreover, you can also try django-weasyprint package.

Creating Groups

Create a group named Authorizers and give permissions customers | customer | Customer CRUD Operations auth_group

Create a group named Tellers and give permissions customers | customer | Can view customer teller_group

Creating Users

Add a user and add to Tellers Group, and Add a user and add to Authorizers Group. They have different permissions.

Some Screenshots

Login login

Home Page home

Create New Customer new_customer

Update Customer update_customer

python manage.py show_urls from django-extensions package show_urls

Delete All Customers delete_all

Change Password change_password

About Me

Facebook

Email: chitkokooo.cu (at) gmail (dot) com

About

Simple Customer Management System for Banking System (Django Project)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published