django静态文件数据库设置

STATIC_URL = '/static/'
STATICFILES_DIRS = (
        os.path.join(BASE_DIR,'static')
)

DATABASES = {
    'default': {
    'ENGINE': 'django.db.backends.mysql',
    'NAME':'fengjian',
    'USER': 'fengjian',
    'PASSWORD': '123456',
    'HOST': '172.16.230.151',
    'PORT': '3306',
    }
}

原文地址:https://www.cnblogs.com/fengjian2016/p/5386703.html