Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

config.py 336 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
  1. import os
  2. basedir = os.path.abspath(os.path.dirname(__file__))
  3. class Config(object):
  4. SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess'
  5. SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
  6. 'sqlite:///' + os.path.join(basedir, '../data/db/movie.db')
  7. SQLALCHEMY_TRACK_MODIFICATIONS = False
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...