Django Template Context Processors Autocompletion

Answered

Hello everyone:

I've googled and hunted in these forums, but can't seem to see anyone discussing this. Perhaps I'm overlooking something...

Passing context into a template from views works great, but context from the template context processors does not autocomplete at all. For example, if I have the following in my settings:

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.request',
'django.contrib.messages.context_processors.messages',
],
},
},
]

All templates will have the request and messages context passed in regardless of what the view does.
it would be great to have autocomplete for some of these as well.
1 comment
Comment actions Permalink

Hello.

Please vote for https://youtrack.jetbrains.com/issue/PY-20115 , should be fixed as part of it

1

Please sign in to leave a comment.