Posts by Nunes • 3 points
2 posts
-
0
votes1
answer325
viewsQ: Doubt with Django 2.0 views and urls
How best to do these functions in the views.py, or it has to be that way? from django.shortcuts import render def index(request): return render(request, 'contas/index.html') def cadastro(request):…
-
0
votes2
answers3216
viewsQ: Crud with Python
What would be the problem with these codes? Someone could guide me which is the best practice to make a system of registration, editing, exclusion and consultation? First code: class Cadastro: def…