can anybody post the simplest possible example for django-ajax-selects ? Just one model with a field and a form that can be used to select instances of this model based on that field (not in admin but in a user form).
I tried reading the documentation of the project but found it very difficult to understand… Also, I was not able to make the Example App work (coudln’t find out what is a Label ???) 🙁
Also, if you believe that there is an easiest solution than django-ajax-selects please tell me.
Thank you!
Here is a simple example (from the example on github but not tested):
models.py:
forms.py:
lookups.py:
settings.py:
views.py:
urls.py: