Re: GSoC Proposal: (Migrations) Adapt schema editors to operate from model states instead of fake rendered models.

2021-04-04 Thread Manav Agarwal
Link for the proposal - https://gist.github.com/manav014/9b0feb734e4d140eef1913340602d2ae On Monday, April 5, 2021 at 8:41:32 AM UTC+5:30 Manav Agarwal wrote: > I have added the proposed solution in the proposal. > I request fellow developers to please help me with their respective > suggestio

Re: GSoC Proposal: (Migrations) Adapt schema editors to operate from model states instead of fake rendered models.

2021-04-04 Thread Manav Agarwal
I have added the proposed solution in the proposal. I request fellow developers to please help me with their respective suggestions, thoughts or feedback, so that I may develop a better and practical proposal. Regards, Manav Agarwal On Friday, April 2, 2021 at 3:09:46 AM UTC+5:30 Manav Agarwal

Re: GSOC Proposal: Adding Redis Cache Backend To Django Core.

2021-04-04 Thread Dan Davis
cache coherence can be a problem, but I am thinking more about what happens when the cache, which is supposed to make things faster, is not available due to error. Django ends up waiting for it. Each request waits for the cache, and this is a hard problem because there is no common shared place t

Re: Match i18n.set_language view next param / Referer header against ALLOWED_HOSTS

2021-04-04 Thread Le minaw
Thanks for your answer. I'll go point by point through it: Why would you not use subdomain.example.com/i18n/setlang to change the user's language? That seems like it would work. It would, but then the setlang view has to be routed to all subdomains.

Test fails silently when using --tag

2021-04-04 Thread Cammil Taank
Hi All, When I run tests using the --tag option, and there is a module level exception, the tests seem to pass without any errors. Steps to reproduce: 1. Add this to tests: from django.test import TestCase from django.test import tag assert 0 @tag('abc') class TempTest(TestCase): def test_

Re: Match i18n.set_language view next param / Referer header against ALLOWED_HOSTS

2021-04-04 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
> > For exemple, if a user changes language at subdomain.exemple.com/whatever, > by sending a POST request to exemple.com/i18n/setlang, it will be > redirected to exemple.com/. Why would you not use subdomain.example.com/i18n/setlang to change the user's language? That seems like it would work.

Google season of docs

2021-04-04 Thread Mhd Ali
Will Django be participating in Google season of docs this year? -- 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-de