Re: Admin site and Model

2018-05-04 Thread Fidel Leon
May we see your admin.py? El vie., 4 may. 2018 a las 8:32, Harish Soni () escribió: > Hi All, > whenever I create a new model(table) and migrate. I can see it is > available in mysql but its not showing in admin. I have to delete my db and > make migrations of all the tables

Re: Admin site and Model

2018-05-04 Thread Harish Soni
I've added to app's admin.py then only mentioned in mail. On Fri 4 May, 2018, 2:58 PM Fidel Leon, wrote: > You need to add your model to the app's admin.py file. > > As an example: > https://docs.djangoproject.com/en/2.0/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin

Re: Admin site and Model

2018-05-04 Thread Fidel Leon
You need to add your model to the app's admin.py file. As an example: https://docs.djangoproject.com/en/2.0/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin El vie., 4 may. 2018 a las 8:32, Harish Soni () escribió: > Hi All, > whenever I create a new model(table)

Admin site and Model

2018-05-04 Thread Harish Soni
Hi All, whenever I create a new model(table) and migrate. I can see it is available in mysql but its not showing in admin. I have to delete my db and make migrations of all the tables again to make that table show in admin. any help would be appreciate. Regards Harish Soni Swarnkar -- You