> Am 06.07.2019 um 18:28 schrieb Daniel Roseman <dan...@roseman.org.uk>: > >> 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 any workaround exist? >> >> Thanks, Axel >> > > UpdateView works perfectly fine without `get_absolute_url()`. It does however > need a `success_url` attribute, or a `get_success_url()` method, defined on > the view itself. > -- > DR.
This worked perfectly! Thanks, Axel -- 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, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3B77821C-FC9B-4295-965E-090D4A0EE839%40Chaos1.DE. For more options, visit https://groups.google.com/d/optout.