A return and exchange system to streamline the return and exchange process for ecommerce businesses, providing a seamless experience for customers and reducing operational headaches for the business using Django, Bootstrap
Define URLs for the views in "returns_exchanges/urls.py".
# In returns_exchanges/urls.py
from django.urls import path
from . import views
urlpatterns = [
path('signup/', views.signup, name='signup'),
path('login/', views.user_login, name='login'),
path('logout/', views.user_logout, name='logout'),
path('', views.dashboard, name='dashboard'),
path('return_exchange_request/<int:item_id>/', views.return_exchange_request, name='return_exchange_request'),
]
Include the app URLs in the main project urls.py.
# In ecommerce_project/urls.py
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('returns_exchanges.urls')),
]
Define URLs for the views in "returns_exchanges/urls.py".
Include the app URLs in the main project
urls.py
.