Python Forum
got some problem with flask signup form.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
got some problem with flask signup form.
#2
Hi. Did you migrate your models?

# db_migrate.py
from app import db, create_app

db.create_all(app=create_app())
I have a python file like below to create databases and its tables.

You should use factory methods.

Flask Factory Methods
Reply


Messages In This Thread
RE: got some problem with flask signup form. - by aligoren - Aug-30-2019, 06:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Flask: editing a submitted form test 1 1,762 Jun-07-2022, 10:37 AM
Last Post: test
  Flask Basics request.form ifigazsi 0 1,811 Feb-09-2021, 09:05 AM
Last Post: ifigazsi
  Flask request.form ifigazsi 2 3,749 Feb-02-2021, 11:56 AM
Last Post: buran
  problem with the return of flask loutsi 4 2,117 Jun-04-2020, 08:12 AM
Last Post: loutsi
  Simple flask rest api problem cancerboi 4 2,837 Jan-29-2020, 03:10 PM
Last Post: brighteningeyes
  form.populate_obj problem "object has no attribute translate" pascale 0 3,663 Jun-12-2019, 07:30 PM
Last Post: pascale
  how i save the html form to flask database mebaysan 1 7,314 Feb-07-2019, 12:56 AM
Last Post: snippsat
  Django allauth saving custom user profile fields with signup form prithvi 1 10,521 Aug-08-2017, 03:51 PM
Last Post: prithvi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020