增加static目录配置

This commit is contained in:
virusdefender 2016-04-28 18:13:54 +08:00
parent 231798363c
commit a4cda490f0
No known key found for this signature in database
GPG Key ID: 1686FB5677979E61
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -64,5 +64,6 @@ tmp/
test_case/
release/
upload/
static/
custom_settings.py
docker-compose.yml

View File

@ -115,6 +115,8 @@ USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
CELERY_ROUTES = {
'server.tasks.submit_dispatcher': {'queue': 'local'},
'server.tasks.submit_waiting_submission': {'queue': 'local'},