campaign and admin
This commit is contained in:
parent
031811dba1
commit
e7c0c5ca4d
14 changed files with 69 additions and 4 deletions
13
app/campaigns/routes.py
Normal file
13
app/campaigns/routes.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from app import db
|
||||
from app.campaigns import campaigns
|
||||
from app.users.models import User
|
||||
# from forms import LoginForm, RequestResetForm, ResetPasswordForm, EditUserForm, AddUserForm
|
||||
from flask import render_template, redirect, url_for, flash, request
|
||||
from flask_login import login_required, login_user, current_user, logout_user
|
||||
from werkzeug.security import check_password_hash, generate_password_hash
|
||||
from datetime import datetime
|
||||
import os
|
||||
|
||||
@campaigns.route('add_campaign')
|
||||
def add_campaign():
|
||||
return render_template('add_campaign.html')
|
||||
Loading…
Add table
Add a link
Reference in a new issue