How surajgupta57/portfolio_project works
This is a Django portfolio CMS: an administrator edits ordered, database-backed site content, and a visitor request assembles that content into a single portfolio page. The graph preserves the documented content sections and the browser-side interactions. Source excerpts show the admin/model relationship, request routing, view queries, and rendering; template-specific details and some section wiring are based on the README, not inspected template excerpts.
Main entry points: admin.py Django admin · views.py Home view · index.html Portfolio page · base.html Site shell
Components 21
Content authoring
- Django admin
portfolio/admin.py - Starter content
portfolio/management/commands/seed_portfolio.py
Portfolio content
- Brand and navigation
portfolio/models.py - Hero content
portfolio/models.py - About content
portfolio/models.py - Experience timeline
portfolio/models.py - Skills tabs
portfolio/models.py - Projects
portfolio/models.py - Education
portfolio/models.py - Testimonials
portfolio/models.py - Contact content
portfolio/models.py - Content database
Page delivery
- URL routing
portfolio/urls.py - Home view
portfolio/views.py - Shared site context
portfolio/context_processors.py - Portfolio page
portfolio/templates/portfolio/index.html - Site shell
portfolio/templates/base.html
Browser interactions
- Interactive behavior
portfolio/static/portfolio/js/main.js - Site styling
portfolio/static/portfolio/css/style.css
Other components
- Administrator
- Visitor
Connections 22
- Administrator → Django admin: edits content
README.md - Django admin → Content database: manages records
README.md - Django admin → Brand and navigation: configures
portfolio/admin.py - Django admin → Hero content: configures
portfolio/admin.py - Django admin → About content: configures
portfolio/admin.py - Django admin → Experience timeline: configures
portfolio/admin.py - Django admin → Skills tabs: configures
portfolio/admin.py - Django admin → Projects: configures
portfolio/admin.py - Django admin → Education: configures
portfolio/admin.py - Django admin → Testimonials: configures
portfolio/admin.py - Django admin → Contact content: configures
portfolio/admin.py - Starter content → Content database: loads starter records
portfolio/management/commands/seed_portfolio.py - Visitor → URL routing: requests page
README.md - URL routing → Home view: routes to
portfolio/urls.py - Home view → Content database: queries content
portfolio/views.py - Content database → Home view: returns content
portfolio/views.py - Home view → Portfolio page: renders
portfolio/views.py - Shared site context → Content database: queries settings and links
portfolio/context_processors.py - Site shell → Shared site context: uses shared values
README.md - Portfolio page → Site shell: extends shell
README.md - Portfolio page → Interactive behavior: provides interactive controls
README.md - Site shell → Site styling: loads styling
README.md