Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3403


This forum is provided to promote discussion amongst students enrolled in Agile Web Development (CITS3403).
 
Options:
RSS cloud
Jump to:

There are 2 articles from this person

2 of 419 articles shown, currently no other people reading this forum.

UWA week 21 - 1st semester, week 11

photo Re: flask-admin (all 3)
Fri 22nd May, 4:03pm, Aiden L.
If anyone is struggling to do the same, I solved this by importing the already made classes at the bottom of __init__.py; ie. ##initialisation code above## from flask_admin.contrib.sqla import ModelView from app.models import User, Post admin.add_view(ModelView(User,...
photo Re: flask-admin (all 3)
Fri 22nd May, 2:25pm, Aiden L.
Hi all, I'm currently trying to initialise and add views to my flask admin. I'm struggling with where to put the admin.add_view(modelview...). I have the following code in my __init__.py; app.config['FLASK_ADMIN_SWATCH'] = 'cerulean' admin = Admin(app, name='GameFinder',...
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  3:57pm Aug 06 2020