Re: problem with requests and django view

2015-05-31 Thread ogi
I found myself the solution. Stupid!. The variable *url* was entered without* slash* at the end. Anyway thanks to all. Maybe somebody could see that if I copied the *url* and urls.py in the question. Am Freitag, 29. Mai 2015 17:09:39 UTC+2 schrieb ogi: > > Hi > > I have problems to post some j

problem with requests and django view

2015-05-29 Thread ogi
Hi I have problems to post some json data from a python script using *requests* to a django view defined as base classed view. Thinking that problem is with permissions I also installed django rest framework to temporary allow any user to call the view. the file with post data is looking like: