How junapudisatish/digital-library-portal works
This Django library portal supports catalog discovery, member management, loan issuance and returns, overdue-fine calculation, and sample-data seeding. The principal workflow routes browser requests to circulation views, which validate forms and apply circulation rules against persistent library records before rendering results. Client-side JavaScript adds instant catalog filtering and calculator previews. The graph preserves documented dashboard, admin, and calculator capabilities; unsampled view and template details are represented at their known source paths, without inferring unshown calls.
Main entry points: views.py Portal workflows · models.py Library domain records · urls.py Request routes · forms.py Validation forms
Components 17
Portal entry
- Request routes
circulation/urls.py - Portal pages
circulation/templates/circulation
Circulation workflows
- Portal workflows
circulation/views.py - Validation forms
circulation/forms.py - Catalog and details
circulation/views.py - Issue and return
circulation/views.py - Member dashboard
circulation/views.py - Fine calculation API
circulation/views.py
Library records
- Library domain records
circulation/models.py - SQLite database
db.sqlite3 - Django administration
circulation/admin.py - Seed command
circulation/management/commands/seed_library.py - Sample dataset
circulation/seed_data.py
Interactive tools
- Client interactions
static/js/app.js - Due-date calculator
circulation/templates/circulation/calculator.html
Other components
- Patron / librarian
- Browser
Connections 16
- Patron / librarian → Request routes: requests pages
circulation/urls.py - Request routes → Portal workflows: dispatches
circulation/urls.py - Portal workflows → Validation forms: validates input
circulation/views.py - Portal workflows → Library domain records: queries and updates
circulation/views.py - Portal workflows → Portal pages: renders pages
circulation/views.py - Validation forms → Library domain records: validates records
circulation/forms.py - Library domain records → SQLite database: persists records
- Portal workflows → Catalog and details: serves catalog
circulation/urls.py - Portal workflows → Issue and return: handles circulation
circulation/urls.py - Portal workflows → Member dashboard: serves dashboard
README.md - Portal workflows → Fine calculation API: calculates fines
circulation/urls.py - Django administration → Library domain records: administers records
circulation/admin.py - Seed command → Sample dataset: invokes seeding
circulation/management/commands/seed_library.py - Sample dataset → Library domain records: creates sample records
circulation/seed_data.py - Browser → Client interactions: runs interactions
static/js/app.js - Client interactions → Due-date calculator: previews calculations
README.md