Re: Fellow Reports - September 2019

2019-09-16 Thread Mariusz Felisiak
Week ending September 15, 2019. Added https://code.djangoproject.com/wiki/Version3.1Roadmap. *Triaged:* https://code.djangoproject.com/ticket/30768 - django.forms.boundfield.as_widget() causes an exception when used. (invalid) https://code.djangoproject.com/ticket/19528 - CachedFilesMixin does n

distinct on fields is not supported by this database backend sqlite3

2019-09-16 Thread raju m
Is there any way to use distinct on sqlite3. Early response will be appreciated -- 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 em

Re: Request to reconsider ticket #27910: using an Enum class in model Field choices

2019-09-16 Thread Fernando Macedo
Hi everyone, I come late to the party and only noticed that Django now has support for enums on the 3.0 release notes. As I'm not a core developer I never imagined this. I've wrote a lib that does something similar in mid-2018: https://github.com/loggi/python-choicesenum There's one main diff

Re: distinct on fields is not supported by this database backend sqlite3

2019-09-16 Thread neeraj garg
Please visit this: https://stackoverflow.com/questions/12262923/django-query-to-filter-and-distinct On Mon, Sep 16, 2019, 8:36 PM raju m wrote: > Is there any way to use distinct on sqlite3. > > > Early response will be appreciated > > -- > You received this message because you are subscribed t

Re: distinct on fields is not supported by this database backend sqlite3

2019-09-16 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer yo

Possible AuthenticationForm Max Length Regression in Django 2.1?

2019-09-16 Thread cbodend...@live.com
I had posted this in the Django Forums, but I was told to repost here. The link to the forum post is below. The tl;dr is: Was it intentional to remove the max length HTML form validation from the AuthenticationForm in Django 2.1, or is it a regression? https://forum.djangoproject.com/t/possible-

Re: Possible AuthenticationForm Max Length Regression in Django 2.1?

2019-09-16 Thread Mariusz Felisiak
Thanks for the report. Previously AuthenticationForm's username field had "max_length" always set to 254, currently it should use "max_length" from the model's username field (see https://code.djangoproject.com/ticket/27515 and https://github.com/django/django/commit/5ceaf14686ce626404afb6a5fbd