Project

General

Profile

Download (249 Bytes) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / lookups.py @ d3bb399c

1

    
2
from ajax_select import LookupChannel
3
from django.core.exceptions import PermissionDenied
4

    
5
class CalebasseLookup(LookupChannel):
6

    
7
    def check_auth(self,request):
8
        if not request.user.is_authenticated():
9
            raise PermissionDenied
10

    
(8-8/15)