def get(self, key):
warnings.warn(<EOL>'<STR_LIT>',<EOL>PendingDeprecationWarning<EOL>)<EOL>try:<EOL><INDENT>return getattr(self, key)<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise ImproperlyConfigured('<STR_LIT>'.format(<EOL>DJOSER_SETTINGS_NAMESPACE, key)<EOL>)<EOL><DEDENT>
This function is here only to provide backwards compatibility in
case anyone uses old settings interface.
It is strongly encouraged to use dot notation.