from django.apps import AppConfig


VERSION = (0, 3, 0, 'beta', 0)


def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        version = '%s %s' % (version, VERSION[3])
        if VERSION[3] != 'final':
            version = '%s %s' % (version, VERSION[4])

    return version


class SwingtimeAppConfig(AppConfig):
    name = 'swingtime'
    verbose_name = 'Calendar Configuration'


default_app_config = 'swingtime.SwingtimeAppConfig'


from django.apps import AppConfig


VERSION = (0, 3, 0, 'beta', 0)


def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        version = '%s %s' % (version, VERSION[3])
        if VERSION[3] != 'final':
            version = '%s %s' % (version, VERSION[4])

    return version


class SwingtimeAppConfig(AppConfig):
    name = 'swingtime'
    _zero_width_space = u'\u200B'  # used to make it last alphabetically, better option: http://stackoverflow.com/questions/398163/ordering-admin-modeladmin-objects-in-django-admin
    verbose_name = _zero_width_space + 'Calendar Configuration'


default_app_config = 'swingtime.SwingtimeAppConfig'

Make calendar config show up at bottom of main admin
Make calendar config show up at bottom of main admin

+ 
  from django.apps import AppConfig
  
  
  VERSION = (0, 3, 0, 'beta', 0)
  
  
  def get_version():
      version = '%s.%s' % (VERSION[0], VERSION[1])
      if VERSION[2]:
          version = '%s.%s' % (version, VERSION[2])
      if VERSION[3:] == ('alpha', 0):
          version = '%s pre-alpha' % version
      else:
          version = '%s %s' % (version, VERSION[3])
          if VERSION[3] != 'final':
              version = '%s %s' % (version, VERSION[4])
  
      return version
  
  
  class SwingtimeAppConfig(AppConfig):
      name = 'swingtime'
+     _zero_width_space = u'\u200B'  # used to make it last alphabetically, better option: http://stackoverflow.com/questions/398163/ordering-admin-modeladmin-objects-in-django-admin
-     verbose_name = 'Calendar Configuration'
+     verbose_name = _zero_width_space + 'Calendar Configuration'
  
  
  default_app_config = 'swingtime.SwingtimeAppConfig'
  
Make calendar config show up at bottom of main admin
## Code Before:
from django.apps import AppConfig


VERSION = (0, 3, 0, 'beta', 0)


def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        version = '%s %s' % (version, VERSION[3])
        if VERSION[3] != 'final':
            version = '%s %s' % (version, VERSION[4])

    return version


class SwingtimeAppConfig(AppConfig):
    name = 'swingtime'
    verbose_name = 'Calendar Configuration'


default_app_config = 'swingtime.SwingtimeAppConfig'

## Instruction:
Make calendar config show up at bottom of main admin
## Code After:

from django.apps import AppConfig


VERSION = (0, 3, 0, 'beta', 0)


def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        version = '%s %s' % (version, VERSION[3])
        if VERSION[3] != 'final':
            version = '%s %s' % (version, VERSION[4])

    return version


class SwingtimeAppConfig(AppConfig):
    name = 'swingtime'
    _zero_width_space = u'\u200B'  # used to make it last alphabetically, better option: http://stackoverflow.com/questions/398163/ordering-admin-modeladmin-objects-in-django-admin
    verbose_name = _zero_width_space + 'Calendar Configuration'


default_app_config = 'swingtime.SwingtimeAppConfig'
