An open API service indexing awesome lists of open source software.

https://github.com/sachnaror/django_filter

Django Product List with Filters
https://github.com/sachnaror/django_filter

django-filter filter

Last synced: 3 months ago
JSON representation

Django Product List with Filters

Awesome Lists containing this project

README

        

# Django Product List with Filters

This project demonstrates how to create a product list with filtering functionality using Django and django-filter.

## Prerequisites

- Python 3.12

## Installation

1. Clone the repository:
```bash
git clone https://github.com/sachnaror/django-product-filter.git
cd django-product-filter
```

2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```

3. Install the required packages:
```bash
pip install -r requirements.txt
```

4. Apply migrations and create a superuser:
```bash
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
```

5. Run the development server:
```bash
python manage.py runserver
```

## Project Structure

![alt text](image.png)

![alt text](image-3.png)

![alt text](image-2.png)