Default Django and django-rest templates crashes at initialization
I am trying to find some packed solution to make a django backend trough rest API. But I couldnt use the templates above because I received crashes errors
Django template: SystemError: initialization of _psycopg raised unreported exception
Django-rest template: django.db.utils.OperationalError: connection to server at "viaduct.proxy.rlwy.net" (35.212.174.161), port 10865 failed: server closed the connection unexpectedly
Project id: d1670723-cd23-4dba-8939-102214d9dda8
Solution:Jump to solution
@juano - update, first template working now, will look at whats wrong with the second template, but the most i could do for it would be to submit a pr to the repo since i dont have access to the repo it deploys from
10 Replies
Project ID:
d1670723-cd23-4dba-8939-102214d9dda8
any clue? are this templates deprecated or do i need any extra step before using them
please link to the templates you tried to deploy
GitHub
GitHub - railwayapp-templates/django: 1-Click Django on Railway
1-Click Django on Railway. Contribute to railwayapp-templates/django development by creating an account on GitHub.
GitHub
GitHub - Grey-A/django-rest-starter
Contribute to Grey-A/django-rest-starter development by creating an account on GitHub.
hmm yeah both those dont work, i'll look into the first one first
Solution
@juano - update, first template working now, will look at whats wrong with the second template, but the most i could do for it would be to submit a pr to the repo since i dont have access to the repo it deploys from
i was only going off of the success score for the second template and assumed it didnt work, but i just deployed it and it worked fine?
mmm interesting, I will try again