How ilgar31/sktower works
SKTower is a Django website for a construction company. Visitors browse house projects, completed builds, services, promotions, contacts, reviews, and articles; project listings support filtering, sorting, and incremental loading, while inquiry forms submit requests for email handling. The main runtime path is URL routing into Django views, which query the domain models and render pages or return AJAX responses. The source index confirms the views-to-models dependency. Several frontend behaviors and view branches are visible only partially, so their connections are shown as unverified where necessary.
Main entry points: views.py Page and AJAX views · SKTower/urls.py Project routes · settings.py Django settings · main/urls.py App routes
Components 18
Web routing and pages
- Project routes
SKTower/urls.py - App routes
main/urls.py - Page and AJAX views
main/views.py - 404 handler
SKTower/views.py - Page templates
main/templates/main - Contact context
main/context_processors.py - Django settings
SKTower/settings.py
Project and content domains
- House projects
main/views.py - Project details
main/views.py - Completed builds
main/views.py - Articles
main/views.py - Company pages
main/views.py
Visitor interactions
- Form handlers
main/views.py - Project browser UI
main/static/main/js/projects.js - Form interactions
main/static/main/js/services.js
Application data
- Business models
main/models.py - SQLite database
Other components
- Site visitor
Connections 12
- Project routes → App routes: includes routes
SKTower/urls.py - Project routes → 404 handler: sets 404 handler
SKTower/urls.py - App routes → Page and AJAX views: routes requests
main/urls.py - Page and AJAX views → Business models: queries data
main/views.py - Page and AJAX views → Page templates: renders pages
main/views.py - Contact context → Business models: reads contact info
main/context_processors.py - Django settings → Contact context: configures processor
SKTower/settings.py - Django settings → SQLite database: configures SQLite
SKTower/settings.py - Site visitor → Project routes: requests pages
- Page and AJAX views → Form handlers: dispatches forms
main/views.py - Project browser UI → Page and AJAX views: requests updates
- Form interactions → Form handlers: submits forms