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 again to make that ta
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
>
> El vie., 4
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) and migrate. I can se
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 recei
4 matches
Mail list logo