Skip to content

A Django-based web application for managing student records, including adding, editing, and deleting students with proper success/error messages.

Notifications You must be signed in to change notification settings

AbdullahRFA/Student_management_System_Django_CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Student Management System

A Django-based web application for managing student records, including adding, editing, and deleting students with proper success/error messages.

📌 Features

  • ✅ Add new students with details (Name, Roll, Department, Address, Phone, Email)
  • ✅ Edit student details
  • ✅ Delete student records
  • ✅ Bootstrap-based responsive UI
  • ✅ Success and error messages using Django’s messages framework

🛠️ Tech Stack

  • Frontend: HTML, CSS, Bootstrap
  • Backend: Django, Python
  • Database: SQLite (default) / PostgreSQL (optional)
  • Version Control: Git & GitHub

🚀 Installation & Setup

🔹 Step 1: Clone the Repository

git clone https://github.com/yourusername/student-management-system.git
cd student-management-system

🔹 Step 2: Create a Virtual Environment (Optional)

python3 -m venv venv
source venv/bin/activate  # On macOS/Linux
venv\Scripts\activate     # On Windows

🔹 Step 3: Install Dependencies

pip install -r requirements.txt

🔹 Step 4: Apply Migrations

python manage.py makemigrations
python manage.py migrate

🔹 Step 5: Create a Superuser

python manage.py createsuperuser

👉 Enter username, email, and password when prompted.

🔹 Step 6: Run the Server

python manage.py runserver

Now, visit http://127.0.0.1:8000/ in your browser. 🎉

📂 Project Structure

student-management-system/
│── std_app/                  # Main Django app
│   ├── migrations/           # Database migrations
│   ├── templates/std_app/     # HTML Templates
│   │   ├── base.html         # Base template with Navbar/Footer
│   │   ├── index.html        # Home page (List of students)
│   │   ├── add_std.html      # Add Student form
│   │   ├── update.html       # Edit Student form
│   │   ├── about.html        # About page
│   │   ├── services.html     # Services page
│   ├── models.py             # Database Models
│   ├── views.py              # Application Logic
│   ├── urls.py               # URL Routing
│   ├── admin.py              # Admin Panel Configuration
│── static/                   # Static Files (CSS, JS, Images)
│── db.sqlite3                 # SQLite Database (Default)
│── manage.py                  # Django Management Script
│── requirements.txt           # Python dependencies
│── README.md                  # Project Documentation

🖥️ Screenshots

🏠 Home Page

Home Page

📝 Add Student

Add Student

✏️ Edit Student

Edit Student

📜 License

  • This project is open-source and available under the MIT License.

💡 Future Enhancements

  • 🔹 Student Profile Upload – Allow students to upload profile images.
  • 🔹 Search & Filter – Add search functionality for better record management.
  • 🔹 Pagination – Improve UI for large datasets.
  • 🔹 Export Data – Generate reports in CSV or PDF format.

🙌 Contributing

👨‍💻 Contributions are welcome! Feel free to fork this repo, create a new branch, and submit a pull request.

📬 Contact

Developed with ❤️ using Django.

About

A Django-based web application for managing student records, including adding, editing, and deleting students with proper success/error messages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published