Hello andrew,
Thank you for the reply, found where my problem was on my url.py i had done
this
url(r'^resource/(?P)', ResourceDetailView.as_view(),
> name='resource_detail'),
>
instead of this
> url(r'^resource/(?P\d+)', ResourceDetailView.as_view(),
> name='resource_detail'),
>
i was l
Hi Eddilbert,
What are the URL patterns for the two views? I suspect a problem with
`pk_url_kwarg`, but I am surprised by the error output.
If that is not the problem: Does this error occur if you do not override the
`form_class` of `ResourceCreateView`? Could you supply the code for
`CreateRes
Hello All,
i get the following error when i try to load a model instancce using the
based DetailView to load the model instance on template after a CreateView
of the same model instance
> Environment:
>
>
> Request Method: GET
> Request URL: http://localhost:8000/management/resource/25
>
> Djan
3 matches
Mail list logo