Fixes the Django part of wrong grid validation

Fixes the Django part of wrong grid validation