Oh, you monkeypatched the view but I don't think the templates see this monkeypatch. The preferred way now is to just create the flag here. `Flag.objects.create(....`. Maybe that will fix it?