purelabs / django-bulk-admin Goto Github PK
View Code? Open in Web Editor NEWDjango bulk admin enables you to bulk add, bulk edit, bulk upload and bulk select in django admin.
License: BSD 3-Clause "New" or "Revised" License
Django bulk admin enables you to bulk add, bulk edit, bulk upload and bulk select in django admin.
License: BSD 3-Clause "New" or "Revised" License
I tried to use the django2.0 branch, but it won't work with django 2.1.
Exception Value: | 'adminform'
/home/.../python3.7/site-packages/django/contrib/admin/options.py in render_change_form, line 1140
In Django 2.1, this render_change_form method has this line, which is not there in Django 2.0.
'has_file_field': context['adminform'].form.is_multipart() or any(
admin_formset.formset.form().is_multipart()
We might need to update how we render context
in admin.py
before
return self.render_change_form(request, context, add=True, change=False, obj=None, form_url=form_url)
Fails with the following warning:
Form submission canceled because the form is not connected
This is due to a spec change enforced in Chrome v56 which requires that a form must be included in the document before it can be submitted.
This can be fixed with a simple one line change to bulk.js
appending the form to the document body prior to submission.
E.g.
$(document.body).append($form);
$form.submit();
If you requested to save and add more bulk items you are redirected to standard add page instead of bulk add.
bulk_admin/admin.py:214
In line 8, the import statement is obsolete now.
Tried to change widget.
Settings raw_id_fields
in ModelAdmin
is not affecting the bulk create page forms.
I applied the changes made in pull request #13 and it is working in django 2.2. Now the problem is that the exclude or fields option is not working and the page is displaying all the fields of the model. I want to know if there is a workaround for that.
Hello, I've found that there's a problem related to admin changelist view, the checkbox to mark or toggle all checkboxes is not working at django 2.0
media._js.extend([static('bulk_admin/js/bulk.js')])
instead of media.add_js
is the solution at media property at line 314 at BulkModelAdmin
class
Thanks
this is a great project, but unfortunately it's not compatible with Django 2.0.5. could you modify it so it will work on Django 2?
the error is : ModuleNotFoundError: No module named 'django.core.urlresolvers'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.