STATICFILES_STORAGE/STORAGES are mutually exclusive

2023-09-03 Thread Malik Rumi
I am getting this error, consistently and repeatedly, despite having taken the old STATICFILES_STORAGE setting out of my settings.py. I have been looking for a solution, and the source of this problem. I was at the Django repo on Github just now, looking at django/conf/global_settings.py, when

Re: Change data in DB before migrating

2023-09-03 Thread David Nugent
Yes, this is certainly possible. Migrations are just python scripts that follow a specific protocol/api that is detailed in the excellent django documentation. You can insert your own hand crafted migrations to handle many cases that can cater for a variety of use cases. i would suggest though an

Change data in DB before migrating

2023-09-03 Thread sebasti...@gmail.com
Hallo, sometimes it exists the problem that i change a field to another fieldtype then i want for example to move existing data in column to another column before migration of this field are running. Is there a possibility to execute a script before a field through migration are running? Regar

Error when trying to implement google Oauth sign in using react and django

2023-09-03 Thread david ekechukwu
I am using React and Django to implement an OAuth Google login, however whenever I send the request, I receive the access denied error. I am handling the request in the backend using the drf-Social-Oauth2 library. {"error":"access_denied","error_description":"Your credentials aren't allowed"}pat