Commit 99fb1be2 by Renzo Lucioni

Exclude unused URLs from core Oscar apps

parent a0102cfa
from oscar import app
from oscar.core.application import Application
class EdxShop(app.Shop):
# URLs are only visible to users with staff permissions
default_permissions = 'is_staff'
# Override core app instances with blank application instances to exclude their URLs.
promotions_app = Application()
catalogue_app = Application()
offer_app = Application()
search_app = Application()
application = EdxShop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment