R
Railway4mo ago
juano

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:
@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
No description
Jump to solution
10 Replies
Percy
Percy4mo ago
Project ID: d1670723-cd23-4dba-8939-102214d9dda8
juano
juano4mo ago
any clue? are this templates deprecated or do i need any extra step before using them
Brody
Brody4mo ago
please link to the templates you tried to deploy
juano
juano4mo ago
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.
juano
juano4mo ago
GitHub
GitHub - Grey-A/django-rest-starter
Contribute to Grey-A/django-rest-starter development by creating an account on GitHub.
Brody
Brody4mo ago
hmm yeah both those dont work, i'll look into the first one first
Solution
Brody
Brody4mo ago
@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
No description
Brody
Brody4mo ago
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?
Brody
Brody4mo ago
No description
juano
juano4mo ago
mmm interesting, I will try again
Want results from more Discord servers?
Add your server