I'm setting up a simple website, and I wanted to integrate angularjs for the UI. However, it seems the CMS takes over everything and serves up everything, including anything I want served up through angularjs.
My urls.py file:
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
(r'^users/', include('apps.site_users.urls')),
url('^$', 'mezzanine.pages.views.page', {'slug': '/'}, name='home'),
url('', include('social.apps.django_app.urls', namespace='social')),
('^', include('mezzanine.urls')),
)
I have all the necessary changes for angularjs to work since without the CMS, everything loads just fine, but this means I can't serve up the other pages I have in the CMS. Any ideas on what needs to be done?