mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-21 19:00:12 +00:00
14 lines
473 B
Python
14 lines
473 B
Python
try:
|
|
from django.conf.urls import url
|
|
except ImportError:
|
|
from django.conf.urls.defaults import url
|
|
|
|
from .views import *
|
|
|
|
urlpatterns = [
|
|
url(r'image/(?P<key>\w+)/$', captcha_image, name='captcha-image', kwargs={'scale': 1}),
|
|
url(r'image/(?P<key>\w+)@2/$', captcha_image, name='captcha-image-2x', kwargs={'scale': 2}),
|
|
url(r'audio/(?P<key>\w+)/$', captcha_audio, name='captcha-audio'),
|
|
url(r'refresh/$', captcha_refresh, name='captcha-refresh'),
|
|
]
|