}), ) # auth urlpatterns += patterns( '', url(r'^accounts/login/$', login, {}, name='fe_login'), url(r'^accounts/logout/$', logout, {}, name='fe_logout'), ) # tinymce urlpatterns += patterns( '', (r'^tinymce/', include('tinymce.urls')), ) # Home urlpatterns += patterns( 'homepage', (r'^$', 'homepage'), ) simplemenu.register( '/admin/', '/planet/', '/community-map/', '/plugins/', FlatPage.objects.all(), simplemenu.models.URLItem.objects.all(), )
urlpatterns += [ url(r'^static/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT}), ] # auth urlpatterns += [ url(r'^accounts/login/$', login, {}, name = 'fe_login'), url(r'^accounts/logout/$', logout, {}, name = 'fe_logout'), ] # tinymce urlpatterns += [ url(r'^tinymce/', include('tinymce.urls')), ] # Home urlpatterns += [ url(r'^$', homepage), ] simplemenu.register( '/admin/', '/planet/', '/community-map/', '/plugins/', FlatPage.objects.all(), simplemenu.models.URLItem.objects.all(), )