Don't mix your field ordering of list with tuple. It should be in a list [fieldname]
On Thu, Mar 18, 2021, 9:51 PM ule...@gmail.com <ulef...@gmail.com> wrote: > in models.py in Class Blog try with > Class Meta: > ordering = ['publish_date'] > > for Class Comment try with > Class Meta: > ordering = ['comment_date'] > > Op donderdag 18 maart 2021 om 21:43:19 UTC+1 schreef noyonba...@gmail.com: > >> >> 1. I am so thankful for what you did >> >> >> On Fri, Mar 19, 2021 at 2:27 AM ule...@gmail.com <ule...@gmail.com> >> wrote: >> >>> Hi, >>> There is a problem with ordering of field Comment in your model .py >>> within App_Blog >>> Please show me your models.py . >>> >>> Op donderdag 18 maart 2021 om 21:20:01 UTC+1 schreef >>> noyonba...@gmail.com: >>> >>>> What's the Problem? How do I solve it, anyone please suggest to me >>>> >>> -- >>> 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...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/595bd6eb-d471-43d8-aea0-a4c2673cefdfn%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/595bd6eb-d471-43d8-aea0-a4c2673cefdfn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/983aaeed-eabe-49e3-9e99-df9f8e999673n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/983aaeed-eabe-49e3-9e99-df9f8e999673n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANVLA7G0TiZ-%3D0XAxJRjWm5%2BC8%2Brh7Rx9xP5KXN2f4VK%2Bgz7eA%40mail.gmail.com.