from django.conf.urls import include, url
from django.views.generic.base import TemplateView

from . import views as core_views
from .category.urls import urlpatterns as category_urls
from .collection.urls import urlpatterns as collection_urls
from .customer.urls import urlpatterns as customer_urls
from .discount.urls import urlpatterns as discount_urls
from .menu.urls import urlpatterns as menu_urls
from .order.urls import urlpatterns as order_urls
from .page.urls import urlpatterns as page_urls
from .product.urls import urlpatterns as product_urls
from .search.urls import urlpatterns as search_urls
from .shipping.urls import urlpatterns as shipping_urls
from .sites.urls import urlpatterns as site_urls
from .staff.urls import urlpatterns as staff_urls
from .taxes.urls import urlpatterns as taxes_urls
# BEGIN :: SoftButterfly Extensions --------------------------------------------
from .brand.urls import urlpatterns as brand_urls
from .widget.slider.urls import urlpatterns as slider_urls
from .widget.banner.urls import urlpatterns as banner_urls
from .widget.scene.urls import urlpatterns as scene_urls
from .widget.benefit.urls import urlpatterns as benefit_urls
from .store.physical_store.urls import urlpatterns as store_urls
from .store.social_network.urls import urlpatterns as social_network_urls
from .store.special_page.urls import urlpatterns as special_page_urls
from .store.bank_account.urls import urlpatterns as bank_account_urls
from .store.footer_item.urls import urlpatterns as footer_item_urls
# END :: SoftButterfly Extensions ----------------------------------------------


urlpatterns = [
    url(r'^$', core_views.index, name='index'),
    url(r'^categories/', include(category_urls)),
    url(r'^collections/', include(collection_urls)),
    url(r'^orders/', include(order_urls)),
    url(r'^page/', include(page_urls)),
    url(r'^products/', include(product_urls)),
    url(r'^customers/', include(customer_urls)),
    url(r'^staff/', include(staff_urls)),
    url(r'^discounts/', include(discount_urls)),
    url(r'^settings/', include(
        site_urls + social_network_urls
        + special_page_urls + bank_account_urls + footer_item_urls)),  # Extensions
    url(r'^menu/', include(menu_urls)),
    url(r'^shipping/', include(shipping_urls)),
    url(r'^style-guide/', core_views.styleguide, name='styleguide'),
    url(r'^search/', include(search_urls)),
    url(r'^taxes/', include(taxes_urls)),
    url(r'^next/', TemplateView.as_view(template_name='dashboard/next.html')),
    # BEGIN :: SoftButterfly Extensions ----------------------------------------
    url(r'^brand/', include(brand_urls)),
    url(r'^slider/', include(slider_urls)),
    url(r'^banner/', include(banner_urls)),
    url(r'^scene/', include(scene_urls)),
    url(r'^store/', include(store_urls)),
    url(r'^benefit/', include(benefit_urls)),
    # END :: SoftButterfly Extensions ------------------------------------------
]

[((33, 4, 33, 46), 'django.conf.urls.url', 'url', (), '', False, 'from django.conf.urls import include, url\n'), ((47, 4, 47, 67), 'django.conf.urls.url', 'url', (), '', False, 'from django.conf.urls import include, url\n'), ((34, 25, 34, 47), 'django.conf.urls.include', 'include', ({(34, 33, 34, 46): 'category_urls'}, {}), '(category_urls)', False, 'from django.conf.urls import include, url\n'), ((35, 26, 35, 50), 'django.conf.urls.include', 'include', ({(35, 34, 35, 49): 'collection_urls'}, {}), '(collection_urls)', False, 'from django.conf.urls import include, url\n'), ((36, 21, 36, 40), 'django.conf.urls.include', 'include', ({(36, 29, 36, 39): 'order_urls'}, {}), '(order_urls)', False, 'from django.conf.urls import include, url\n'), ((37, 19, 37, 37), 'django.conf.urls.include', 'include', ({(37, 27, 37, 36): 'page_urls'}, {}), '(page_urls)', False, 'from django.conf.urls import include, url\n'), ((38, 23, 38, 44), 'django.conf.urls.include', 'include', ({(38, 31, 38, 43): 'product_urls'}, {}), '(product_urls)', False, 'from django.conf.urls import include, url\n'), ((39, 24, 39, 46), 'django.conf.urls.include', 'include', ({(39, 32, 39, 45): 'customer_urls'}, {}), '(customer_urls)', False, 'from django.conf.urls import include, url\n'), ((40, 20, 40, 39), 'django.conf.urls.include', 'include', ({(40, 28, 40, 38): 'staff_urls'}, {}), '(staff_urls)', False, 'from django.conf.urls import include, url\n'), ((41, 24, 41, 46), 'django.conf.urls.include', 'include', ({(41, 32, 41, 45): 'discount_urls'}, {}), '(discount_urls)', False, 'from django.conf.urls import include, url\n'), ((42, 23, 44, 67), 'django.conf.urls.include', 'include', ({(43, 8, 44, 66): '(site_urls + social_network_urls + special_page_urls + bank_account_urls +\n    footer_item_urls)'}, {}), '(site_urls + social_network_urls + special_page_urls +\n    bank_account_urls + footer_item_urls)', False, 'from django.conf.urls import include, url\n'), ((45, 19, 45, 37), 'django.conf.urls.include', 'include', ({(45, 27, 45, 36): 'menu_urls'}, {}), '(menu_urls)', False, 'from django.conf.urls import include, url\n'), ((46, 23, 46, 45), 'django.conf.urls.include', 'include', ({(46, 31, 46, 44): 'shipping_urls'}, {}), '(shipping_urls)', False, 'from django.conf.urls import include, url\n'), ((48, 21, 48, 41), 'django.conf.urls.include', 'include', ({(48, 29, 48, 40): 'search_urls'}, {}), '(search_urls)', False, 'from django.conf.urls import include, url\n'), ((49, 20, 49, 39), 'django.conf.urls.include', 'include', ({(49, 28, 49, 38): 'taxes_urls'}, {}), '(taxes_urls)', False, 'from django.conf.urls import include, url\n'), ((50, 19, 50, 76), 'django.views.generic.base.TemplateView.as_view', 'TemplateView.as_view', (), '', False, 'from django.views.generic.base import TemplateView\n'), ((52, 20, 52, 39), 'django.conf.urls.include', 'include', ({(52, 28, 52, 38): 'brand_urls'}, {}), '(brand_urls)', False, 'from django.conf.urls import include, url\n'), ((53, 21, 53, 41), 'django.conf.urls.include', 'include', ({(53, 29, 53, 40): 'slider_urls'}, {}), '(slider_urls)', False, 'from django.conf.urls import include, url\n'), ((54, 21, 54, 41), 'django.conf.urls.include', 'include', ({(54, 29, 54, 40): 'banner_urls'}, {}), '(banner_urls)', False, 'from django.conf.urls import include, url\n'), ((55, 20, 55, 39), 'django.conf.urls.include', 'include', ({(55, 28, 55, 38): 'scene_urls'}, {}), '(scene_urls)', False, 'from django.conf.urls import include, url\n'), ((56, 20, 56, 39), 'django.conf.urls.include', 'include', ({(56, 28, 56, 38): 'store_urls'}, {}), '(store_urls)', False, 'from django.conf.urls import include, url\n'), ((57, 22, 57, 43), 'django.conf.urls.include', 'include', ({(57, 30, 57, 42): 'benefit_urls'}, {}), '(benefit_urls)', False, 'from django.conf.urls import include, url\n')]