from django.contrib import admin
from django.urls import path
from django.conf.urls import include
urlpatterns= [
path('admin/', admin.site.urls),
path('', include('DJP.urls')),
]
from django.urls import path
from . import views
from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
admin.autodiscover()
urlpatterns = [
path('', views.home, name= 'home'),
# url(r'^home/(?P<id>\d+)/$', views.data, name= 'data'),
]
from django.shortcuts import render
# Create your views here.
from .models import *
# Create your views here.
def home(request):
return render(request, 'DJP/home.html')