Giter VIP home page Giter VIP logo

Comments (7)

lsmith77 avatar lsmith77 commented on May 31, 2024

Possible fix would be

{% extends "admin/change_list.html" %}

{% block object-tools-items %}
{% if has_add_permission %}
{{ block.super }}
{% endif %}
{% endblock %}

from django-import-export.

matthewhegarty avatar matthewhegarty commented on May 31, 2024

Have you tried with v4 beta? I haven't tested but there have been some changes which might help. Would be happy to review a PR if you are able to submit.

from django-import-export.

lsmith77 avatar lsmith77 commented on May 31, 2024

I have not but I suspect it should have the same issue as the relevant template remains unchanged:
https://github.com/django-import-export/django-import-export/blob/release-4/import_export/templates/admin/import_export/change_list.html

Note I can fix it by overriding the template with the above suggested code.

from django-import-export.

matthewhegarty avatar matthewhegarty commented on May 31, 2024

Is it possible you can supply me with steps to reproduce using the example app? I tried but couldn't get Grappelli working. If you can help me reproduce the issue I will take a look.

from django-import-export.

lsmith77 avatar lsmith77 commented on May 31, 2024

thank you for reaching out. I am currently not persuing the topic anymore. Note I just checked my commit when I added grappelli to my project and I don't see anything fancy I needed to do.

As for the example app. I am still a bit new to python but the setup is not clear to me at all.

from django-import-export.

matthewhegarty avatar matthewhegarty commented on May 31, 2024

No problem, thanks for reporting the issue. I'll keep it open for now, and take another look when I get a chance.

from django-import-export.

matthewhegarty avatar matthewhegarty commented on May 31, 2024

Closing - no further progress.

from django-import-export.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.