Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- urls.py
- from django.urls import path
- from . import views
- urlpatterns = [
- path('', views.index),
- ]
- views.py
- from django.shortcuts import render
- def index(request):
- return render(request, 'main.html')
Advertisement
Add Comment
Please, Sign In to add comment