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
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
2 matches
Mail list logo