django runserver + weasyprint + not taking the CSS files or getting css applied on the PDF + but working fine with Apache

2019-06-11 Thread Maurya Allimuthu
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

Re: validator not working in serializers.ModelSerializer

2019-01-28 Thread Maurya Allimuthu
nted 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 Andreas

Re: validator not working in serializers.ModelSerializer

2019-01-28 Thread Maurya Allimuthu
re 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 and vi

Re: validator not working in serializers.ModelSerializer

2019-01-24 Thread Maurya Allimuthu
t 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, >> >>

validator not working in serializers.ModelSerializer

2019-01-24 Thread Maurya Allimuthu
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

django rest framework - validators are not getting called in GET request, but the GET request is working.

2019-01-24 Thread Maurya Allimuthu
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,