Re: updating model breaks admin

2018-04-30 Thread Gloria Elena
Hi George, Thanks for the advice. I tried both suggestions and I am still getting the same errors. Here is my articles app structure and admin.py: And here is my site structure: Thank you!! On Sun, Apr 29, 2018 at 11:50 PM, George Lubaretsi wrote: > If the data is not important, try to de

updating model breaks admin

2018-04-29 Thread George Lubaretsi
If the data is not important, try to delete migration files from `migrations` package, drop the database tables and reference M2M relationship using strings: tags = models.ManyToManyField('Tag') Or if the Tag model is in another app: tags = models.ManyToManyField('app_name.Tag') Then run `make

Re: updating model breaks admin

2018-04-29 Thread George Lubaretsi
If the data is not important, try to delete migration files from `migrations` package, drop the database tables and reference M2M relationship using strings like so: tags = models.ManyToManyField(`Tag`) Or if the Tag model is in another app, like so: tags = models.ManyToManyField(`app_name.Tag`)

updating model breaks admin

2018-04-29 Thread Gloria Elena
Hi all, I want to request your help and I am sure you can guess by the question that I am fairly new to Django and THANK YOU IN ADVANCE, I would like to, someday, publish this portfolio website. I am sure I am making such a rookie mistake and will have to kick myself for making such a silly error