Re: get_absolute_url() necessary with ModelForm ?

2019-07-07 Thread Axel Rau
> Am 06.07.2019 um 18:28 schrieb Daniel Roseman : > >> On Thursday, 4 July 2019 18:45:47 UTC+1, axe...@chaos1.de wrote: >> I’m using a model in 2 apps with different urls. >> Subclasing it and overwriting get_absolute_url() did not work, >> because it mangled dbtable. >> UpdateView does not

Re: get_absolute_url() necessary with ModelForm ?

2019-07-06 Thread Daniel Roseman
On Thursday, 4 July 2019 18:45:47 UTC+1, axe...@chaos1.de wrote: > > I’m using a model in 2 apps with different urls. > Subclasing it and overwriting get_absolute_url() did not work, > because it mangled dbtable. > UpdateView does not work with ModelForm w/o get_absolute_url(). > > Does there

get_absolute_url() necessary with ModelForm ?

2019-07-04 Thread Axel Rau
I’m using a model in 2 apps with different urls. Subclasing it and overwriting get_absolute_url() did not work, because it mangled dbtable. UpdateView does not work with ModelForm w/o get_absolute_url(). Does there any workaround exist? Thanks, Axel --- PGP-Key: CDE74120 ☀ computing @ chaos