Project

General

Profile

« Previous | Next » 

Revision a87d6ad7

Added by Jérôme Schneider over 11 years ago

agenda: description is now editable

View differences:

calebasse/api.py
1 1

  
2
from tastypie.authorization import DjangoAuthorization
2 3
from tastypie.resources import ModelResource
3 4
from calebasse.agenda.models import Event
4 5

  
......
7 8
        class Meta:
8 9
            queryset = Event.objects.all()
9 10
            resource_name = 'event'
11
            authorization = DjangoAuthorization()

Also available in: Unified diff