Re: Forms in django.contrib.auth have "username" as a hardcoded field value (patch included)

2017-12-26 Thread Tim Graham
The change looks reasonable. Please open a ticket and if you wish to create a pull request, also add a test. You may find the original commit that added that notice useful: https://github.com/django/django/commit/635ffc3c37d58eb96ae17d5389dd50bf635413c6 On Thursday, December 21, 2017 at 9:29:56

Re: Add Request Timeout on API level

2017-12-26 Thread Adam Johnson
There isn't a native request timeout in Django, however you can configure your hosting WSGI server (at least gunicorn and uWSGI) to have a request timeout, and indeed it's recommended. I'm not sure how hard it would be to implement this (reliably, for all cases and platforms) inside Django. On 26

Add Alias or annotations without group-by support?

2017-12-26 Thread Cristiano Coelho
Hello, I'm having a hard time explaining the exact issue but I hope it's clear enough. Following this issue (https://groups.google.com/forum/#!searchin/django-users/cristiano%7Csort:date/django-users/q6XdfyK29HA/TcE8oFitBQAJ) from django users and a related ticket (https://code.djangoproject

Add Request Timeout on API level

2017-12-26 Thread Pankhuri Agarwal
I would like to know if there is any django rest native method to add request timeouts at API level. Any api having request timeout set to x ms should return response {'status_code': 408, 'message': 'Request Timeout'} after x ms if no other response is returned till that time. -- You received

Re:

2017-12-26 Thread Adam Johnson
This mailing list is for the development of Django itself, not for support. Use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow. On 26 December 2017 at 00:01, Atef Ouerghi wrote: > I would like to retrieve the value of a field in ModelAdmin in or