How alhariri369/durrat-tarim-django works
Durrat Tarim is an Arabic-first bilingual Django fashion storefront. Customers browse categories and products, view prices in SAR/YER, save favorites, and contact the shop through prefilled WhatsApp inquiries or a support form; authentication and email verification protect account features. The graph includes catalog management, SEO, theming, and admin capabilities documented in the README. Some view and URL modules were not sampled, so several documented relationships are evidenced by the README rather than inspected implementation.
Main entry points: models.py Catalog Data · catalog/views.py Catalog Pages · accounts/views.py Account Flows · support/views.py Contact Form
Components 24
Storefront Catalog
- Catalog Pages
catalog/views.py - Catalog Data
catalog/models.py - Currency Display
catalog/currency.py - Catalog SEO Tags
catalog/templatetags/catalog_tags.py - WhatsApp Inquiries
catalog/whatsapp.py - ImageKit Media
catalog/imagekit_storage.py
Customer Accounts
- Account Flows
accounts/views.py - User Accounts
accounts/models.py - Allauth Adapter
accounts/adapter.py - Safe Redirects
accounts/redirects.py
Store Operations
- Contact Form
support/views.py - Support Validation
support/forms.py - Support Tickets
support/models.py - Admin Dashboard
dashboard/views.py
Site Platform
- Site Routing
durrat_tarim/urls.py - Store Theme Context
durrat_tarim/context_processors.py - Request Middleware
durrat_tarim/middleware.py - SEO Sitemaps
durrat_tarim/sitemap_views.py - Transactional Email
durrat_tarim/email_backend.py
Other components
- Customer
- Store Staff
- ImageKit CDN
- Resend Email
Connections 28
- Customer → Site Routing: requests pages
README.md - Site Routing → Catalog Pages: routes catalog
README.md - Site Routing → Account Flows: routes accounts
README.md - Site Routing → Contact Form: routes contact
README.md - Catalog Pages → Catalog Data: reads catalog
README.md - Catalog Pages → WhatsApp Inquiries: offers inquiry
- Catalog Pages → Currency Display: displays prices
- Catalog SEO Tags → Currency Display: formats prices
catalog/templatetags/catalog_tags.py - Catalog Pages → WhatsApp: opens inquiry
- WhatsApp Inquiries → WhatsApp: shares selections
- Catalog Data → ImageKit Media: stores images
- ImageKit Media → ImageKit CDN: uploads media
catalog/imagekit_storage.py - Account Flows → User Accounts: authenticates users
- Account Flows → Allauth Adapter: uses adapter
- Allauth Adapter → User Accounts: populates user
accounts/adapter.py - Account Flows → Safe Redirects: validates redirects
- Account Flows → Transactional Email: sends verification
README.md - Transactional Email → Resend Email: sends messages
durrat_tarim/email_backend.py - Contact Form → Support Validation: validates submission
support/views.py - Contact Form → Support Tickets: creates tickets
support/views.py - Contact Form → User Accounts: checks account
support/views.py - Store Staff → Admin Dashboard: manages store
README.md - Admin Dashboard → Catalog Data: administers catalog
- Admin Dashboard → Support Tickets: manages tickets
- Store Theme Context → Catalog Data: loads store settings
durrat_tarim/context_processors.py - Store Theme Context → Request Middleware: checks indexing
durrat_tarim/context_processors.py - SEO Sitemaps → Catalog Data: lists catalog URLs
README.md - Catalog SEO Tags → Catalog Data: renders product metadata
catalog/templatetags/catalog_tags.py