Re: Error while doing migrations for a new table

2017-04-19 Thread Ramiro Morales
On Tue, Apr 18, 2017 at 6:52 AM, Mohamed Ghariani < ghariani.mohamed...@gmail.com> wrote: > Hello, > I tried to apply migrations for a new model. The model was used in a form > used in the admin so the migrations failed. > Please don't post questions like this (about using Django) to this list (i

Re: Error while doing migrations for a new table

2017-04-19 Thread Mohamed Ghariani
I created a bug on code.djangoproject.com On Tuesday, 18 April 2017 13:12:05 UTC+1, Mohamed Ghariani wrote: > > Hello, > I tried to apply migrations for a new model. The model was used in a form > used in the admin so the migrations failed. >

Error while doing migrations for a new table

2017-04-18 Thread Mohamed Ghariani
Hello, I tried to apply migrations for a new model. The model was used in a form used in the admin so the migrations failed. He is a sample code i wrote which gave me the same errors. models.py from django.db import models class App(models.Model): name = models.CharField(max_length=50) fo