akvo.rest.views.project_update module

Akvo RSR is covered by the GNU Affero General Public License.

See more details in the license.txt file located at the root folder of the Akvo RSR module. For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.

class akvo.rest.views.project_update.ProjectUpdateViewSet(**kwargs)[source]

Bases: PublicProjectViewSet

.

basename = None
description = None
detail = None
filter_queryset(queryset)[source]

Allow simple filtering on selected fields. We don’t use the default filter_fields, because Up filters on datetime for last_modified_at, and they only support a date, not datetime.

max_paginate_by = 1000
name = None
paginate_by_param = 'limit'
perform_create(serializer)[source]
queryset
serializer_class

alias of ProjectUpdateSerializer

suffix = None
akvo.rest.views.project_update.project_update_photos(request, *args, **kwargs)[source]
akvo.rest.views.project_update.upload_indicator_update_photo(request, *args, **kwargs)[source]
akvo.rest.views.project_update.validate_date(date)[source]