관리 메뉴

Silver Library (Archived)

jango - render 본문

Personal DB/Unclassified record

jango - render

Ayin Kim 2021. 1. 5. 00:11
반응형

To prevent a user to attempt 'hacky' thing by inputting a weird URL, 

 

Use:

 

        else:

 

            form = forms.SearchForm()

 

        return render(request, "rooms/search.html", {"form": form})

'Personal DB > Unclassified record' 카테고리의 다른 글

django - cleaned_data  (0) 2021.01.12
Django - all about URL  (0) 2021.01.12
django - getlist  (0) 2021.01.01
[django] pk? id? metadata?  (0) 2020.12.30
Caution - Django, space  (0) 2020.12.24