You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is so that the field type is consistent with the URL argument type that is passed into the districts:district URL. It also makes for cleaner queries, such as District.objects.get(number__iexact=self.kwargs["district"]) in the DistrictView class, since both types will match.