- Ability to login as an admin and login as a new user member
- Ability to register new users
- Ability to allow the Farmer can register their livestock into the system
- Ability to log out
- Ability to calculate the cost of each livestock
- Ability to do some logic operation
- Implementation of pagination for all the list views across the application.
- Ability to calculate the Bill of the farmer
- Ability to calculate farmer discount if they register more than five livestocks
- More and complex business logic will be written.
- Use FBV and decorator , Currently i use CBV and LoginRequiredMixin
- Authorisation and Cache
- Ability to search
- calculate all listed billing of farmers together
- Ability to send message to the farmer with email i.e sendgrid and twilio for mobile.I want to include third-party apis
- Nofification bell will be added next to logout to show upcoming notification to the staff/administrators
#Prerequisites
- Use requirements.txt file to install all required packages
- Any Editor (Preferably VS Code or Sublime Text)
- Any web browser with latest version
- HTML5/CSS3
- Bootstrap (An HTML, CSS, and JS library)
- Django, Python
- Sqlite
- python -m venv venv
- source venv/bin/activate
- pip install -r requirements.txt
- python manage.py makemigrations users (first )
- python manage.py migrate users
- python manage.py makemigrations farmer
- python manage.py migrate farmer
- python manager.py createsuperuser
- python manage.py runserver
- Livestock registration systems in Python and Django This system has a ‘Login’ page from where the administrator can login into their accounts . Fig 1.1 shows the ‘Login’ page of our project.
- This system has a ‘Signup’ page from which the user can register into the system . Fig 1.2 shows the ‘Signup’ page of our project.
- This system has a "Register" page from which farmers can register their livestock.
Fig 1.3 shows the "Register livestock’ page of our project.
#The ‘Home’ page consists of 3 modules:
- Information interface
- List of Farmer list
- Billing
- Information interface This module shows the total number of register farmers and thier bills
- list of Farmer module This module contains the list of the farmers that register their livestock and also the number of their livestock.