On Thursday, 4 July 2019 18:45:47 UTC+1, [email protected] 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.
-- 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 [email protected]. To post to this group, send email to [email protected]. 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/af72433f-58c4-4d62-a940-5bc88a5fd391%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

