Project

General

Profile

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

calebasse / calebasse / lookups.py @ 73afaff3

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

    
(9-9/17)