def reregister(model_class):
 def decorator(cls):
  '\n        The actual decorator that does the work.\n        '
  site.unregister(model_class)
  site.register(model_class, cls)
  return cls
 return decorator

def reregister ( model_class ) : def decorator ( cls ) : site . unregister ( model_class ) site . register ( model_class , cls ) return cls return decorator
remove the existing admin .