News for hackers. Stuff that matters.
Re:Django 2.1 released by theptip on Wednesday August 01, 2018 @11:21AM (#17663289)
Read-only model views are a great addition to the Django admin -- I've been watching that PR for a long time, glad to see it land.

This will make it a lot easier to build internal admin dashboards that are safe to share with non-privileged users like support staff.

Re:Django 2.1 released by keshab on Wednesday August 01, 2018 @11:32AM (#17663420)
I have seen a bastardized version of Django admin used as a quite sophisticated dashboard. This new addition will make it even easier to hack together things like that in a very short time.
Re:Django 2.1 released by paganel on Wednesday August 01, 2018 @02:04PM (#17665140)
One of my first Django projects was to “bastardize” its admin into a Lead/Opportunity management system for a mortgage broker, back in the version 0.96 days. I know that monkey-patching is now frowned upon and reguarded as “the work of the devil” but it really helped me get the job done for that project in a pretty reasonable amount of time. I hope dynamic programming makes a come-back.
Re:Django 2.1 released by dopeboy on Wednesday August 01, 2018 @01:11PM (#17664506)
This is a surprisingly pretty common practice. I know people, even at Google, who want the ease of CMS but additional control.
Re:Django 2.1 released by mrfusion on Wednesday August 01, 2018 @12:19PM (#17663932)
There were always ways to get read only in the admin. Just not nicely. It shouldn’t have been holding you back though.
Re:Django 2.1 released by CJST_ on Wednesday August 01, 2018 @02:57PM (#17665777)
I've been looking forward to this as well. A lot of developers underestimate the time it takes to build CMS and resource dashboards (even small ones).