This Django project comprises two main applications: common and employee.
The common app includes models and functionalities related to the general operations of the system.
- Models:
TermsPodsShiftsShiftRequest
- Views:
- Contains functions to add objects for each model mentioned above, located in
views.py. - Most of the function are added in the
views.pyfile.
- Contains functions to add objects for each model mentioned above, located in
- HTML Templates:
- HTML files for testing are located in
templates/common/&templates/employee/. These are initial drafts and might require further development. - HTML files should be in their respective
templates/app_name/folder.
- HTML files for testing are located in
The employee app handles functionalities related to employees and their access management.
- Models:
EmployeeAccess
- Views:
- Includes a function to add
Employeeobjects, defined inviews.py.
- Includes a function to add
- HTML Templates:
- Test HTML files are in
templates/employee/. These may need to be updated or rewritten.
- Test HTML files are in
- HTML templates are stored in the respective
template/app_namedirectories for each app. - If separate folders are created for templates, ensure to update the
TEMPLATESconfiguration insettings.py.
- The project uses SQLite, Django's default database.
- Integration with other database systems is possible. Any change in the database configuration must be reflected in the
settings.pyfile.
- Project’s
urls.py: Routes to the appropriate app’surls.py. - App’s
urls.py: Defines the specific pages that are rendered for each URL.
- Functions in
views.pyneed adjustments to ensure proper backend integration. - The current HTML templates are for initial testing and likely need further modifications.
This is a basic django python-mysql based scheduleing application simulator, which will eventually expand into a website with HTML5, CSS3 and JS on the frontend.