Wednesday, September 23, 2020

Re: ModelAdmin Not work

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.

No comments:

Post a Comment