def get_major_dot_minor_version(version):
    """
    Convert full VERSION Django tuple to
    a dotted string containing MAJOR.MINOR.

    For example, (1, 9, 3, 'final', 0) will result in '1.9'
    """
    return '.'.join(version.split('.')[:2])

def get_major_dot_minor_version(version):
    """
    Convert full VERSION Django tuple to
    a dotted string containing MAJOR.MINOR.

    For example, (1, 9, 3, 'final', 0) will result in '1.9'
    """
    return '.'.join([str(v) for v in version[:2]])

Fix getting major.minor django version
Fix getting major.minor django version

  def get_major_dot_minor_version(version):
      """
      Convert full VERSION Django tuple to
      a dotted string containing MAJOR.MINOR.
  
      For example, (1, 9, 3, 'final', 0) will result in '1.9'
      """
-     return '.'.join(version.split('.')[:2])
+     return '.'.join([str(v) for v in version[:2]])
  
Fix getting major.minor django version
## Code Before:
def get_major_dot_minor_version(version):
    """
    Convert full VERSION Django tuple to
    a dotted string containing MAJOR.MINOR.

    For example, (1, 9, 3, 'final', 0) will result in '1.9'
    """
    return '.'.join(version.split('.')[:2])

## Instruction:
Fix getting major.minor django version
## Code After:
def get_major_dot_minor_version(version):
    """
    Convert full VERSION Django tuple to
    a dotted string containing MAJOR.MINOR.

    For example, (1, 9, 3, 'final', 0) will result in '1.9'
    """
    return '.'.join([str(v) for v in version[:2]])
