call different applications views to a main application view in django -


i have 3 different applications , main application ,where need display 3 application views in main application view.

urlpatterns = [      url(r'^$',views.index, name='index'     url(r'^app1/', include('app1.urls')),     url(r'^app2/', include('app2.urls')),     url(r'^app3/', include('app3.urls'))  ] 

however there views different applications need displayed in main application url calling.

in main application view :

def index(request):      return render_to_response(main template+all 3 applications templates) 


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -