new_contents: from __future__ import unicode_literals
  
  from datetime import timedelta
  
  from django.conf import settings
  from rest_framework.settings import APISettings
  
  USER_SETTINGS = getattr(settings, 'SIMPLE_JWT', None)
  
  DEFAULTS = {
      'AUTH_HEADER_TYPE': 'Bearer',
  
      'USER_ID_FIELD': 'pk',
      'PAYLOAD_ID_FIELD': 'user_pk',
  
      'TOKEN_LIFETIME': timedelta(days=7),
  
      'SECRET_KEY': settings.SECRET_KEY,
  }
  
  api_settings = APISettings(USER_SETTINGS, DEFAULTS, tuple())
  
subject: Add rest_framework_simplejwt.settings