Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.rst: fix context processor path #260

Open
wants to merge 8 commits into
base: old_master
Choose a base branch
from

Conversation

jeromecc
Copy link

django.core.context_processors:
Built-in template context processors have been moved to django.template.context_processors.
Source: https://docs.djangoproject.com/en/dev/releases/1.8/#django-core-context-processors

Copy link
Owner

@barseghyanartur barseghyanartur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, see my remarks.

@@ -1,4 +1,5 @@
{% load i18n fobi_tags %}
{% load i18n %}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are they loaded one per line? Templates are slow. Loading all the modules in one line makes them go a little bit faster.

@@ -1,5 +1,7 @@
{% extends fobi_theme.master_base_template %}

{% load i18n %}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't use i18n, we shouldn't load it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants