Project of a Web Application which keeps a record of employees, the respective heads of employees, and external contracts to the company.
The following project is done with the Django Framework. Postgresql is used as a database manager for the respective storage of the different registers. In this project, the "bootstrap_modal_forms" library is used to handle Modals. This library can be downloaded as follows:
pip install bootstrap_modal_forms
Bootstrap 4.0 is also used, which can be downloaded or found at the following link Bootstrap.
Likewise, a respective use of JQuery is made, jquery libraries such as datetimepicker are also used, which is to personalize the insertion of the dates using a calendar.
For the management of users, the model that the same Framework offers and generates is used. Which is imported as follows:
from django.contrib.auth.models import User
The project folder is the one named RegContrac, which contains different folders:
- Bootstrap, which contains local files to use Bootstrap.
- Portafolio, where there are different folders containing the different images, css files, js, fonts, etc.
- Archivos, where the different documents that are uploaded using the forms are stored.
- RegContrac, which is the folder where the different settings of the project are and where we add the applications we need for our project, they are in the file
settings.py. Also the URLs to redirect to each application, which are in the fileurls.py. - LRUsuarios, all the users part is configured.
- REGContracEx, where the settings are made for the application that handles the part of external contracts.
- REGEmpleados, where is all the part of the configuration of the application for the management of the Employees and their respective registration.
- REGJefes, where the entire registry of the Employees' Heads is configured.
We also make use of a Django method which is send_mail(), this is imported with the following instruction from django.core.mail import send_mail in our views.py file. Which is used to give notifications by email.