How duchoai039-ctrl/24ct1-nguyenbahoaiduc-cnpm works
Perspect is a Vietnamese Django social network for sharing short “perspectives.” Users register and complete profiles, publish posts with optional images and topic tags, browse and search feeds, then interact through likes, comments and follows; notifications surface those interactions and new posts. The map separates request routing, account/content workflows, social features and persistence/integrations. Some documented capabilities, such as notifications and exploration, are included from the README and URL routes; their unsampled implementation details are not inferred.
Main entry points: models.py Social data models · views.py Request handlers · forms.py Input validation · settings.py Django configuration
Components 17
Web interface
- Request routes
Blog/devBlog/urls.py - Request handlers
Blog/devBlog/views.py - Rendered pages
Blog/devBlog/templates/devBlog - Django configuration
Blog/Blog/settings.py
Accounts and content
- Registration and profile
Blog/devBlog/views.py - Input validation
Blog/devBlog/forms.py - Email or phone login
Blog/devBlog/backends.py - Post publishing
Blog/devBlog/views.py
Social discovery
- Feed and search
Blog/devBlog/views.py - Likes and comments
Blog/devBlog/views.py - Profiles and follows
Blog/devBlog/views.py - Notifications
Blog/devBlog/views.py
Data and media
- Social data models
Blog/devBlog/models.py - Neon PostgreSQL
- Cloudinary image storage
- WhiteNoise static files
Other components
- Visitor
Connections 18
- Visitor → Request routes: requests pages
Blog/devBlog/urls.py - Request routes → Request handlers: routes requests
Blog/devBlog/urls.py - Request handlers → Rendered pages: renders pages
Blog/devBlog/views.py - Request handlers → Input validation: validates input
Blog/devBlog/views.py - Request handlers → Social data models: queries and saves
Blog/devBlog/views.py - Registration and profile → Input validation: validates signup
Blog/devBlog/views.py - Registration and profile → Social data models: creates profiles
Blog/devBlog/views.py - Email or phone login → Input validation: normalizes phone
Blog/devBlog/backends.py - Post publishing → Input validation: validates posts
Blog/devBlog/views.py - Post publishing → Social data models: saves posts
Blog/devBlog/views.py - Feed and search → Social data models: queries posts and tags
Blog/devBlog/views.py - Likes and comments → Social data models: records interactions
Blog/devBlog/views.py - Profiles and follows → Social data models: updates follows
Blog/devBlog/views.py - Notifications → Social data models: records notifications
Blog/devBlog/views.py - Social data models → Neon PostgreSQL: stores model data
README.md - Django configuration → Neon PostgreSQL: configures connection
README.md - Django configuration → Cloudinary image storage: configures uploads
README.md - Django configuration → WhiteNoise static files: configures static files
README.md