Commits

Josh Cartmell committed 10eeb1b

Removed cartridge checks from SITE_FORCE_SSL_URL_PREFIXES defaults. Moving to cartridge and using append.

  • Participants
  • Parent commits ed21047

Comments (0)

Files changed (1)

File mezzanine/conf/defaults.py

 
 from mezzanine.conf import register_setting
 
-cartridge_installed = True
-
-try:
-    import cartridge
-except ImportError:
-        cartridge_installed = False
-
 register_setting(
     name="ADMIN_MENU_ORDER",
     description=_("Controls the ordering and grouping of the admin menu."),
                 "True. i.e. ('/admin', '/example') would force all urls "
                 "beginning with /admin or /example to run over ssl.",
     editable=False,
-    default=('/shop/checkout', '/shop/account') if cartridge_installed else (),
+    default=(),
 )
 
 register_setting(