from django.conf.urls import url, include
from django.contrib import admin
from django.views.generic import TemplateView


urlpatterns = [

    # ---django admin--- #
    url(r'^admin/', admin.site.urls),

    # ---api to access product app--- #
    url('api/v1/', include("Eshopapp.urls")),

    # --- Home page (Product table)--- #
    url(r"^$", TemplateView.as_view(template_name="home.html"), name="home")

]
0685a87644a02a149f514f67bc4949dce5f98c5f
<mask token>

<mask token>
urlpatterns = [url('^admin/', admin.site.urls), url('api/v1/', include(
    'Eshopapp.urls')), url('^$', TemplateView.as_view(template_name=
    'home.html'), name='home')]

from django.conf.urls import url, include
from django.contrib import admin
from django.views.generic import TemplateView
urlpatterns = [url('^admin/', admin.site.urls), url('api/v1/', include(
    'Eshopapp.urls')), url('^$', TemplateView.as_view(template_name=
    'home.html'), name='home')]

from django.conf.urls import url, include
from django.contrib import admin
from django.views.generic import TemplateView


urlpatterns = [

    # ---django admin--- #
    url(r'^admin/', admin.site.urls),

    # ---api to access product app--- #
    url('api/v1/', include("Eshopapp.urls")),

    # --- Home page (Product table)--- #
    url(r"^$", TemplateView.as_view(template_name="home.html"), name="home")

]