This Django project, named Toy Shop, is an online web application that serves as a toy store. It includes features such as a blog for articles, a product catalog, a shopping basket for adding products, and a payment system for processing orders.
-
Blog Module: Allows users to read and explore articles categorized by different topics.
-
Product Module: Provides a product catalog with details such as product name, description, category, stock, and price.
-
Shopping Basket: Users can add products to their shopping basket for a seamless shopping experience.
-
Payment System: Integrates a payment system for users to complete their orders securely.
-
Clone the repository to your local machine.
git clone https://github.com/your-username/toy-shop.git
-
Install the required dependencies.
pip install -r requirements.txt
-
Apply migrations to set up the database.
python manage.py migrate
-
Create a superuser to access the Django admin panel.
python manage.py createsuperuser
Follow the prompts to create a superuser account.
-
Run the development server.
python manage.py runserver
The application will be accessible at http://localhost:8000/.
-
Access the Django admin panel to manage content.
-
Explore the main pages:
- Home: http://localhost:8000/
- Blog: http://localhost:8000/blog/
- Product Catalog: http://localhost:8000/product/product_list/
- Shopping Basket: http://localhost:8000/shopping_basket/view_cart/
- Payment: http://localhost:8000/peyment/
Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or create a pull request.
This project is licensed under the MIT License.