csrf exempt issues

This commit is contained in:
Sanj 2011-04-28 16:52:28 +05:30
parent 8552c411ef
commit 3f8d419336

View File

@ -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