Feat: Home and Contact pages setup with Altcha bot protection and saving to database using alterntive layout.
This commit is contained in:
2
app.py
2
app.py
@@ -27,6 +27,7 @@ from controllers.dog.dog_command_link import routes_dog_dog_command_link
|
||||
from controllers.dog.home import routes_dog_home
|
||||
from controllers.dog.location import routes_dog_location
|
||||
from controllers.core.home import routes_core_home
|
||||
from controllers.core.contact import routes_core_contact
|
||||
from controllers.legal.legal import routes_legal
|
||||
from controllers.user.user import routes_user
|
||||
from extensions import db, csrf, mail, oauth
|
||||
@@ -118,6 +119,7 @@ with app.app_context():
|
||||
print(f"Registered clients: {list(oauth._clients.keys())}")
|
||||
|
||||
app.register_blueprint(routes_core_home)
|
||||
app.register_blueprint(routes_core_contact)
|
||||
app.register_blueprint(routes_dog)
|
||||
app.register_blueprint(routes_dog_command)
|
||||
app.register_blueprint(routes_dog_command_category)
|
||||
|
||||
Reference in New Issue
Block a user