I created a attendance management system using django framework, ajax, jquery, javascript, bootstrap, css and HTML. The goal of the project is to create a web app where students can login using their provided credentials and mark their attendance for the class. It uses forms and validators to stop marking attendance for the day other than today. It also enables the admin to download the attendance of the given date in CSV format. The attendance form is only available for users, when the admin allows it.
Python, Django, Bootstrap, CSS, HTML, Javascript, Jquery, Ajax, Docker.
InOrder to contribute to this repository follow the given procedure -
- Fork the repository
- Clone it to your local system using the command
git clone <HTTP address>
After cloning it successfully its time to set up the virtual environment for Django
Use the following commands
pip install virtualenv
then
python -m venv [name of venv]
To activate the virtual environment use
env_name\scripts\activate
Now to install Django use
pip install django
So Far we have installed Django and activated the virtual environment now let us have a look at installing certain dependencies for the project and setting up the project locally.
Just Follow the Below Procedure -
pip install -r requirements.txt
then run
python manage.py migrate
Create admin account
python manage.py createsuperuser
then
python manage.py makemigrations App_name
then again run
python manage.py migrate
Finally to start the development server use
python manage.py runserver
If you face any problem while installing django click here
- The homepage contains the data of every student of the department.
- The subjects section contains, the subject currently active.
- A login system where users with credentials can only login and mark their attendance using the form.
- The form has custom validators which allows it to take attendance effectively.
- The form is only visible to the normal users when the admin allows it through its admin homepage, which he can access after logging in on the website, with his credentials.
- The admin can download the attendance for the day in CSV form from his homepage.
- Admin has a pause and start button which controls the availability of the attendance form for the normal users on the website.
- The project has also been dockerized.