import collections

# django
from django.utils.translation import ugettext_lazy as _

ParameterDefinition = collections.namedtuple(
    'Parameter',
    [
        'name',
        'default',
        'kind',
        'verbose_name',
    ]
)


class ParameterDefinitionList(object):
    definitions = [
        ParameterDefinition(
            name='DEFAULT_PROTOCOL',
            default='https',
            kind='str',
            verbose_name=_('default protocol: https'),
        ),
    ]

    choices = tuple((x.name, x.verbose_name) for x in definitions)

import collections

# django
from django.utils.translation import ugettext_lazy as _

ParameterDefinition = collections.namedtuple(
    'Parameter',
    [
        'name',
        'default',
        'kind',
        'verbose_name',
    ]
)


class ParameterDefinitionList(object):
    definitions = [
        ParameterDefinition(
            name='DEFAULT_URL_PROTOCOL',
            default='https',
            kind='str',
            verbose_name=_('Default url protocol'),
        ),
    ]

    choices = tuple((x.name, x.verbose_name) for x in definitions)

Rename parameter DEFAULT_PROTOCOL to DEFAULT_URL_PROTOCOL
Rename parameter DEFAULT_PROTOCOL to DEFAULT_URL_PROTOCOL

  import collections
  
  # django
  from django.utils.translation import ugettext_lazy as _
  
  ParameterDefinition = collections.namedtuple(
      'Parameter',
      [
          'name',
          'default',
          'kind',
          'verbose_name',
      ]
  )
  
  
  class ParameterDefinitionList(object):
      definitions = [
          ParameterDefinition(
-             name='DEFAULT_PROTOCOL',
+             name='DEFAULT_URL_PROTOCOL',
              default='https',
              kind='str',
-             verbose_name=_('default protocol: https'),
+             verbose_name=_('Default url protocol'),
          ),
      ]
  
      choices = tuple((x.name, x.verbose_name) for x in definitions)
  
Rename parameter DEFAULT_PROTOCOL to DEFAULT_URL_PROTOCOL
## Code Before:
import collections

# django
from django.utils.translation import ugettext_lazy as _

ParameterDefinition = collections.namedtuple(
    'Parameter',
    [
        'name',
        'default',
        'kind',
        'verbose_name',
    ]
)


class ParameterDefinitionList(object):
    definitions = [
        ParameterDefinition(
            name='DEFAULT_PROTOCOL',
            default='https',
            kind='str',
            verbose_name=_('default protocol: https'),
        ),
    ]

    choices = tuple((x.name, x.verbose_name) for x in definitions)

## Instruction:
Rename parameter DEFAULT_PROTOCOL to DEFAULT_URL_PROTOCOL
## Code After:
import collections

# django
from django.utils.translation import ugettext_lazy as _

ParameterDefinition = collections.namedtuple(
    'Parameter',
    [
        'name',
        'default',
        'kind',
        'verbose_name',
    ]
)


class ParameterDefinitionList(object):
    definitions = [
        ParameterDefinition(
            name='DEFAULT_URL_PROTOCOL',
            default='https',
            kind='str',
            verbose_name=_('Default url protocol'),
        ),
    ]

    choices = tuple((x.name, x.verbose_name) for x in definitions)
