资源简介

实时消息更新,实时用户上线显示
快捷注册
快捷登陆
表情支持

资源截图

代码片段和文件信息

#encoding:utf-8
# __author__ = ‘donghao‘
# __time__ = 2019/1/26 10:58
import os

SECRET_KEY = ‘hsjdflsajdf‘
FRONT_USER_ID = ‘jsaldjflsjd‘
DATA_DIR = os.path.join(os.path.dirname(__file__)‘data‘)

DB_USERNAME = ‘root‘
DB_PASSWORD = ‘root‘
DB_HOST = ‘127.0.0.1‘
DB_PORT = ‘3306‘
DB_NAME = ‘chatroom‘

SQLALCHEMY_TRACK_MODIFICATIONS = False
DB_URI = ‘mysql+pymysql://%s:%s@%s:%s/%s?charset=utf8‘ % (DB_USERNAMEDB_PASSWORDDB_HOSTDB_PORTDB_NAME)
SQLALCHEMY_DATAbase_URI = DB_URI

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-29 14:46  flask-chatroom-master\
     目录           0  2019-01-29 14:46  flask-chatroom-master\.idea\
     文件         651  2019-01-29 14:46  flask-chatroom-master\.idea\chatroom.iml
     文件         201  2019-01-29 14:46  flask-chatroom-master\.idea\misc.xml
     文件         268  2019-01-29 14:46  flask-chatroom-master\.idea\modules.xml
     文件       56289  2019-01-29 14:46  flask-chatroom-master\.idea\workspace.xml
     文件         970  2019-01-29 14:46  flask-chatroom-master\README.md
     目录           0  2019-01-29 14:46  flask-chatroom-master\__pycache__\
     文件         525  2019-01-29 14:46  flask-chatroom-master\__pycache__\config.cpython-36.pyc
     文件         370  2019-01-29 14:46  flask-chatroom-master\__pycache__\exct.cpython-36.pyc
     文件         638  2019-01-29 14:46  flask-chatroom-master\__pycache__\run.cpython-36.pyc
     目录           0  2019-01-29 14:46  flask-chatroom-master\apps\
     文件          73  2019-01-29 14:46  flask-chatroom-master\apps\__init__.py
     目录           0  2019-01-29 14:46  flask-chatroom-master\apps\__pycache__\
     文件         123  2019-01-29 14:46  flask-chatroom-master\apps\__pycache__\__init__.cpython-36.pyc
     目录           0  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\
     文件         145  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__init__.py
     目录           0  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\
     文件         244  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\__init__.cpython-36.pyc
     文件         642  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\decorators.cpython-36.pyc
     文件         386  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\filters.cpython-36.pyc
     文件         643  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\form.cpython-36.pyc
     文件         548  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\functions.cpython-36.pyc
     文件         537  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\hooks.cpython-36.pyc
     文件        1053  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\models.cpython-36.pyc
     文件        2503  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\__pycache__\views.cpython-36.pyc
     文件         364  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\decorators.py
     文件         253  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\filters.py
     文件         434  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\form.py
     文件         422  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\functions.py
     文件         386  2019-01-29 14:46  flask-chatroom-master\apps\chat_app\hooks.py
............此处省略142个文件信息

评论

共有 条评论