This project is a Higher Studies website built using Django, SQLite, and Bootstrap. The website allows users to manage student information, courses, and course registrations. Users can add, update, and delete student data, add new courses, view active/inactive students, search for students by name or department, and register courses for individual students. The website also includes a login functionality for user authentication.
-
User Registration and Login: Users can create an account and log in to access the website's features.
-
Add New Student: Authenticated users can add a new student to the system by providing the student's ID, name, date of birth, university, gender, department, status (active/inactive), and course information (course1, course2, course3).
-
Update Student Information: Authenticated users can update the information of an existing student. This functionality allows users to modify the student's details such as name, date of birth, university, gender, department, status, and course information.
-
Delete Student Data: Authenticated users can delete an existing student's data through the delete button on the student's edit page. A confirmation dialogue is displayed to confirm the deletion before it occurs.
-
Add New Course: Authenticated users can add a new course and link it to a specific department. This functionality requires entering the course's ID, department, course name, number of hours, lecture's day, and hall number.
-
View Active/Inactive Students: Authenticated users can view all active or inactive students in a separate page. The student information is rendered in a table format, displaying relevant attributes only.
-
Search for Students: Authenticated users can search for active students by name or department. The search functionality retrieves students with similar names who have an active status and displays them in a table format.
-
Course Registration: Authenticated users can select a specific student after searching and register courses for that student. The course registration page includes the student's ID, name, and a dropdown list for available courses in three course fields. Users can select three different courses for the fields, and upon submission, the selected courses are registered for the student. If the user attempts to select the same course for multiple fields, an error message is displayed.
-
Navigation Bar: The website includes a well-designed navigation bar that allows users to navigate through all pages and return to the home page.
The Higher Studies website is built using the following technologies:
- Django
- SQLite
- HTML
- CSS
- JavaScript
- Bootstrap (for responsive design)
To run the Higher Studies website locally, follow these steps:
- Clone the repository:
git clone https://github.com/your/repository.git
- Set up a virtual environment:
python -m venv env
(optional, but recommended) - Activate the virtual environment:
source env/bin/activate
(Linux/Mac) or.\env\Scripts\activate
(Windows) - Install the required packages:
pip install -r requirements.txt
- Install white noise packages:
pip install whitenoise
- Apply the database migrations:
python manage.py migrate
- Start the local server:
python manage.py runserver
- Access the website through a web browser by entering
http://localhost:8000
in the address bar.
Contributions to this project are welcome. If you find any issues or have suggestions for improvement, please create a new issue or submit a pull request.
Website_Preview.mp4
Name | ID | ||
---|---|---|---|
Shawky Ebrahim Ahmed | 20210184 | [email protected] | shawkyebrahim2514 |
Youssef Mohammed Morad | 20210485 | [email protected] | youssef-morad |
Mohamed Essam Mahmoud Osman | 20210346 | [email protected] | mohamed-essam71 |
Mahmoud Hosam Ahmed Sakr | 20210368 | [email protected] | mahmoudhsakr |
Khaled Salah | 20211033 | [email protected] | khaledsa1ah |
Alan Samir Hakoun | 20210755 | [email protected] | alan-hakoun |