Posts by Lucas Gabriel • 60 points
8 posts
-
0
votes0
answers18
viewsQ: Error 404 when sending link
good afternoon my dear, I am having a problem here, I am using apache2 and nodejs for the development of a website, www.ecofotoextensaouniversitaria.eco.ufrj.br the site and its navigation works…
-
1
votes1
answer75
viewsQ: Return name instead of foreign key ID
I’m developing a Python system and wanted to return data from the specific database, only instead of the foreign key id I wanted to return the name of that person. The creation of tables:…
-
1
votes1
answer174
viewsQ: Query in array with mongodb
Good afternoon friends, I searched how to make a find inside an array in mongodb, looked at the documentation and so far in the forum and got no answer for my doubt. my array it does not contain…
-
0
votes2
answers87
viewsA: I do not understand the error None in this function
just like the friend said up there, you need to return a function. another way to "force the string" with : return ''.join(complement) you can return only:return str(complement)…
-
0
votes1
answer42
viewsA: Flask-Migrate in Factory Standard - App error not found
You’re forgetting to import the app in the files "main/app/Extensions/migrate.py" and "main/app/Extensions/dynaconf.py" in the first line of both you put from app import app…
-
0
votes1
answer93
viewsA: Function return
You can use the Flash, only import by flask itself from flask import Flask, flash in your route code you return this function to which the html will be ready to receive the message from flask import…
-
0
votes1
answer78
viewsA: Error 404 on second route using Flask
Try to remove the end bar and leave only '/Teacher' thus: @app.route('/teacher') def hello_teacher(): return 'Hey Teacher'…
-
1
votes2
answers765
viewsQ: Read file in previous python folder
so I’m wanting to save a python file in a folder previous to the one running the script ex:my script is in the /app/controllers/script.py directory i want to put the file I will create in the…