from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    url(r'^admin/', admin.site.urls),
]

from django.conf.urls import url
from django.contrib import admin

from social_website_django_angular.views import IndexView

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url('^.*$', IndexView.as_view(), name='index')
]

Set up url for index page
Set up url for index page

  from django.conf.urls import url
  from django.contrib import admin
  
+ from social_website_django_angular.views import IndexView
+ 
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
+     url('^.*$', IndexView.as_view(), name='index')
  ]
  
Set up url for index page
## Code Before:
from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    url(r'^admin/', admin.site.urls),
]

## Instruction:
Set up url for index page
## Code After:
from django.conf.urls import url
from django.contrib import admin

from social_website_django_angular.views import IndexView

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url('^.*$', IndexView.as_view(), name='index')
]
