Skip to content

Instantly share code, notes, and snippets.

@iPablo
iPablo / context_processor.py
Created Nov 21, 2016
Snippet for Django breadcrumbs
View context_processor.py
# Settings.py
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'base.context_processors.breadcrumbs',
],