from .base import *  # noqa


SECRET_KEY = "test"

DATABASES = {
    "default": {"ENGINE": "django.db.backends.sqlite3", "NAME": base_dir_join("db.sqlite3"),}
}

STATIC_ROOT = "staticfiles"
STATIC_URL = "/static/"

MEDIA_ROOT = "mediafiles"
MEDIA_URL = "/media/"

DEFAULT_FILE_STORAGE = "django.core.files.storage.FileSystemStorage"
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage"

# Speed up password hashing
PASSWORD_HASHERS = [
    "django.contrib.auth.hashers.MD5PasswordHasher",
]

# Celery
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_EAGER_PROPAGATES = True

from .base import *  # noqa


SECRET_KEY = "test"

DATABASES = {
    "default": {"ENGINE": "django.db.backends.sqlite3", "NAME": base_dir_join("db.sqlite3"),}
}

STATIC_ROOT = base_dir_join('staticfiles')
STATIC_URL = '/static/'

MEDIA_ROOT = base_dir_join('mediafiles')
MEDIA_URL = '/media/'

DEFAULT_FILE_STORAGE = "django.core.files.storage.FileSystemStorage"
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage"

# Speed up password hashing
PASSWORD_HASHERS = [
    "django.contrib.auth.hashers.MD5PasswordHasher",
]

# Celery
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_EAGER_PROPAGATES = True

Revert "Fix ci build by adjust static root and media root path"
Revert "Fix ci build by adjust static root and media root path"

This reverts commit e502c906

  from .base import *  # noqa
  
  
  SECRET_KEY = "test"
  
  DATABASES = {
      "default": {"ENGINE": "django.db.backends.sqlite3", "NAME": base_dir_join("db.sqlite3"),}
  }
  
- STATIC_ROOT = "staticfiles"
+ STATIC_ROOT = base_dir_join('staticfiles')
- STATIC_URL = "/static/"
+ STATIC_URL = '/static/'
  
- MEDIA_ROOT = "mediafiles"
+ MEDIA_ROOT = base_dir_join('mediafiles')
- MEDIA_URL = "/media/"
+ MEDIA_URL = '/media/'
  
  DEFAULT_FILE_STORAGE = "django.core.files.storage.FileSystemStorage"
  STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage"
  
  # Speed up password hashing
  PASSWORD_HASHERS = [
      "django.contrib.auth.hashers.MD5PasswordHasher",
  ]
  
  # Celery
  CELERY_TASK_ALWAYS_EAGER = True
  CELERY_TASK_EAGER_PROPAGATES = True
  
Revert "Fix ci build by adjust static root and media root path"
## Code Before:
from .base import *  # noqa


SECRET_KEY = "test"

DATABASES = {
    "default": {"ENGINE": "django.db.backends.sqlite3", "NAME": base_dir_join("db.sqlite3"),}
}

STATIC_ROOT = "staticfiles"
STATIC_URL = "/static/"

MEDIA_ROOT = "mediafiles"
MEDIA_URL = "/media/"

DEFAULT_FILE_STORAGE = "django.core.files.storage.FileSystemStorage"
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage"

# Speed up password hashing
PASSWORD_HASHERS = [
    "django.contrib.auth.hashers.MD5PasswordHasher",
]

# Celery
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_EAGER_PROPAGATES = True

## Instruction:
Revert "Fix ci build by adjust static root and media root path"
## Code After:
from .base import *  # noqa


SECRET_KEY = "test"

DATABASES = {
    "default": {"ENGINE": "django.db.backends.sqlite3", "NAME": base_dir_join("db.sqlite3"),}
}

STATIC_ROOT = base_dir_join('staticfiles')
STATIC_URL = '/static/'

MEDIA_ROOT = base_dir_join('mediafiles')
MEDIA_URL = '/media/'

DEFAULT_FILE_STORAGE = "django.core.files.storage.FileSystemStorage"
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage"

# Speed up password hashing
PASSWORD_HASHERS = [
    "django.contrib.auth.hashers.MD5PasswordHasher",
]

# Celery
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_EAGER_PROPAGATES = True
