Re: Django project to run on nodes independently for data entry and sync with server when possible

2020-06-28 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing 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 t

Thanks for standing up against racism, xenophobia, and all other forms of inequality.

2020-06-28 Thread Bigdatamonk Inc.
Hello everyone, I know it's not an appropriate platform to discuss non-technical things. But I just noticed #BlackLivesMatter message on the Django website. And, I couldn't stop myself from shooting this mail to everyone in the community. The world is going through a very difficult time. We see i

Re: Defaulting to use BigAutoField in models

2020-06-28 Thread Tom Forbes
I spent some time last week experimenting with my patch, the biggest issue I could find was that under some situations we add explicit casts to array fields in Postgres based on the *expected* PK field type (i.e `WHERE [1,2,3]::int @> [1,2,3]::bigint`) which causes the query to be invalid. The

Django project to run on nodes independently for data entry and sync with server when possible

2020-06-28 Thread BRAJESH KUMAR
Hi, I am trying to develop a webpage which should be able to run based on a database (MySQL preferred) . the problem I am facing is to handle the situation at node computers where data entry is being done, if the internet is down, could it save a local copy of the database and allow to merge with t

Re: Making startproject's settings more 12-factor-y

2020-06-28 Thread Florian Apolloner
As promised the PR: https://github.com/django/django/pull/13120 I also had to touch TokenResetGenerator since it stores the secret in a class level variable and that would prevent the server startup either way… Let's see what the full test suite says, but I cannot really imagine many issues.

Re: Making startproject's settings more 12-factor-y

2020-06-28 Thread Florian Apolloner
On Sunday, June 28, 2020 at 1:23:25 AM UTC+2 timog...@gmail.com wrote: > It seems like it could be insecure to move that to a system check as "For > performance reasons, checks are not run as part of the WSGI stack that is > used in deployment." (Also, it seems impossible to write a system che