How anirbanpal2002/djangoapp_curd works
This Django application provides basic account access and customer-record management. A browser request enters the project URL configuration, is routed to a shop view, and may render a page or modify/query account and customer records. The customer workflow covers listing, adding, editing, and deleting records; account workflows cover registration, login, and logout. Registration also sends an email. The configured database is MySQL. Source excerpts show the views, routes, models, and settings; template contents and other unsampled behavior are not assumed.
Main entry points: views.py Account Views · shop/urls.py Shop Routes · Project_01/urls.py Project Routes · models.py User Account Model
Components 16
Request Routing
- Project Routes
Project_01/urls.py - Shop Routes
shop/urls.py
Account Access
- Account Views
shop/views.py - Home Page
templates/home.html - Login Page
templates/login.html - Registration Page
templates/create_account.html - Dashboard Page
templates/dashboard.html
Customer Records
- Customer Views
shop/views.py - Customer List Page
templates/customaradd.html - Customer Edit Page
templates/edit_customar.html
Persistence and Messaging
- User Account Model
shop/models.py - Customer Model
shop/models.py - Database Settings
Project_01/settings.py - MySQL Database
- SMTP Email Service
Other components
- Browser User
Connections 16
- Browser User → Project Routes: sends request
- Project Routes → Shop Routes: includes routes
Project_01/urls.py - Shop Routes → Account Views: routes account
shop/urls.py - Shop Routes → Customer Views: routes customers
shop/urls.py - Account Views → Home Page: renders
shop/views.py - Account Views → Login Page: renders
shop/views.py - Account Views → Registration Page: renders
shop/views.py - Account Views → Dashboard Page: renders
shop/views.py - Account Views → User Account Model: queries and saves
shop/views.py - Account Views → SMTP Email Service: sends registration email
shop/views.py - Customer Views → Customer List Page: renders
shop/views.py - Customer Views → Customer Edit Page: renders
shop/views.py - Customer Views → Customer Model: queries and saves
shop/views.py - Database Settings → MySQL Database: configures
Project_01/settings.py - User Account Model → MySQL Database: persists records
- Customer Model → MySQL Database: persists records