This project demonstrates how to create a product list with filtering functionality using Django and django-filter.
- Python 3.12
-
Clone the repository:
git clone https://github.com/sachnaror/django-product-filter.git cd django-product-filter
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations and create a superuser:
python manage.py makemigrations python manage.py migrate python manage.py createsuperuser
-
Run the development server:
python manage.py runserver