VERSION = (3, 2, 1)
__version__ = '.'.join(map(str, VERSION if VERSION[-1] else VERSION[:2]))


from django.apps import AppConfig

from .simple import *
from .query import *
from .invalidation import *
from .templatetags.cacheops import *
from .transaction import install_cacheops_transaction_support


class CacheopsConfig(AppConfig):
    name = 'cacheops'

    def ready(self):
        install_cacheops()
        install_cacheops_transaction_support()

default_app_config = 'cacheops.CacheopsConfig'

__version__ = '3.2.1'
VERSION = tuple(__version__.split('.'))


from django.apps import AppConfig

from .simple import *
from .query import *
from .invalidation import *
from .templatetags.cacheops import *
from .transaction import install_cacheops_transaction_support


class CacheopsConfig(AppConfig):
    name = 'cacheops'

    def ready(self):
        install_cacheops()
        install_cacheops_transaction_support()

default_app_config = 'cacheops.CacheopsConfig'

Use cacheops.__version__ as source of truth
Use cacheops.__version__ as source of truth

- VERSION = (3, 2, 1)
- __version__ = '.'.join(map(str, VERSION if VERSION[-1] else VERSION[:2]))
+ __version__ = '3.2.1'
+ VERSION = tuple(__version__.split('.'))
  
  
  from django.apps import AppConfig
  
  from .simple import *
  from .query import *
  from .invalidation import *
  from .templatetags.cacheops import *
  from .transaction import install_cacheops_transaction_support
  
  
  class CacheopsConfig(AppConfig):
      name = 'cacheops'
  
      def ready(self):
          install_cacheops()
          install_cacheops_transaction_support()
  
  default_app_config = 'cacheops.CacheopsConfig'
  
Use cacheops.__version__ as source of truth
## Code Before:
VERSION = (3, 2, 1)
__version__ = '.'.join(map(str, VERSION if VERSION[-1] else VERSION[:2]))


from django.apps import AppConfig

from .simple import *
from .query import *
from .invalidation import *
from .templatetags.cacheops import *
from .transaction import install_cacheops_transaction_support


class CacheopsConfig(AppConfig):
    name = 'cacheops'

    def ready(self):
        install_cacheops()
        install_cacheops_transaction_support()

default_app_config = 'cacheops.CacheopsConfig'

## Instruction:
Use cacheops.__version__ as source of truth
## Code After:
__version__ = '3.2.1'
VERSION = tuple(__version__.split('.'))


from django.apps import AppConfig

from .simple import *
from .query import *
from .invalidation import *
from .templatetags.cacheops import *
from .transaction import install_cacheops_transaction_support


class CacheopsConfig(AppConfig):
    name = 'cacheops'

    def ready(self):
        install_cacheops()
        install_cacheops_transaction_support()

default_app_config = 'cacheops.CacheopsConfig'
