I forgot the output for request.FILES. it's: CRITICAL request.FILES:
On 9 Jan., 17:21, "thomasbecht...@googlemail.com"
wrote:
> Hi all,
>
> i have to replace a php-script with a django-view. The django-view
> just get some Post-Data and a file. The view works fine.
> Now, i want to write a tes
Hi all,
i have to replace a php-script with a django-view. The django-view
just get some Post-Data and a file. The view works fine.
Now, i want to write a test for the upload. My Script looks like this:
from django.test.client import Client
from django.test import client
c = Client()
file = ope
2 matches
Mail list logo