How aleem-ghafoor/storefront works
Django Storefront is an in-development e-commerce site; the implemented user-facing workflow is account registration or login, followed by a redirect to the home page, with logout available to authenticated users. Authentication forms validate registration data and use Django’s built-in user and authentication facilities. Product, collection, cart, order, customer, tag, and search features are documented as planned, not implemented in the sampled code. The routing and authentication links are supported by excerpts; planned feature nodes reflect README scope only.
Main entry points: stroefront/urls.py Project Routes · views.py Account Views · accounts/urls.py Account Routes · form.py Account Forms
Components 14
Request Routing
- Project Routes
stroefront/urls.py - Home Page
templates/home.html - Account Routes
accounts/urls.py
Account Authentication
- Account Views
accounts/views.py - Account Forms
accounts/form.py - Django Auth
- SQLite User Store
stroefront/settings.py
Planned Commerce
- Product Management
- Collections
- Customer Management
- Shopping Cart
- Order Management
- Tags and Search
Other components
- Visitor
Connections 8
- Visitor → Project Routes: requests page
stroefront/urls.py - Project Routes → Home Page: serves home
stroefront/urls.py - Project Routes → Account Routes: includes routes
stroefront/urls.py - Account Routes → Account Views: routes requests
accounts/urls.py - Account Views → Account Forms: validates input
accounts/views.py - Account Views → Django Auth: logs in or out
accounts/views.py - Account Forms → Django Auth: extends auth forms
accounts/form.py - Django Auth → SQLite User Store: uses user data
README.md