How jonas-y-issa/portfoliowebsite-django works
This is a Django-managed personal portfolio with two public delivery modes: a live homepage and a generated static Pages package. The main workflow is visitor → homepage route/view → portfolio records → rendered template/assets; the editing workflow uses Django admin, while export_pages renders the same view and copies static assets for upload. README documents galleries, skills/about/projects, and client-side interactions. Some templates and routing details were not excerpted, so edges rely only on shown code or README statements.
Main entry points: Index.html Homepage template · views.py Homepage view · export_pages.py Pages exporter · settings.py Site configuration
Components 19
Web runtime
- Django runtime
MyWebsite/asgi.py - Site configuration
MyWebsite/settings.py - Trusted proxy filter
MyWebsite/middleware.py - Site routes
MyWebsite/urls.py - Portfolio routes
myapp/urls.py
Portfolio content
- Homepage view
myapp/views.py - Portfolio records
myapp/models.py - Content admin
myapp/admin.py - Project galleries
myapp/models.py
Static publishing
- Pages exporter
myapp/management/commands/export_pages.py - Source assets
myapp/static - Static Pages site
Visitor experience
- Homepage template
templates/Index.html - Shared page shell
templates/base.html - Portfolio interactions
myapp/static/base/scripts/portfolio.js - Shared styling
myapp/static/base/css - Section styling
myapp/static/homepage/css
Other components
- Visitor
- Cloudflare Pages
Connections 19
- Visitor → Site routes: requests page
README.md - Site routes → Portfolio routes: includes routes
MyWebsite/urls.py - Portfolio routes → Homepage view: routes to
myapp/urls.py - Homepage view → Portfolio records: queries content
myapp/views.py - Homepage view → Homepage template: renders
myapp/views.py - Homepage template → Shared page shell: loads shell
README.md - Homepage template → Shared styling: loads styles
README.md - Homepage template → Section styling: loads styles
README.md - Homepage template → Portfolio interactions: loads script
README.md - Content admin → Portfolio records: edits records
myapp/admin.py - Site configuration → Trusted proxy filter: configures middleware
MyWebsite/settings.py - Site configuration → Site routes: selects routes
MyWebsite/settings.py - Django runtime → Site configuration: loads configuration
MyWebsite/asgi.py - Homepage view → Project galleries: prefetches gallery
myapp/views.py - Pages exporter → Homepage view: renders homepage
myapp/management/commands/export_pages.py - Pages exporter → Portfolio records: checks projects
myapp/management/commands/export_pages.py - Pages exporter → Source assets: copies assets
myapp/management/commands/export_pages.py - Pages exporter → Static Pages site: generates site
README.md - Static Pages site → Cloudflare Pages: uploaded to
README.md