Richard Dahl wrote:
> It is hard to see with the indentation as it is, but it seems you are
> not returning an http response if the 'if id is none:' You are
> building the form for model, but it doesnt look like it is returned.
> The bottom line seems to be indented to correlate to the if
It is hard to see with the indentation as it is, but it seems you are
not returning an http response if the 'if id is none:' You are
building the form for model, but it doesnt look like it is returned.
The bottom line seems to be indented to correlate to the if
request.method not the
I tried the following but it fails in flames with "http response
required..." I've followed the documentation - am I called the
function correctly by a url with "/mymodel_addedit"Can someone help ?
urls.py
r'^mymodel/addedit/$', 'myproject.myapp.views.mymodel_addedit'),
views.py
def
3 matches
Mail list logo