Movendo as function based views para o arquivo views.py dos novos apps no Django
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
from django.shortcuts import render
|
||||
from django.http import HttpResponse
|
||||
|
||||
# Create your views here.
|
||||
# from django.shortcuts import render
|
||||
|
||||
|
||||
def blog(request):
|
||||
print('blog')
|
||||
return HttpResponse('blog do app')
|
||||
|
||||
Reference in New Issue
Block a user