-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
from django.views.generic.base import View | ||
from django.shortcuts import render_to_response | ||
from django.contrib.auth.mixins import LoginRequiredMixin | ||
from django.utils.decorators import method_decorator | ||
from accounts.permission import permission_verify | ||
|
||
|
||
class finder(LoginRequiredMixin,View): | ||
@method_decorator(permission_verify()) | ||
def get(self,request): | ||
temp_name = "mfile/mfile-header.html" | ||
return render_to_response('mfile/finder.html', locals()) |