Comments (5)
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.
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.
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.
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.
Yeah I take back what I said. Accepted.
from django-mass-edit.
Related Issues (20)
- It should not list excluded fields as read only or unique
- Using the provided mixin for enabling specific models, don't work if are custom actions declared. HOT 1
- Compatibility with djangoadmin_reorder
- Fix warning RemovedInDjango41Warning HOT 3
- Some items return "Not Found" while others still work, no errors reported HOT 2
- Unable to save after changes HOT 2
- Incorrect quatation of special characters in string primary keys
- Add copy / save as new option HOT 1
- Is this project alive? HOT 2
- Custom change form template breaks mass edit HOT 4
- KeyError 'has_view_permission' during template rendering HOT 5
- Incompatibility with custom AdminSite overriding each_context
- Wrong import statement in README HOT 1
- Custom Admin: Mass edit not working due to bad reverse HOT 2
- Use of session-based URLs? HOT 4
- Can queryset.update be used instead of forms?
- Update version on pypi HOT 2
- Request to add a confirmation page on Save
- Error with 3.3.0 release using Django 1.11 HOT 2
- Django 4.0 Support HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-mass-edit.