This Django application manages student enrollments, allowing users to add, view, and manage student records.
- Add new student records.
- View details of enrolled students.
- Simple web interface to manage student information.
These instructions will help you set up the project on your local machine for development and testing purposes.
- Python 3.x
- Django
- Git
-
Clone the repository:
git clone https://github.com/your-username/your-repository-name.git cd your-repository-name
-
Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate`
-
Install the required packages:
pip install django
-
Run database migrations:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
Open your web browser and navigate to http://127.0.0.1:8000/ to use the application.
-
Create an admin: Create admin using
python manage.py createsuperuser
-
Open the application in your web browser: Navigate to http://127.0.0.1:8000/enrollment/register.
-
Enter your credentials: Type the details of the studentin the input boxes.
-
Submit the form: Click on Register button. It displays "Student registered successfully".
-
Export the Student details in csv or pdf format: Navigate to http://127.0.0.1:8000/enrollment/export/csv for csv file. Navigate to http://127.0.0.1:8000/enrollment/export/pdf for pdf file.
If you want to contribute to this project, please fork the repository and submit a pull request with your changes. Ensure your code adheres to the project's coding standards.
This project is licensed under the MIT License - see the LICENSE file for details.
Django documentation and GitHub for hosting the repository