The Fish Farm Management System Project in Django is a web-based system that keeps track of all the information and statistics about the personnel.
Further, we’ve created all of the crud (create, read, update, and delete) activities for the dam, departments, fish records, sales, and credit sales.
This is a role-based module that allows the administrator to do anything with the data.
Introduction to Fish Farm Management System
Aquaculture research has led to the creation of production systems that have enhanced the quality of fish farming ponds in recent years, thanks to advancements in monitoring and automation technology.
The Smart Fish Pond Management System will automatically monitor and manage the fish pond.
Main Objective for Django Fish Farm Management System
The major goal of this project is to create a Smart Fish Pond Management System that will monitor and manage the fish pond and its perimeter automatically.
Detect a change in the water level of the fish pond and replenish it to the proper level.
Control the pH level after detecting a change in the pH level. Detect and control a change in water temperature.
Detect any entry into the perimeters of the fish pond and notify the appropriate authorities.
Major Functionalities Used in Fish Farm Management System in Django
Features of Fish Farm Management System in Django on the admin side:
- Login – By default, the admin must first log in to gain access to the system.
- Manage Staff – The admin can add, update, and delete information about the employees.
- Dam Administration – The dam administrator can add, update, and delete dam information.
- Manage Departments – The admin can add, edit, and delete information for departments.
- Fish Management – The administrator has the ability to add, amend, and delete information about the fish.
- Manage Sales – The admin has the ability to add, update, and delete sales data.
- Credit Sales Management – The administrator has the ability to add, update, and delete credit sales data.
- Harvest Information – The administrator can add, update, and delete Harvest information.
Before you begin working on a Fish Farm Management System Project in Django with Source Code, make sure you are familiar with CSS, JavaScript, PHP, and Python.
Fish Farm Management System in Django Steps on How to Create a Project
Time needed: 3 minutes
These are the steps to run a Fish Farm Management System Project in Django
- pip install virtualenv
First, You need to install the virtualenv, Open a command prompt by going to the project folder directory and typing CMD. After opening the CMD type ” pip install virtualenv “.
- virtualenv env
Then, after installing virtualenv just type “virtualenv env” and enter.
A virtual environment is a tool that creates separate Python virtual environments for distinct projects to keep their dependencies separate.
Most Python programmers utilize this as one of their most significant tools. - cd env/Scripts
Next, just type ” cd env/Scripts ” and press enter. It can be any script that includes data loading, processing, and cleaning, or any ML phase while developing an application when putting business logic directly in views or models isn’t always the best option.
- activate
Next, you need to type “activate” and then press enter.
The virtual environment will be turned on, and you’ll see “(project-name)” next to the command prompt to identify it.
You’ll have to activate the environment every time you open a new command prompt. - cd ../..
Next, just type ” cd ../.. ” and press enter.
- Install Django
Next, type the command “pip install django”. This will download and install the most recent version of Django.
After the installation is complete, use the command prompt to check your Django installation by typing django-admin —version. - python manage.py makemigrations
Next, after installing the Django type this command ” python manage.py makemigrations ” to create a table in the database.
Makemigrations provides SQL instructions for preinstalled applications (which can be seen in installed apps in settings.py) and your newly generated apps’ model, which you may add to installed apps.
Those commands in your database file are not executed. As a result, no tables are created after makemigrations. - python manage.py migrate –run-syncdb
Next, after making migrations type this command ” python manage.py migrate –run-syncdb ” to migrate the tables in the database.
Initial database tables (including auth, auth group permission, Django admin log, and others) will not be generated if you don’t use syncdb before completing the migration. - python manage.py createsuperuser
After the migration of the database, you need to create a super user to login in to the admin account, just you need to type the command ” python manage.py createsuperuser “.
Using manage.py, you may establish a “superuser” account with complete access to the site and all necessary permissions.
To create the superuser, run the following script in the same directory as manage.py. You’ll be asked to create a username, email address, and a secure password. - python manage.py runserver
Lastly, after creating a super user just type the command ” python manage.py runserver “.
It should only be used for testing and launching your project; it should not be utilized for live website deployment.
The runserver management command is designed for purposes other than running a web server. The development server automatically reloads Python code for each request as needed, which is ideal for local development but would add extra overhead in a production setting (source): - http://127.0.0.1:8000/
Finally, To access your project dashboard, type or copy this “http://127.0.0.1:8000/” into your browser.
It is possible to imitate a web-server environment with localhost, and it is most commonly used to simulate web applications operating on a web server.
The port number on which the browser communicates to the server is 8000.
Project Details and Technology
This section contains information about the project as well as the system’s technology.
Django Fish Farm Management System is the name of the project, and Python Django is the programming language used. SOURCECODEHERO is the creator, and the Python version used is 3.9. SQLITE3 is the database, the application is a web application, and the Python version is 3.9.
Project Name: | Fish Farm Management System in Django with Source Code |
Language/s Used: | Python Django |
Python version (Recommended): | 3.9 |
Database: | SQLlite3 |
Type: | Web Application |
Developer: | SOURCECODEHERO |
Updates: | 0 |
Download the Source Code Here!
Conclusion
High-speed, high-accuracy fish farm activities, as well as the presentation of results in certain formats. It has some characteristics that make it superior to the manual system of fish farming activities, such as lower processing costs, less time spent computing harvesting/sales records, and no duplication of effort.
The new system is adaptable and can be customized to meet any type of data processing or record keeping. It employs a graphical user interface (GUI) rather than a command-line method, making it simple to use, and secure, and ensuring data integrity as a result of the usage of a relational database management system.
Farm information activities can be processed to a considerable extent automatically using this program, reducing processing time and enhancing accuracy.
Related Article
Inquiries
If you have any questions or suggestions about the Fish Farm Management System in Django with Source Code, please feel free to leave a comment below.
i am trying to run it in vscode but its not working, it shows did you install mysqlclient when already installed. could you please make a video asap