remove static from git

This commit is contained in:
aatish 2018-11-17 10:59:25 +05:45
parent 1287105067
commit 635b929b24
3 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -89,3 +89,5 @@ venv/
.vscode/
.env
db.sqlite3
static/
media/

View File

@ -162,11 +162,10 @@ USE_TZ = True
STATIC_URL = '/static/'
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static/'), )
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles/')
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
MEDIA_ROOT = os.path.join(BASE_DIR, 'mediafiles/')
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
MEDIA_URL = '/media/'
CRISPY_TEMPLATE_PACK = 'bootstrap4'

View File