Skip to content
This repository
Browse code

* further importing bugfix

  • Loading branch information...
commit 5fa5c51979b6b5e678cbec7fe2b24bba6b76e23d 1 parent 8ce7bb9
authored July 23, 2009

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  views.py
6  views.py
@@ -200,7 +200,7 @@ def index(request, dir_name=""):
200 200
         'breadcrumbs': _get_breadcrumbs(_get_query(request.GET), dir_name, ''),
201 201
         'title': _('FileBrowser'),
202 202
         'root_path': URL_HOME,
203  
-    }, context_instance=Context(request))
  203
+    }, context_instance=RequestContext(request))
204 204
 index = staff_member_required(never_cache(index))
205 205
 
206 206
 
@@ -243,7 +243,7 @@ def mkdir(request, dir_name=None):
243 243
         'breadcrumbs': _get_breadcrumbs(_get_query(request.GET), dir_name, 'Make Directory'),
244 244
         'title': _('Make directory'),
245 245
         'root_path': URL_HOME,
246  
-    }, context_instance=Context(request))
  246
+    }, context_instance=RequestContext(request))
247 247
 mkdir = staff_member_required(never_cache(mkdir))
248 248
 
249 249
 
@@ -434,7 +434,7 @@ def upload(request, dir_name=""):
434 434
         'breadcrumbs': _get_breadcrumbs(_get_query(request.GET), dir_name, 'Multiple Upload'),
435 435
         'title': _('Select files to upload'),
436 436
         'root_path': URL_HOME,
437  
-    }, context_instance=Context(request))
  437
+    }, context_instance=RequestContext(request))
438 438
 upload = staff_member_required(never_cache(upload))
439 439
 
440 440
 

0 notes on commit 5fa5c51

Please sign in to comment.
Something went wrong with that request. Please try again.