System Check Error

26 views
Skip to first unread message

Noyon Barman

unread,
Mar 18, 2021, 4:20:01 PM3/18/21
to django...@googlegroups.com
What's the Problem? How do I solve it, anyone please suggest to me
System Check Error.PNG

ule...@gmail.com

unread,
Mar 18, 2021, 4:26:25 PM3/18/21
to Django users
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:

Noyon Barman

unread,
Mar 18, 2021, 4:43:19 PM3/18/21
to django...@googlegroups.com
  1. I am so thankful for what you did

--
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.
models.py1.PNG
models.py2.PNG

ule...@gmail.com

unread,
Mar 18, 2021, 5:50:40 PM3/18/21
to Django users
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:

Fiifi Pius

unread,
Mar 18, 2021, 6:01:17 PM3/18/21
to django...@googlegroups.com
Don't mix your field ordering of list with tuple. It should be in a list [fieldname]

Reply all
Reply to author
Forward
0 new messages