Skip to content

Commit

Permalink
[django-prosoul] Add static files
Browse files Browse the repository at this point in the history
This code includes the static files needed to show the tree-based editor in
prosoul.
  • Loading branch information
valeriocos authored and dlumbrer committed Dec 14, 2018
1 parent 9626ac9 commit 03846a2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions django-prosoul/django_prosoul/settings.py
Expand Up @@ -116,9 +116,13 @@


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

# https://docs.djangoproject.com/en/2.0/howto/static-files/
# Used by the collectstatic task
STATIC_ROOT = os.path.join(BASE_DIR, "static")
# Next config is used used by staticfiles application
STATIC_URL = '/static/'
# This DIRS are used by the dev server to find static contents
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'django_prosoul/static/'), os.path.join(BASE_DIR, 'prosoul/static/prosoul'))

REST_FRAMEWORK = {
# Use Django's standard `django.contrib.auth` permissions,
Expand Down

0 comments on commit 03846a2

Please sign in to comment.