ANTES APARECIA A TELA DO DJANGO
alurareceita\urls.py
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('', include('receitas.urls')),
path('admin/', admin.site.urls),
]
receitas\urls.py
from django.urls import path
from . import views
urlpatterns = [ path('', views.index, name='index') ]
receitas\views.py
from django.shortcuts import render from django.http import HttpResponse
Create your views here.
def index(request): return HttpResponse('