Yacht Shaver
Yacht Shaver
Did you figure this out? Would you like to make a pull request?
Is the forward_different_fields example working in the test_project for you ? It seems fine here, and it does have [some registerForwardHandler](https://github.com/yourlabs/django-autocomplete-light/blob/master/test_project/forward_different_fields/static/js_handlers.js). Does it work if you wrap your yl.registerForwardHandler in...
Agreed, do you want to make a pull request?
We're going to need a lot more context description than that
STATICFILES_DIRS are used to populate STATIC_ROOT, you should configure you server to serve STATIC_ROOT on STATIC_URL in production or use whitenoise. Also, why prefix your static files paths with assets/...
> the templates try to render something based on static files in {{STATIC_ROOT}}/admin/js/vendor/select2, but this folder does not exist Do you have django.contrib.admin in INSTALLED_APPS? Because the files are there:...
Do you have django.contrib.admin in INSTALLED_APPS? Because collectstatic will copy them from django.contrib.admin if you have that in INSTALLED_APPS
I think you don't need the Create function with taggit, because taggit will always create new tags.
Apparently not yet supported: https://github.com/yourlabs/django-autocomplete-light/blob/master/src/dal_select2/views.py#L150 Pull request welcome ;)
if you want to refactor the widget/view part, why not try @Guilouf's pattern with widgets that make views ? it's currently in the gfk widget: https://github.com/yourlabs/django-autocomplete-light/blob/master/src/dal_select2_queryset_sequence/fields.py#L24 https://github.com/yourlabs/django-autocomplete-light/blob/master/test_project/select2_generic_foreign_key/urls.py#L20 if you follow...