Permalink
Browse files

* further importing bugfix

  • Loading branch information...
Aidas Bendoraitis
Aidas Bendoraitis committed Jul 23, 2009
1 parent 8ce7bb9 commit 5fa5c51979b6b5e678cbec7fe2b24bba6b76e23d
Showing with 3 additions and 3 deletions.
  1. +3 −3 views.py
View
@@ -200,7 +200,7 @@ def index(request, dir_name=""):
'breadcrumbs': _get_breadcrumbs(_get_query(request.GET), dir_name, ''),
'title': _('FileBrowser'),
'root_path': URL_HOME,
- }, context_instance=Context(request))
+ }, context_instance=RequestContext(request))
index = staff_member_required(never_cache(index))
@@ -243,7 +243,7 @@ def mkdir(request, dir_name=None):
'breadcrumbs': _get_breadcrumbs(_get_query(request.GET), dir_name, 'Make Directory'),
'title': _('Make directory'),
'root_path': URL_HOME,
- }, context_instance=Context(request))
+ }, context_instance=RequestContext(request))
mkdir = staff_member_required(never_cache(mkdir))
@@ -434,7 +434,7 @@ def upload(request, dir_name=""):
'breadcrumbs': _get_breadcrumbs(_get_query(request.GET), dir_name, 'Multiple Upload'),
'title': _('Select files to upload'),
'root_path': URL_HOME,
- }, context_instance=Context(request))
+ }, context_instance=RequestContext(request))
upload = staff_member_required(never_cache(upload))

0 comments on commit 5fa5c51

Please sign in to comment.