Skip to main content

r/flask


Help with Flask webpage
Help with Flask webpage
Show and Tell

Hola. Estoy haciendo mi primer proyecto de python (con Flask, SQLite y blueprint). Es una app de administrar de pacientes (citar pacientes y eso)

Estoy en la primera fase. Tengo el código inicial pero tengo un problema que no he podido resolver. Cuando estoy en el auth y pongo la contraseña bien no redirecciona al blueprint Main. Subi el proyecto a Github por si alguien puede ayudarme a ver cuál es el problema. Gracias

https://github.com/rodricastt20/AdminV2


Advertisement: ICYMI: The all-new, perfectly-shaped screen of Galaxy Z Fold8 is the GOAT for watching the game. Make the switch and score yours today.
ICYMI: The all-new, perfectly-shaped screen of Galaxy Z Fold8 is the GOAT for watching the game. Make the switch and score yours today.
media poster


Flask Synchronization Issue Concerning Database Entries
Flask Synchronization Issue Concerning Database Entries
Ask r/Flask
Flask Synchronization Issue Concerning Database Entries

I have been making a Markdown blog using Flask over the last couple of weeks. Lately, I have decided that I want to add the possibility of leaving comments below a blog post. Therefore, I need to add my blog posts to a database so that I can link the comments left behind to the relevant blog posts. My blog posts are rendered statically using Flask-Flatpages.

I have thought about the database model for a singular post. I want to keep it simple at first; thus, I was considering adding an ID, title, and path field. The problem I am experiencing is how to add the files to my database and how to keep the database entries synchronized with the static files in my posts directory. Does anyone have any ideas how I should tackle this issue?


Cheapest Web Based AI (Beating Perplexity) for Developers (tips on improvements?)
Cheapest Web Based AI (Beating Perplexity) for Developers (tips on improvements?)
Show and Tell

I made the cheapest web based ai with amazing accuracy and cheapest price of 3.5$ per 1000 queries compared to 5-12$ on perplexity, while beating perplexity on the simpleQA with 82% and getting 95+% on general query questions

For devaloper or people with creative web ideas

I am a solo dev, so any advice on advertisement or improvements on this api would be greatly appreciated

miapi.uk

if you need any help or have feedback free feel to msg me.