I created a bug on code.djangoproject.com
<https://code.djangoproject.com/ticket/28098#ticket>
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
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