old_contents: # -*- coding: utf-8 -*-
  from django.utils.translation import ugettext_lazy as _
  from django.conf.urls import patterns
  
  from cms.app_base import CMSApp
  from cms.apphook_pool import apphook_pool
  from oscar.app import application
  
  from .menu import CategoriesMenu
  
  
  class OscarApp(CMSApp):
      """
      Allows "mounting" the oscar shop and all of its urls to a specific CMS page.
      e.g at "/shop/"
      """
      name = _("Oscar")
      urls = [
          patterns('', *application.urls[0])
      ]
      menus = [CategoriesMenu]
      app_name = "oscar"
  
  apphook_pool.register(OscarApp)
  
new_contents: # -*- coding: utf-8 -*-
  from django.utils.translation import ugettext_lazy as _
  from django.conf.urls import patterns
  
  from cms.app_base import CMSApp
  from cms.apphook_pool import apphook_pool
  from oscar.app import application
  
  from .menu import CategoriesMenu
  
  
  class OscarApp(CMSApp):
      """
      Allows "mounting" the oscar shop and all of its urls to a specific CMS page.
      e.g at "/shop/"
      """
      name = _("Oscar")
      urls = [
          patterns('', *application.urls[0])
      ]
      menus = [CategoriesMenu]
  
  apphook_pool.register(OscarApp)
  
subject: Remove explicit app_name