Re: Integrate dj-database-url into Django

2018-07-28 Thread Luke Murphy
I'd love to see native dj-database-url support in Django. I suppose it would have to support all the back-ends, no? It might lead to confusion otherwise. On 0, gw...@fusionbox.com wrote: I'd like to approach this as 'support database urls in django', rather than 'copy/paste dj-database-url

Re: Integrate dj-database-url into Django

2018-07-28 Thread Maciej UrbaƄski
I would agree that DSN support seems like a nicer alternative to just copying dj-database-url, because it not only focuses on 12factor configuration in enviroment variables, but also enables some additional flexibility for the database connection option passing. As for 12factor, I think https:/

Re: Integrate dj-database-url into Django

2018-07-28 Thread Tom Forbes
So in the PR I proposed I only bits I took verbatim from dj-database-url are the tests. The rest is re-implemented. I think it's a pretty good POC but I haven't touched it in a while. In any case we have to implement our own parsing for backends that do not support passing in a URL to the connecti

Re: Fellow Reports - July 2018

2018-07-28 Thread Tim Graham
Week ending July 28, 2018 Triaged --- https://code.djangoproject.com/ticket/29595 - Allow using timedelta in migrations questioner (accepted) https://code.djangoproject.com/ticket/29603 - dumpdata shouldn't use allow_migrate_model (duplicate) https://code.djangoproject.com/ticket/29605