def get_add_permission(self):
        warnings.warn(
            "`Options.get_add_permission` has been deprecated in favor "
            "of `django.contrib.auth.get_permission_codename`.",
            PendingDeprecationWarning, stacklevel=2)
        return 'add_%s' % self.model_name
This method has been deprecated in favor of
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/models/options.py/Options.get_add_permission