Flask app not working
let me preface this by saying i'm not a programmer
i did a coding course a few years ago and built a web app with flask and django. I put all the files in my github and connected to railway. but i think it's not recognizing the flask files at all. anything with , for example, {% extends "[file].html" %} is completely ignored.
if you can explain me in simple terms thank you. i don't really understand any of this xD
ef6c4191-e8c8-46f3-9b4f-4f2a8842a940
10 Replies
Project ID:
ef6c4191-e8c8-46f3-9b4f-4f2a8842a940
Project ID:
ef6c4191-e8c8-46f3-9b4f-4f2a8842a940
I’m a bit confused, but happy to work you through your issue. Let’s start with logs. What step is your app failing at, build or deploy? can you send your logs?
and if public, please send your repo
please use this tool to retrieve your logs
https://bookmarklets.up.railway.app/log-downloader/
hello, thank you for your help
i used the tool on the link and i now have this
is this what you need?
about this, i will need to be less technical cause i don't totally know what "building" and "deploying" is
but you can see if i just show you what shows up once i click the url https://stupifier-production.up.railway.app/
you see how it doesn't look like it is suposed to? the site looks broken
my theory is that the django notation is not being recognized. I have multiple pages linked to the main template through things like "{% extends "[file].html" %} "
if it did recognize the code, the page would look and work like this: https://www.youtube.com/watch?v=LAYp67Ayl_8
Teresa Fernandes
YouTube
CS50 Final Project | Stupifier
The Stupifier is the search engine that only retrieves weird search results! The challenge is to guess what the original search was.
Can you beat The Stupifier?
Development and Design: Teresa Fernandes (Portugal)
2021
i'm sorry i can't be more specific, but i don't know the technical terms for this. i don't want to confuse you further
could you please share your github repo?
I wouldn’t say your app is fully broken per se, but it seems as though some of your styling or html is off.
so sorry for the late reply, discord didn't notify me at all
https://github.com/3afernandes/stupifier
maybe the course I took used some specific language or commands that railway can't understand? because in the course's IDE, it worked perfectly