Questions tagged [django-smart-selects]
36 questions
0
votes
0 answers
Error: 'bool' object has no attribute 'startswith' when I use django-smart-select
I recieved the error bool object has no attribute startswith when I changed two fields in model Location. I tried to use django-smart-select.(ChainedForeignKey)
from smart_selects.db_fields import ChainedForeignKey
class…

delka
- 33
- 7
0
votes
1 answer
Django material with django smart select error
I'm using django smart select and django material in a project and getting 'NoneType' object is not subscriptable from the page admin\templates\material\fields\django_relatedfieldwidgetwrapper.html which contains
{% load material_form…

Russell
- 1,624
- 5
- 23
- 43
0
votes
1 answer
django smart_select app organization
I have three mysql tables without pk’s assigned, table A contains unique names, B contains distinct names and value 1 (longer than table 1), and table C is distinct values of names, value 1 and value 2 (longer than table B). I am struggling to…

valearner
- 587
- 2
- 7
- 14
0
votes
2 answers
django smart-selects ajax configuration
So I have finally implemented smart-selects (https://github.com/digi604/django-smart-selects) on the admin side, but now when I try to get the actual filters to work on the user side, the filters don't work. I've tried to research a solution to…

led4966
- 49
- 6
0
votes
1 answer
Form works in Admin correctly but not in Template
I'm trying to use Django-smart-selects which should allow you to create chained forms.
So I've decided to try it on a simple example before adding to my project. The problem is that it works correctly in Admin but it does not work in template…

Flight HighLight
- 3
- 2
0
votes
1 answer
Issue with django smart_selects app
I am using django smart_selects app for a use case suitable to chained foreign keys. But somehow it just isn't working.
I have the app folder in my project directory, have included the necessary changes in my urls.py and ran a collectstatic as well.…

Chetan
- 1,724
- 2
- 14
- 18