Skip to content

Commit

Permalink
Settings and templates updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Mar 16, 2015
1 parent 44d4e07 commit ce30d53
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion machina/conf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
MACHINA_FORUM_NAME = getattr(settings, 'MACHINA_FORUM_NAME', 'Machina')
MACHINA_MARKUP_LANGUAGE = getattr(settings, 'MACHINA_MARKUP_LANGUAGE', ('django_markdown.utils.markdown', {}))
MACHINA_MARKUP_WIDGET = getattr(settings, 'MACHINA_MARKUP_WIDGET', 'django_markdown.widgets.MarkdownWidget')
MACHINA_BASE_TEMPLATE = getattr(settings, 'MACHINA_BASE_TEMPLATE', 'base.html')


# Forum
Expand Down
1 change: 0 additions & 1 deletion machina/core/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ def metadata(request):
Append some Machina-specific data to the template context.
"""
return {
'MACHINA_BASE_TEMPLATE': machina_settings.MACHINA_BASE_TEMPLATE,
'MACHINA_FORUM_NAME': machina_settings.MACHINA_FORUM_NAME,
}
2 changes: 1 addition & 1 deletion machina/templates/machina/board_base.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends MACHINA_BASE_TEMPLATE|default:"base.html" %}
{% extends "base.html" %}
{% load url from future %}
{% load static %}
{% load i18n %}
Expand Down

0 comments on commit ce30d53

Please sign in to comment.