Hi Igor, Most of my cases are for internal tools and grouping together unrelated tables as you just summarised. Some examples are,
- Writing text that can need to send out to clients by triggering a predefined email templates - Creating internal forms that should be saved to multiple tables or throw an error - Custom templates for showing unrelated & unrelated data While these can be done normally with templates, the key difference is these are internal pages and do not need to be super stylised. Performance is far more important than the UI. A minimal stylisation would be good enough is most cases. Being able to leverage admin widgets would improve task turnaround time and reduce frontend work to only client-facing logic. Vasanth MOHAN On Tue, 25 Oct 2022 at 14:10, Igor Margitich <des...@gmail.com> wrote: > Hi Vasanth, > > Can you ptovide an example when do you need generic admin view? I have > case where I need gather some information from different not directly > related tables. I have used > https://pypi.org/project/django-nonrelated-inlines/. Can't say it is > exactly what I need but seems it does the job. > Also sometimes I need action's intermediate page which is more then just > simple template. This is the case where would be nice to have CBV. Watch > this presentation to get some ideas about CBV actions > https://youtu.be/HJfPkbzcCJQ?t=1817. > > Best regards, > Ihor > > вт, 25 окт. 2022 г. в 11:22, Vasanth Mohan <vasanth93...@gmail.com>: > >> Hello, >> >> I'd like to gauge the general opinion of more experienced devs before >> starting on a project. >> >> I personally love the sheer flexibility that the django admin provides me >> to get started on the DB and manage the backend. I can add actions, filters >> and charts with just a few third-party apps. On top of that, permissions to >> control user access to everything. >> >> However, I find myself having to build a separate set of templates and >> view for internal use often as the admin is tightly tied to the DB. I find >> myself not being able to expose the admin as it requires too much >> customisation to be useful to tech & non-tech teams at the same time. >> Moreover, DB structure is not as intuitive to non-tech users. >> >> So I'd like to build a generic admin view that is not tied to the DB but >> can still leverage the widgets (tables, inputs, messages etc.) that Django >> offers. A set of tools to design custom pages like django-etc and design >> easy-to-customise top/sidebars >> >> My question to the reader is quite simple, is this something feasible ? >> Are all widgets tightly coupled and expect models to function ? Anything >> you believe that might trip me up? >> >> Thanks, >> Vaz >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django developers (Contributions to Django itself)" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-developers+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-developers/d6146414-c423-4f2a-b482-5eccb971f16cn%40googlegroups.com >> <https://groups.google.com/d/msgid/django-developers/d6146414-c423-4f2a-b482-5eccb971f16cn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django developers (Contributions to Django itself)" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-developers/yFJz4GPTJPo/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CAHi_fyv7QrWwpNOdyv8ZvOg%2B84mzTLKvrc-iYHjee8SQ6gPd%2Bg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-developers/CAHi_fyv7QrWwpNOdyv8ZvOg%2B84mzTLKvrc-iYHjee8SQ6gPd%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAOAVv_NQpKDOsEEYoGe13DyKWkb9Hm-VidrcLv%2BKrwbVQ30v1A%40mail.gmail.com.