Fix override decorator

See https://code.djangoproject.com/ticket/23381#ticket
Same question as above.