This is a full-featured e-commerce application built using Python and Django. The store includes user authentication, product browsing, cart management, order processing, and email notifications. The application keeps a record of all previous orders, allowing users to track their purchase history.
- User Authentication: Secure sign-up and login forms.
- Product Management: Browse, search, and view product details.
- Cart Management: Add, remove, and update items in the shopping cart.
- Order Processing: Place orders and receive email notifications.
- Order History: View previous orders and their details.
- Email Handling: Send order confirmation and status updates via email.
-
Clone the repository:
git clone https://github.com/your-username/django-ecommerce-store.git cd django-ecommerce-store -
Install the Django:
pip install django
-
Go to directory: Go to the directory where manage.py file exists.
-
Apply the migrations:
python manage.py migrate
-
Create a superuser for accessing the Django admin panel:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the application at
http://127.0.0.1:8000/.
To configure email handling, add your email settings to the settings.py file:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.example.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'your-email@example.com'
EMAIL_HOST_PASSWORD = 'your-email-password'