Malay
Malay
RRailway
Created by Malay on 10/22/2023 in #✋|help
Celery worker is not getting connected with Redis broker.
No description
144 replies
RRailway
Created by Malay on 10/2/2023 in #✋|help
non_field_errors: ["State could not be found in server-side session data."]
I have deployed my django rest framework app on Railway. I'm using djoser with social-auth-app-django. My app works on local host. But I'm getting above error when I make post request to /auth/o/google-oauth2/?state=''..."&code=''..." after getting state and code from google authorization url.
56 replies
RRailway
Created by Malay on 9/27/2023 in #✋|help
How to connnect postgres to a djanog app?
I have already added DATABASE_URL to the environment vatiables. CMD python manage.py collectstatic --noinput && gunicorn core.wsgi:application && python manage.py migrate python manage.py migrate does not create the required tables in the connnected database.
58 replies
RRailway
Created by Malay on 9/27/2023 in #✋|help
Deployment Failed during build process
3 | >>> RUN python manage.py collectstatic 25 | CMD ["gunicorn", "core.wsgi:application"] ERROR: failed to solve: process "/bin/sh -c python manage.py collectstatic" did not complete successfully: exit code: 1 my staicfiles setings: STATIC_URL = '/static/' STATIC_ROOT = path.join(BASE_DIR, 'staticfiles') STATICFILES_DIRS = ( path.join(BASE_DIR, 'static'), )
31 replies