Giter VIP home page Giter VIP logo

Comments (5)

bufke avatar bufke commented on August 16, 2024

Interesting. Is this to make the links show in the admin change view?

Not sure we can support every use case and this seems a bit hacky. Perhaps we could more generically catch fields that can't be displayed and show a Warning for just that field.

from django-mass-edit.

kennknowles avatar kennknowles commented on August 16, 2024

If there is a different way to do this that is not hacky, I would love to use it. I thought this was basically the expected way to add derived read only fields to an admin. Can you suggest an alternative?

from django-mass-edit.

bufke avatar bufke commented on August 16, 2024

Could you use object tools to add links?

In any case better error handling would be good. Maybe you can submit a pull request?

readonly_fields are supported but it freaks out in your case for some reason.

from django-mass-edit.

PetrDlouhy avatar PetrDlouhy commented on August 16, 2024

I don't think, that it is hacky at all, since it is mentioned in the docs. Plus there seems to be one-liner that fixes this issue: pull request #26.

from django-mass-edit.

bufke avatar bufke commented on August 16, 2024

Yeah I take back what I said. Accepted.

from django-mass-edit.

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.