Re: dynamically added INSTALLED_APPS

2023-02-20 Thread Christian González
Am 20.02.23 um 14:23 schrieb Jacob Rief: Isn't it a bit dangerous to auto-add a package from PyPI to a running Django installation? That module then gains full database access and could do all kind of nasty stuff. Maybe I am a bit naive here, but 3rd party packages sometimes get installed incau

Re: Model icons

2023-02-20 Thread Marty
I really like the idea to add just a simple 'icon' attribute. That's quite elegant solution. Thanks, Mark! 🙂 On Monday, February 20, 2023 at 2:33:43 PM UTC+1 Jacob Rief wrote: > I agree with Adam Johnson that adding HTML to the model class is a bit too > coupled. > But I like the idea of Mark N

Re: [Ticket #24686] Support for Moving a Model between two Django Apps - Implementation Approach Feedback

2023-02-20 Thread Durval Carvalho
Since my last post, I've discovered that the current implementation only handles simple ForeignKeys and not more complex cases like ManyToManyFields. This is beca

Re: Model icons

2023-02-20 Thread Jacob Rief
I agree with Adam Johnson that adding HTML to the model class is a bit too coupled. But I like the idea of Mark Niehues to add them to the ModelAdmin class, although I would allow a HTML/SVG snippet rather than a CSS class. - How would we then handle 3rd party apps providing their own SVG fil

Re: dynamically added INSTALLED_APPS

2023-02-20 Thread Jacob Rief
Isn't it a bit dangerous to auto-add a package from PyPI to a running Django installation? That module then gains full database access and could do all kind of nasty stuff. Maybe I am a bit naive here, but 3rd party packages sometimes get installed incautiously. – Jacob -- You received this me

Re: Fellow Reports - February 2023

2023-02-20 Thread Mariusz Felisiak
Week ending February 19, 2023 *Triaged: * https://code.djangoproject.com/ticket/34332 - Migrations for fields with model-referencing defaults break later (needsinfo) https://code.djangoproject.com/ticket/34335 - Spurious error when using label_tag of CheckboxSelectMultiple widget (wontfi

dynamically added INSTALLED_APPS

2023-02-20 Thread Christian González
Hi devs, I am still evolving my GDAPS plugin system for Django (which works well here), and try to overcome some shortcomings of Django that is not really easy so solve, like dynamically added INSTALLED_APPS. Given the need that a plugin that is installed/found via setuptools/entry point (li

Django 4.2 beta 1 released

2023-02-20 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/feb/20/django-42-beta-1-released/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou