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

https://github.com/benmaier/example-crud-select2

Using select2 asynchronously in both create and update like you would do in django-admin
https://github.com/benmaier/example-crud-select2

Last synced: 2 months ago
JSON representation

Using select2 asynchronously in both create and update like you would do in django-admin

Awesome Lists containing this project

README

        

#Example-CRUD for django\_select2

This is a minimal example to display how to use select2 with generic update/create views.

## Prerequisites

Install dependencies

In the repository folder, do

```bash
python -m venv env
source env/bin/activate
pip install -r requirements.txt
```

## Run Server

```bash
make runserver
```

## Usage

locate to

* http://localhost:8000/institution/create
* http://localhost:8000/institution/update/1
* http://localhost:8000/geoname/create
* http://localhost:8000/geoname/update/2