# Path: oscar_fancypages/fancypages/views.py
# class FancyHomeView(mixins.OscarFancyHomeMixin, ProductCategoryView):
#     model = FancyPage
#     context_object_name = 'fancypage'


from django.contrib import admin
from django.conf import settings
from django.conf.urls import patterns, include, url
from oscar.app import shop
from oscar_fancypages.fancypages.views import FancyHomeView



admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', FancyHomeView.as_view(), name="home"),

    url(r'^admin/', include(admin.site.urls)),
    url(r'', include(shop.urls)),


# Path: oscar_fancypages/fancypages/views.py
# class FancyHomeView(mixins.OscarFancyHomeMixin, ProductCategoryView):
#     model = FancyPage
#     context_object_name = 'fancypage'


# Path: oscar_sandbox/sandbox/urls.py
from django.contrib import admin
from django.conf import settings
from django.conf.urls import patterns, include, url
from oscar.app import shop
from oscar_fancypages.fancypages.views import FancyHomeView




admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', FancyHomeView.as_view(), name="home"),

    url(r'^admin/', include(admin.site.urls)),
    url(r'', include(shop.urls)),


    url(r'', include('oscar_fancypages.urls')),