Comments (4)
Hi Justin, thank you very much for kind words. Would you mind to attach a screenshot?
from django-unfold.
I just checked the plugin and it seems that it is necessary to add a support for django-reversion and django-reversion-compare. I personally don't have any experience with any of these plugins so I was wondering that maybe you can help me with the implementation. Do you have time to prepare PR?
from django-unfold.
Hi Lukas,
Great thanks for your prompt reply. I'm so sorry for my delayed response. Been crazy busy lately.
Before giving you a simple yes or no, I might need to check with you about whether my guess is right.
So after reviewing the source code of django-admin at https://github.com/django/django/blob/stable/4.2.x/django/contrib/admin/, I learned that the history web page is based on the default template object_history.html, and it can be overridden either by specifying a modified template file under a ModelAdmin class, or by embedding that part into your or django-reversion-compare's code.
Actually, since you already provided a modified object_history template at https://github.com/unfoldadmin/django-unfold/blob/main/src/unfold/templates/admin/object_history.html, I may refer to the styling to make my own template files. And of course I will need to merge the django-reversion-compare code in to make sure the page displays correctly.
So, if my guess is right, my question is -- should I commit the code to django-reversion-compare instead? Cuz obviously its templates override yours to some extent and that messes up the styling.
Thanks again for your efforts on this great project!
Best Regards,
Justin
from django-unfold.
Hi Lukas,
I've submitted PR #90. Please have a look when you feel free. Happy to discuss further if any questions raised.
Cheers,
Justin
from django-unfold.
Related Issues (20)
- File upload Style broken? HOT 4
- Alpine CSP Expression Error HOT 3
- Import Form is not selecting the `format type` based on file extension HOT 1
- Blocks for other logins HOT 1
- Import Export Actions HOT 1
- Unfold filters not playing nice with standard django ones
- "length_is" template filter has been deprecated HOT 1
- Add support for django-rosetta
- Implementation of formfield_for_choice_field makes overriding choices clumsy
- First Action Row Hidden HOT 1
- Howto resize input and date fields in django-admin - make them shorter HOT 1
- StackedInline no space between records HOT 1
- WysiwygWidget Headers Not working HOT 2
- Recent actions icons are missing/not showing HOT 2
- header image circle displayed as oval instead of circle HOT 1
- Search results missed z-index HOT 1
- Incomplete display of actions_row in Django Admin when there's only one record HOT 2
- unexpected sizes for headers image in the list display
- suggestion: make the upload button fit the image
- Export style breaks when using Export only in Django import-export HOT 1
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-unfold.