-
Delete
from django.shortcuts import render,HttpResponse,redirect from django.views.decorators.csrf import csrf_exempt nextId = 4 topics = [ {'id':1, 'title':'routing', 'body':'Routing is ..'}, {'id':2, 'title':'view', 'body':'View is ..'}, {'id':3, 'title':'Model', 'body':'Model is ..'}, ] def HTMLTemplate(articleTag, id=None): global topics contextUI = '' if id != None : contextUI = f''' ''' ol = '' f..
파이썬/Django
2022. 9. 18.