Thursday, September 24, 2020

Re: ModelAdmin Not work

First correct email to email

On 24 Sep 2020 00:33, "coolguy" <cooldjangoprogrammer@gmail.com> wrote:
either use admin.site.register
OR
@admin.register(User)

On Wednesday, September 23, 2020 at 11:01:43 AM UTC-4 kkwaq...@gmail.com wrote:
models.py

1.jpg

admin.py
2.jpg

errors

3.jpg

Object is not callable

Please any body solutions 

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/00354cdd-5478-4ee5-9e44-95098e393c83n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BbM%2BwDz86eHRda1fXb4DHRjipVu7xJsqmWHKEaThpRsdMP5VA%40mail.gmail.com.

No comments:

Post a Comment