How ashishtamang07/django_projects works
This repository is a collection of small Django learning projects, not one connected application. Its examples cover blog profiles, CRUD, REST APIs, user authentication, email, image uploads, and model relationships/inheritance. The principal visible workflow is the JWT project’s user account operations: serializers validate registration and password changes, and the reset serializer sends a reset link and applies a new password. Source excerpts are sparse, so most project-level relationships are left unasserted; the edges shown are supported by the excerpted signal handlers and serializer.
Main entry points: serializers.py Account serializers · users/signals.py Profile signals · views.py JWT endpoints · account/signals.py Delete signal
Components 20
Blog profiles
- Blog app
blog_application/django_blog/blog - Profile model
blog_application/django_blog/users/models.py - Profile signals
blog_application/django_blog/users/signals.py - Users app config
blog_application/django_blog/users/apps.py
API examples
- Basic API
api/myapi - Class API views
drf_geeky/class_based_apiview - JWT endpoints
z10_jwtproject/api/views.py - Account serializers
z10_jwtproject/api/serializers.py - Custom user model
customuser/api/models.py - Django mail
Web features
- Enrollment CRUD
crudproject/enroll - Image uploads
image_uploder/myapp - SMTP example
email_smtp/account
Model patterns
- History example
history/account - Inheritance example
model_inheritance/account - Model relations
model_relations/account - One-to-one models
one_to_one_relation/account/models.py - Delete signal
one_to_one_relation/account/signals.py - Account app config
one_to_one_relation/account/apps.py
Other components
- User
Connections 12
- User → Blog app: uses
- Users app config → Profile signals: loads
blog_application/django_blog/users/apps.py - Profile signals → Profile model: creates profile
blog_application/django_blog/users/signals.py - User → JWT endpoints: requests
- JWT endpoints → Account serializers: dispatches to
- Account serializers → Custom user model: creates and updates
z10_jwtproject/api/serializers.py - Account serializers → Django mail: sends reset mail
z10_jwtproject/api/serializers.py - User → Enrollment CRUD: uses
- User → Image uploads: uses
- User → SMTP example: uses
- Account app config → Delete signal: loads
one_to_one_relation/account/apps.py - Delete signal → One-to-one models: deletes related user
one_to_one_relation/account/signals.py