Django (Admin Page)

14 views
Skip to first unread message

Rashmi Pandey

unread,
Nov 7, 2016, 3:54:30 AM11/7/16
to Django users
How can i display data base table on admin page...

ludovic coues

unread,
Nov 7, 2016, 6:40:01 AM11/7/16
to django...@googlegroups.com
Hello,

If you are talking about your model, you need to create a ModelAdmin
class [1] for your models. There is an exemple of how to do so in the
django tutorial [2].

[1] https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#modeladmin-objects
[2] https://docs.djangoproject.com/en/1.10/intro/tutorial02/#enter-the-admin-site

2016-11-07 9:52 GMT+01:00 Rashmi Pandey <rashmi.p...@gmail.com>:
> How can i display data base table on admin page...
>
> --
> 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 post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/49e2bdc9-681b-42b5-936e-b637d0da4357%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42
Reply all
Reply to author
Forward
0 new messages