Django School Management System with Authentication and CRUD Operations

✅ Just completed another Django project! Built a full-featured School Management System with Authentication, Role-Based Access, Image Uploads, and complete CRUD operations for Students, Teachers & Courses. ➡️ Project Overview: A web application where authenticated users can manage Students, Teachers, and Courses — with a dashboard showing live statistics like total student count, teacher count, and total salary. 📚 New things I learned: ✅ Django ModelForm — form validation & custom widget styling ✅ ImageField with Pillow — profile photo upload & update ✅ req.FILES — handling file inputs from forms ✅ AbstractUser — role-based Custom User Model (Student/Teacher roles) ✅ @login_required — protecting views from unauthenticated access ✅ aggregate(Sum()) — calculating totals directly from the database ✅ .exists() — preventing duplicate entries ✅ .count() & .order_by("-id") — dashboard statistics & recent records ✅ instance= parameter — pre-populating edit forms 💡 Biggest takeaway: Django ModelForm is a game-changer — it handles validation, rendering, and saving in one clean class. No more manual request.POST.get() for every field! 🌐 Live Demo: https://lnkd.in/gMpaydWA 🔗 GitHub: https://lnkd.in/gm2_pcgX Every project teaches me something new. #Django #Python #WebDevelopment #Authentication #ModelForms #LearningInPublic #100DaysOfCode

  • fahad django project

Did you used any database with this project? If yes then SQL or NoSQL?

Like
Reply

To view or add a comment, sign in

Explore content categories