Re: Need help on RedirectView

2021-06-20 Thread Hello Singh
Thanks, David Sir It help me a lot. On Sun, 20 Jun 2021, 18:21 David Nugent, wrote: > It is just a method on the Article model. Don't copy-paste what is there, > understand what it is doing. > > In this *example*, update_counter() will be defined in > Article(models.Model), probably in models.py

Re: Need help on RedirectView

2021-06-20 Thread David Nugent
It is just a method on the Article model. Don't copy-paste what is there, understand what it is doing. In this *example*, update_counter() will be defined in Article(models.Model), probably in models.py in the app. You obliged to use anything like this in your redirect. HTH, On Sun, Jun 20, 2021