Code example used in the tutorial "How to Implement Grouped Model Choice Field"
Clone or download
Latest commit a043677 Jan 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mysite Initial commit Jan 2, 2019
.gitignore Initial commit Jan 2, 2019
LICENSE Initial commit Jan 2, 2019
README.md Update README.md Jan 2, 2019
manage.py Initial commit Jan 2, 2019
requirements.txt Initial commit Jan 2, 2019

README.md

Django Grouped Choice Field Example

Python Version Django Version

Code example used in the tutorial How to Implement Grouped Model Choice Field.

Running the Project Locally

First, clone the repository to your local machine:

git clone https://github.com/sibtc/django-grouped-choice-field-example.git

Install the requirements:

pip install -r requirements.txt

Apply the migrations:

python manage.py migrate

Finally, run the development server:

python manage.py runserver

The site will be available at 127.0.0.1:8000.

License

The source code is released under the MIT License.