
from enum import IntEnum


class LogType(IntEnum):
    CVN_STATUS = 0
    AUTH_ERROR = 1

LOG_TYPE = (
    (LogType.CVN_STATUS, 'CVN_STATUS'),
    (LogType.AUTH_ERROR, 'AUTH_ERROR'),
)

BASE_URL_FLATPAGES = '/investigacion/faq/'


from enum import IntEnum


class LogType(IntEnum):
    CVN_STATUS = 0
    AUTH_ERROR = 1

LOG_TYPE = (
    (LogType.CVN_STATUS.value, 'CVN_STATUS'),
    (LogType.AUTH_ERROR.value, 'AUTH_ERROR'),
)

BASE_URL_FLATPAGES = '/investigacion/faq/'

Fix a bug in LogType that broke migrations creation
Fix a bug in LogType that broke migrations creation

  
  from enum import IntEnum
  
  
  class LogType(IntEnum):
      CVN_STATUS = 0
      AUTH_ERROR = 1
  
  LOG_TYPE = (
-     (LogType.CVN_STATUS, 'CVN_STATUS'),
+     (LogType.CVN_STATUS.value, 'CVN_STATUS'),
-     (LogType.AUTH_ERROR, 'AUTH_ERROR'),
+     (LogType.AUTH_ERROR.value, 'AUTH_ERROR'),
  )
  
  BASE_URL_FLATPAGES = '/investigacion/faq/'
  
Fix a bug in LogType that broke migrations creation
## Code Before:

from enum import IntEnum


class LogType(IntEnum):
    CVN_STATUS = 0
    AUTH_ERROR = 1

LOG_TYPE = (
    (LogType.CVN_STATUS, 'CVN_STATUS'),
    (LogType.AUTH_ERROR, 'AUTH_ERROR'),
)

BASE_URL_FLATPAGES = '/investigacion/faq/'

## Instruction:
Fix a bug in LogType that broke migrations creation
## Code After:

from enum import IntEnum


class LogType(IntEnum):
    CVN_STATUS = 0
    AUTH_ERROR = 1

LOG_TYPE = (
    (LogType.CVN_STATUS.value, 'CVN_STATUS'),
    (LogType.AUTH_ERROR.value, 'AUTH_ERROR'),
)

BASE_URL_FLATPAGES = '/investigacion/faq/'
