def upload_form_photo(self, request):
        """Handle Image file uploads for FormPage photos

        :param request:    HttpRequest object from django

        """
        return upload._upload_photo(request, self, 'form_page_id', storage.FormPagePhotoStorage())
    def upload_organization_photo(self, request):
        """Handle Image file uploads for Organization photos

        :param request:   HttpRequest object from django

        """
        return upload._upload_photo(request, self, 'organization_id', storage.OrganizationPhotoStorage())
Exemplo n.º 3
0
    def upload_form_photo(self, request):
        """Handle Image file uploads for FormPage photos

        :param request:    HttpRequest object from django

        """
        return upload._upload_photo(request, self, 'form_page_id',
                                    storage.FormPagePhotoStorage())