Guest User

Untitled

a guest
Jan 19th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. BASE_DIR = os.path.abspath(os.path.dirname(__file__) + '/')
  2. STATIC_URL = BASE_DIR + '/static/'
  3.  
  4. <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/home_css.css" media="all" />
  5.  
  6. import os
  7.  
  8. STATIC_ROOT = os.path.join(BASE_DIR, 'static')
  9. STATIC_URL = "/static/"
  10.  
  11. TEMPLATE_CONTEXT_PROCESSORS = (
  12. 'django.contrib.auth.context_processors.auth',
  13. 'django.core.context_processors.debug',
  14. 'django.core.context_processors.i18n',
  15. 'django.core.context_processors.media',
  16. 'django.core.context_processors.static',
  17. 'django.core.context_processors.request',
  18. 'django.contrib.messages.context_processors.messages',
  19. )
Add Comment
Please, Sign In to add comment