Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
geeeeeeeek committed Feb 13, 2019
1 parent e6e1ed9 commit d0b86cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

### 适合人群

python初级学员、大学生、系统设计人员
python初级学员、大学生、系统设计人员

### 技术栈
python/django/nginx/mysql/semantic-css/jquery/html
Expand All @@ -47,3 +47,9 @@ python/django/nginx/mysql/semantic-css/jquery/html
[https://github.com/geeeeeeeek/videoproject/](https://github.com/geeeeeeeek/videoproject/)


### 开发教程
[https://mypython.me](https://mypython.me)

### 问题反馈

Email: [email protected]
32 changes: 3 additions & 29 deletions videoproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['v.mypython.me','127.0.0.1','3.0.125.21','43.243.86.45']
ALLOWED_HOSTS = ['v.mypython.me']


# Application definition
Expand Down Expand Up @@ -55,7 +55,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

SITE_URL = 'http://127.0.0.1:8000'
SITE_URL = 'https://v.mypython.me/'

ROOT_URLCONF = 'videoproject.urls'

Expand Down Expand Up @@ -111,7 +111,7 @@
'ENGINE': 'django.db.backends.mysql',
'NAME': 'video',
'USER': 'root',
'PASSWORD': '4643830',
'PASSWORD': 'your pwd',
'HOST':'127.0.0.1',
'PORT':'3306',
}
Expand Down Expand Up @@ -162,29 +162,3 @@


# STATIC_ROOT = os.path.join(BASE_DIR, "static/")

# 日志配置
# LOGGING = {
# 'version': 1,
# 'disable_existing_loggers': False,
# 'handlers': {
# 'file': {
# 'level': 'INFO',
# 'class': 'logging.FileHandler',
# 'filename': '/Users/xiaoqingsong/log/django/debug.log', # your log file
# },
# },
# 'loggers': {
# 'django': {
# 'handlers': ['file'],
# 'level': 'INFO',
# 'propagate': True,
# },
# 'my_logger': {
# 'handlers': ['file'],
# 'level': 'INFO',
# 'propagate': True,
# },
# },
# }

0 comments on commit d0b86cc

Please sign in to comment.