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 for other models).
For example, Java has the @SupressWarnings() annotation, and C++/Clang has the #pragma clang diagnostic ignored block directive.
Is there a way to do this with Python/Django?
Best,
Mattias