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',
        'redactor',
        'tagging',)

settings.REDACTOR_OPTIONS = {'lang': 'en'}
settings.REDACTOR_UPLOAD = 'uploads/'

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',
        'redactor',
        'tagging',)

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

settings.REDACTOR_OPTIONS = {'lang': 'en'}
settings.REDACTOR_UPLOAD = 'uploads/'

Add django contrib redirects on opps core init
Add django contrib redirects on opps core init

  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',
          'redactor',
          'tagging',)
+ 
+ settings.MIDDLEWARE_CLASSES += (
+         'django.contrib.redirects.middleware.RedirectFallbackMiddleware',)
  
  settings.REDACTOR_OPTIONS = {'lang': 'en'}
  settings.REDACTOR_UPLOAD = 'uploads/'
  
Add django contrib redirects on opps core init
## Code Before:
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',
        'redactor',
        'tagging',)

settings.REDACTOR_OPTIONS = {'lang': 'en'}
settings.REDACTOR_UPLOAD = 'uploads/'

## Instruction:
Add django contrib redirects on opps core init
## Code After:
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',
        'redactor',
        'tagging',)

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

settings.REDACTOR_OPTIONS = {'lang': 'en'}
settings.REDACTOR_UPLOAD = 'uploads/'
