mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
8 lines
220 B
Python
8 lines
220 B
Python
from django.conf.urls import url
|
|
from django.views.decorators.csrf import csrf_exempt
|
|
|
|
from ..views import APIView
|
|
|
|
urlpatterns = [
|
|
url(r'^api/$', csrf_exempt(APIView.as_view()), name='dpaste_api_create_snippet'),
|
|
]
|