首页 > 代码库 > Django setting配置

Django setting配置

LANGUAGE_CODE = ‘zh-hans‘

TIME_ZONE = ‘Asia/Shanghai‘

USE_I18N = True

USE_L10N = True

USE_TZ = False


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.11/howto/static-files/

STATIC_URL = ‘/static/‘


STATICFILES_DIRS=((os.path.join(BASE_DIR, ‘static‘)),)

 

Django setting配置