How arleking1521/blog-march works
This is a Django application for user accounts and bilingual posts with image attachments. The main workflow is account registration, email activation and login, followed by listing, creating, editing, viewing or deleting posts. Post forms and ORM models provide the internal domain layer, while templates render the responses. The excerpts show routing, view-to-form/model calls, activation-token use and email dispatch; database configuration and several presentation details were not sampled, so those links are limited.
Main entry points: account/views.py Account actions · urls.py Project routes · post/views.py Post actions · models.py Posts and attachments
Components 14
Request routing
- Project routes
core/urls.py - Account routes
account/urls.py - Post routes
post/urls.py
Accounts
- Account actions
account/views.py - Account forms
account/form.py - User model
account/models.py - Activation token
account/token.py - Email service
Post publishing
- Post actions
post/views.py - Post forms
post/form.py - Posts and attachments
post/models.py
Presentation
- Page templates
templates
Other components
- Visitor
- Django database
Connections 18
- Visitor → Project routes: sends requests
core/urls.py - Project routes → Post routes: includes routes
core/urls.py - Project routes → Account routes: includes routes
core/urls.py - Project routes → Account actions: routes activation
core/urls.py - Post routes → Post actions: dispatches requests
post/urls.py - Account routes → Account actions: dispatches requests
account/urls.py - Account actions → Account forms: validates input
account/views.py - Account actions → User model: reads and saves
account/views.py - Account actions → Activation token: creates and checks
account/views.py - Account actions → Email service: sends activation email
account/views.py - Account actions → Page templates: renders pages
account/views.py - Post actions → Post forms: validates input
post/views.py - Post actions → Posts and attachments: queries and saves
post/views.py - Post actions → Page templates: renders pages
post/views.py - Post forms → Posts and attachments: defines model form
post/form.py - Posts and attachments → User model: references author
post/models.py - User model → Django database: persists user records
account/models.py - Posts and attachments → Django database: persists post records
post/models.py