/qs-filter-django

Django guide for implementing "Filtering queryset dynamically"

Primary LanguagePython

Django guide for implementing "Filtering queryset dynamically"

This is the example project for implementing "Filtering queryset dynamically in django".

Guide link:

Installation guide

  • Clone repository

    git clone https://github.com/krazygaurav/filter_qs_django

  • cd to repository.

  • Create a virtualenv by following command

    • For Linux/Mac

      virtualenv -p python3 .venv

    • For Windows

      virtualenv .venv

  • Activate virtualenv

    • For Linux/Mac

      source .venv/bin/activate

    • For Windows

      .venv\Scripts\activate

  • Install required packages

    • For Linux/Mac

      pip3 install -r requirements.txt

    • For Windows

      pip install -r requirements.txt

  • cd to src and run the server

    • For Linux/Mac

      python3 manage.py runserver

    • For Windows

      python manage.py runserver