Re: Disable single instance of a system check warning

2018-02-09 Thread Tim Graham
There is not, but there's an open ticket for that enhancement. https://code.djangoproject.com/ticket/26472 On Friday, February 9, 2018 at 6:58:08 AM UTC-5, Mattias Linnap wrote: > > Hi djangonauts, > > > System check identified some issues: > > > HINT: ForeignKey(unique=True) is usually better se

Disable single instance of a system check warning

2018-02-09 Thread Mattias Linnap
Hi djangonauts, > System check identified some issues: > HINT: ForeignKey(unique=True) is usually better served by a OneToOneField. I would like to keep using ForeignKey(unique=True) for this particular model, and mark the warning as disabled for this model only (keep it enabled project-wide f