Hi All,
We are having two server.
In one server ,
- django runs with apache
- Weasyprint version 0.40
- PDF is rendered with CSS applied (path is in static folder)
In another server,
- django runs with runserver
- Weasyprint version 0.40
- PDF is rendered *WITHOUT* the CSS (p
I
> wanted them to be on a get request.
>
> Regards,
>
> Andréas
>
>
> Den fre 25 jan. 2019 kl 02:47 skrev Maurya Allimuthu <
> catchmau...@gmail.com>:
>
>> Hi Andreas Kuhne,
>>
>> Thanks on the quick answer and great help. :-)
>>
>> Hi
is no data sent to the server to validate). The validators will be
> called on a POST, PUT or PATCH request.
>
> Regards,
>
> Andréas
>
>
> Den tors 24 jan. 2019 kl 13:19 skrev Maurya Allimuthu >:
>
>> Hi All,
>>
>> I use serializers.ModelSerializer a
a sent to the server to validate). The validators will be
> called on a POST, PUT or PATCH request.
>
> Regards,
>
> Andréas
>
>
> Den tors 24 jan. 2019 kl 13:19 skrev Maurya Allimuthu <
> catchmau...@gmail.com>:
>
>> Hi All,
>>
>> I use
Hi All,
I use serializers.ModelSerializer and viewset DetailViewset(APIView).
The validators are not getting called on GET request of the viewset via
URLS, but the GET request is working.
def validate(self, attrs):
if attrs.get('password') != attrs.get('confirm_password'):
raise s
django rest framework - validators are not getting called in GET request,
but the GET request is working.
please help on this
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
6 matches
Mail list logo