forked from CGM_Public/pretix_original
Allow import bank data from CSV files
This commit is contained in:
@@ -8,7 +8,7 @@ def contextprocessor(request):
|
||||
Adds data to all template contexts
|
||||
"""
|
||||
url = resolve(request.path_info)
|
||||
if url.namespace != 'control':
|
||||
if not request.path.startswith('/control'):
|
||||
return {}
|
||||
ctx = {
|
||||
'url_name': url.url_name,
|
||||
|
||||
Reference in New Issue
Block a user