Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Django Students & Courses Management System

A complete Django-based web application for managing students and courses. This project allows users to add, view, update, delete, and search for courses and students. The UI is built with Bootstrap, and features include form validation, pagination, and a responsive design.


πŸš€ Features

🧾 Course Management

  • Create Course: Add a new course with name and description.
  • Update Course: Edit existing course details.
  • Delete Course: Remove a course from the database.
  • Validation: Prevents blank names and duplicates using Django's clean_name() method.

πŸ‘¨β€πŸŽ“ Student Management

  • Create Student: Add a student with name, email, gender, and phone number.
  • Update Student: Edit student details.
  • Delete Student: Delete a student record.
  • Validation: Ensures proper email format and non-empty fields.

πŸ” Search Functionality

  • Search Courses: Users can search by course name using a search bar.
  • The form submits a GET request and filters results based on the query.
  • Displays β€œNo results found” if no matches exist.

πŸ“„ Pagination

  • Course list supports pagination.
  • Navigation includes: Β« Prev | page numbers | Next Β»
  • Disabled buttons if no more pages.

🎨 User Interface

  • Clean UI with Bootstrap and Font Awesome icons.
  • Styled buttons (Add, Edit, Delete) with hover effects.
  • Table view for listing data with alternating row colors and hover highlight.
  • Responsive design for desktops and tablets.

πŸ—‚οΈ Project Structure

students_task/ β”‚ β”œβ”€β”€ students/ # Django app β”‚ β”œβ”€β”€ models.py # Models for Course and Student β”‚ β”œβ”€β”€ forms.py # Django forms with validation β”‚ β”œβ”€β”€ views.py # Core logic for rendering and form handling β”‚ β”œβ”€β”€ urls.py # URL patterns for student/course views β”‚ └── templates/ β”‚ └── ...html # Templates for displaying pages β”‚

β”œβ”€β”€ db.sqlite3 # SQLite database β”œβ”€β”€ manage.py # Django project manager

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages