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
Percy
Percy11mo ago
Project ID: ef6c4191-e8c8-46f3-9b4f-4f2a8842a940
Percy
Percy11mo ago
Project ID: ef6c4191-e8c8-46f3-9b4f-4f2a8842a940
Adam
Adam11mo ago
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/
beatmonster_
beatmonster_OP11mo ago
hello, thank you for your help
beatmonster_
beatmonster_OP11mo ago
i used the tool on the link and i now have this
beatmonster_
beatmonster_OP11mo ago
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" %} "
beatmonster_
beatmonster_OP11mo ago
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
beatmonster_
beatmonster_OP11mo ago
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
Adam
Adam11mo ago
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.
beatmonster_
beatmonster_OP10mo ago
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
Want results from more Discord servers?
Add your server