def __init__(self, *args, **kwargs):
<EOL>app_descriptor = '<STR_LIT>' % (self._meta.app_label.upper(), self._meta.object_name.upper())<EOL>value = getattr(settings, '<STR_LIT>' % app_descriptor, ACL_DEFAULT_VALUE)<EOL>ACL_DEFAULT = ACCESS_LEVELS.get(value)<EOL>ACL_EDITABLE = getattr(settings, '<STR_LIT>' % app_descriptor, ACL_DEFAULT_EDITABLE)<EOL>self._meta.get_field('<STR_LIT>').default = ACL_DEFAULT<EOL>self._meta.get_field('<STR_LIT>').editable = ACL_EDITABLE<EOL>super(BaseAccessLevel, self).__init__(*args, **kwargs)<EOL>
Determines default value for field "access_level" and determines if is editable
In the case the field is not editable it won't show up at all