-
Notifications
You must be signed in to change notification settings - Fork 80
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
nested.js? #2
Comments
Despite all the other myriad problems I seem to have, I haven't run into this. Do you have more specifics? Might you have just not added the app to installed apps? |
I'm having the same problem back here. I can run the code and access the admin code, but it fails to load nested.js I can't manage to have the '+' button to add new instances of objects, don't know if this has something to do with not being available to load this JavaScript file. Thank you for attending the issue ;-) |
Definitely, a nested.js file is missing in the static/admin/js folder, which is in charge of defining the 'stackedFormset' and 'tabularFormset' methods. Are you intending to solve the bug soon? Thank you for caring |
You can hotfix this by overriding the template admin and css and creating the Refer to https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates to know how to set and override 3rd party statics / templates. |
@laucia, can you explain what you mean about overriding the template admin and css? I ran Thanks! |
I have a 3rd_party/static/admin in my project and copied it in a js subdirectorie but yeah basically i did the same. |
After installing your app, I get a 404 for http://(mywebsite)/media/admin/js/nested.js
I also get about 12 of these messages in the js console:
TypeError: Object # has no method 'tabularFormset'
Could these errors be due to the fact that your .js file is named inline.js instead of nested.js?
The text was updated successfully, but these errors were encountered: