Created random header image code

This commit is contained in:
2013-10-01 23:39:27 +02:00
parent a99ca61159
commit 414ff5b4a4
7 changed files with 13 additions and 2 deletions

View File

@@ -131,6 +131,7 @@ INSTALLED_APPS = (
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'blog',
'basics',
)
# A sample logging configuration. The only tangible logging
@@ -170,5 +171,8 @@ TEMPLATE_CONTEXT_PROCESSORS = (
"django.core.context_processors.static",
"django.core.context_processors.tz",
"django.contrib.messages.context_processors.messages",
'gergelypolonkai_django.taghelper.tagcloud',
'gergelypolonkai_django.helper.tagcloud',
'gergelypolonkai_django.helper.randomheader',
)
HEADER_DIR = SITE_ROOT + os.path.sep + "static" + os.path.sep + "images" + os.path.sep + "header"