Skip to content

Code example "How to Implement Dependent/Chained Dropdown List with Django"

License

Notifications You must be signed in to change notification settings

0xbaha/django-dependent-dropdown

Repository files navigation

Dependent Dropdown Example

Python Version Django Version

Example code about how to implement dependent dropdown lists with Django.

Dependent Dropdown Example Screenshot

Read the blog post How to Implement Dependent/Chained Dropdown List with Django.

This project is deployed at dependent-dropdown-example.herokuapp.com.

How to Start 🏠

Clone this project and open the folder.

git clone https://github.com/ba1x/django-dependent-dropdown.git
cd django-dependent-dropdown

Create and enter the Python environment.

python3 -m venv env     # create the python environment
. env/bin/activate      # enter to the environment

Install the requirements:

pip install -r requirements.txt

Migrate the database and run the webserver on PORT 3001.

./manage.py migrate         # start the project 
./manage.py runserver 3001  # run the webserver

License

The source code is released under the MIT License.

Credits

This work is forked from here.

About

Code example "How to Implement Dependent/Chained Dropdown List with Django"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published