diff --git a/dpaste/highlight.py b/dpaste/highlight.py index 7e5f806..83d6f8c 100644 --- a/dpaste/highlight.py +++ b/dpaste/highlight.py @@ -79,6 +79,7 @@ LEXER_LIST = getattr(settings, 'DPASTE_LEXER_LIST', ( ('properties', 'Properties'), ('puppet', 'Puppet'), ('python', 'Python'), + ('r', 'R'), ('rb', 'Ruby'), ('rst', 'reStructuredText'), ('rust', 'Rust'), diff --git a/dpaste/settings/base.py b/dpaste/settings/base.py index c0f27b2..f783da8 100644 --- a/dpaste/settings/base.py +++ b/dpaste/settings/base.py @@ -104,6 +104,7 @@ TEMPLATES = [ 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', + 'django.template.context_processors.i18n', ], }, },