csrf exempt issues
This commit is contained in:
parent
8552c411ef
commit
3f8d419336
|
@ -9,7 +9,7 @@ from django.db.models import Q
|
|||
from ox.django.shortcuts import render_to_json_response
|
||||
from django.core.paginator import Paginator, InvalidPage, EmptyPage
|
||||
from django.template import RequestContext
|
||||
|
||||
from django.views.decorators.csrf import csrf_exempt
|
||||
|
||||
RESULTS_PER_PAGE = 6
|
||||
|
||||
|
@ -66,6 +66,7 @@ def issue_list(request):
|
|||
})
|
||||
|
||||
|
||||
@csrf_exempt
|
||||
def subscribe(request):
|
||||
email = request.POST.get("email")
|
||||
url = ERANG_SUBSCRIBE_URL + email
|
||||
|
|
Loading…
Reference in New Issue
Block a user