mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
8 lines
179 B
Python
8 lines
179 B
Python
from django.http import HttpResponse
|
|
|
|
from utils.captcha import Captcha
|
|
|
|
|
|
def show_captcha(request):
|
|
return HttpResponse(Captcha(request).display(), content_type="image/gif")
|