Allow import bank data from CSV files

This commit is contained in:
Raphael Michel
2015-03-21 22:03:39 +01:00
parent 8c97302e65
commit 9ec25d708b
13 changed files with 434 additions and 4 deletions

View File

@@ -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,