jazzband / django-smart-selects

chained and grouped selects for django forms
https://django-smart-selects.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.13k stars 352 forks source link

Smart Select doesn't show me anything #114

Closed SalahAdDin closed 7 years ago

SalahAdDin commented 8 years ago

Hi guys? I have the next problem, i'm update django-smart-selects and now it doesn't works.

I don't know why, at first, i think that problem was django-jet: mozilla firefox_047 I have a chained foreingkey between affiliates withg membership through entity's name. I select a Entity and Membership field doesn't load anything. mozilla firefox_050 First, if i don't put USE_DJANGO_JQUERY = False i haven't any jquery load file, yes, i haven't now jquery and i think i won't put jquery in admin/js, will be great put a custom jquery file path. mozilla firefox_051 Ok, i put USE_DJANGO_JQUERY = False and this load a Google CDN jquery, but, wrong version. I have these problem and i don't understand which warning is. mozilla firefox_052 Ok, i put the newest jquery Google CDN link and nothing errors but, can you see any estrange here? Oh yeah, anything, memberships fields load nothing. Why? mozilla firefox_053 You can think, there aren't any membership with juridical entity type, isn't, as you can see.

You can think, it's a problem from django-jet, good, i though this and i test without django-jet: add affiliate django site admin - mozilla firefox_048 I test each one of the previous steps and i have the same problems.

So, i don't know why happen this if with previous django-smart-selects versions i hadn't problems. And, i haven't idea for what do, because, as you can see, i haven't any errors in firefox console, so, i'm lost.

System check identified no issues (0 silenced).
February 02, 2016 - 22:56:01
Django version 1.9.2, using settings 'ccct.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Django info.

Thank you for your help

PD: Where are Form's build docs? I have do anything for use smart_selects in forms?

Anyone have problem with the actual version?

@jimmykobe1171 What's about this?

jimmykobe1171 commented 8 years ago

@SalahAdDin could you have a try on the version of branch master? I have fixed some Jquery issues on Django 1.9.

blag commented 8 years ago

@SalahAdDin Please test against master.

blag commented 7 years ago

Version 1.2.6 - which was released on PyPI a few days ago - fixed a few issues with no results being returned and a previous released version allowed for disabling automatically loading jQuery (use USE_DJANGO_JQUERY = None and load jQuery yourself for that - see the updated README for more).

I'm going to close this because I suspect that both issues are now fixed, but feel free to reopen if they aren't fixed in version 1.2.6 or the master branch on GitHub. Thanks!

SalahAdDin commented 7 years ago

Ok, thank you!