# -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
from django.conf import settings


trans_app_label = _('Opps')

settings.INSTALLED_APPS += (
    'opps.article',
    'opps.image',
    'opps.channel',
    'opps.source',
    'django.contrib.redirects',
    'django_thumbor',
    'redactor',
    'tagging',)

settings.MIDDLEWARE_CLASSES += (
    'django.contrib.redirects.middleware.RedirectFallbackMiddleware',)

# redactor
getattr(settings, 'REDACTOR_OPTIONS', {'lang': 'en'})
getattr(settings, 'REDACTOR_UPLOAD', 'uploads/')

# thumbor
getattr(settings, 'THUMBOR_SERVER', 'http://localhost:8888')
getattr(settings, 'THUMBOR_MEDIA_URL', 'http://localhost:8000/media')
getattr(settings, 'THUMBOR_SECURITY_KEY', '')

@@ -293,24 +293,37 @@
 o_thumbor',%0A
+    'googl',%0A
     'redacto
@@ -448,16 +448,130 @@
 are',)%0A%0A
+# Opps%0Agetattr(settings, 'OPPS_SHORT', 'googl')%0Agetattr(settings, 'OPPS_SHORT_URL', 'googl.short.GooglUrlShort')%0A%0A
 # redact

add googl on core init