Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BASE_DIR = os.path.abspath(os.path.dirname(__file__) + '/')
- STATIC_URL = BASE_DIR + '/static/'
- <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/home_css.css" media="all" />
- import os
- STATIC_ROOT = os.path.join(BASE_DIR, 'static')
- STATIC_URL = "/static/"
- TEMPLATE_CONTEXT_PROCESSORS = (
- 'django.contrib.auth.context_processors.auth',
- 'django.core.context_processors.debug',
- 'django.core.context_processors.i18n',
- 'django.core.context_processors.media',
- 'django.core.context_processors.static',
- 'django.core.context_processors.request',
- 'django.contrib.messages.context_processors.messages',
- )
Add Comment
Please, Sign In to add comment