Rename undercover/ to app/
This commit is contained in:
parent
e2be735d3f
commit
241dfa8ba6
|
@ -7,8 +7,7 @@ from flask import Flask, Response, make_response, render_template
|
|||
from flask_minify import Minify
|
||||
from werkzeug.exceptions import HTTPException
|
||||
|
||||
import undercover.routes
|
||||
import undercover.email
|
||||
from app import routes, email
|
||||
|
||||
|
||||
def create_app(test_config=None) -> Flask:
|
|
@ -9,7 +9,7 @@ from uuid import uuid4, UUID
|
|||
import bcrypt
|
||||
import psycopg
|
||||
|
||||
from undercover.fallback import MockConnection
|
||||
from app.fallback import MockConnection
|
||||
|
||||
|
||||
@dataclass
|
|
@ -3,7 +3,7 @@ import os
|
|||
import sys
|
||||
|
||||
from mailjet_rest import Client
|
||||
from undercover.fallback import mock_sender
|
||||
from app.fallback import mock_sender
|
||||
|
||||
api_key = os.environ.get('MAILJET_API_KEY')
|
||||
api_secret = os.environ.get('MAILJET_SECRET_KEY')
|
|
@ -6,13 +6,12 @@ import subprocess
|
|||
import threading
|
||||
import urllib.parse
|
||||
|
||||
from flask import (Blueprint, render_template, request, make_response, session, redirect, jsonify, Response)
|
||||
from flask import Blueprint, render_template, request, make_response, session, redirect, jsonify, Response
|
||||
from wtforms import Form, SelectField, StringField, TextAreaField, validators
|
||||
from email_validator import validate_email, EmailNotValidError
|
||||
|
||||
import undercover.db as db
|
||||
import undercover.email as email
|
||||
from undercover.pdf_builder import CLData
|
||||
from app import db, email
|
||||
from app.pdf_builder import CLData
|
||||
|
||||
writing_blueprint = Blueprint('writing', __name__)
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Loading…
Reference in New Issue