-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Ajax-Search on Media-Fields #60
Comments
which django are you using ? |
Hi, thanks for the quick reply, and I apologize for not providing more details. I use Django 1.5.5 I am using it inside the admin.py only at the moment. So I do not create any forms but built it likewise your example:
code in settings.py and lookups.py is also basically similar to your example, it works for all other lookup channels but for the one called 'media'. I also tried renaming it, but it that changed nothing. :-(
|
Hi, I found something out: It works for model_fieldnames that are not called 'media'. This Admin works without a problem after I Disable the 'media'-field in the Admin View:
Update: |
As per your pull request I disabled the setting for attributes on the form field. Normal usage of form fields does not depend on that. There is a chance that this breaks somebody's code, but that would be only because they were rendering the form themselves and referring to fields by form.fieldname |
Hi,
I've got an Issue if I try to use django-ajax-selects on a media-field.
Django breaks with following stack-trace:
I found a fix for this issue in the old Bugtracking on google code( https://code.google.com/p/django-ajax-selects/issues/detail?id=80) , but though it works I am not totally happy with it and still do not thoroughly understand the underlying problem.
Also I would not be surprised, if this issue is in my code and I'm kind of 'holding it wrong' :-(
cheers,
nfoonf
The text was updated successfully, but these errors were encountered: