Django CSRF verification failed. Request aborted even with @csrf_exempt
<p>This is my view.py I am trying to get a response from a Payment Gateway
but m getting an <strong>403 Forbidden CSRF verification failed. Request aborted.</strong> after Payment I exempted CSRF Token for the view but still its showing same Error</p>

<pre><code>from django.views.decorators.csrf import csrf_exempt

@csrf_exempt
def resp(request, encResp):
    print " RESPONSE WITH CSRF EXEMPT " 
    '''
    Please put in the 32 bit alphanumeric key in quotes provided by CCAvenues.
    '''
    workingKey = WorkingKey
    decResp = decrypt(encResp,workingKey)
    data = '&lt;table border=1 cellspacing=2 cellpadding=2&gt;&lt;tr&gt;&lt;td&gt;'   
    data = data + decResp.replace('=','&lt;/td&gt;&lt;td&gt;')
    data = data.replace('&amp;','&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;')
    data = data + '&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;'

    html = '''\
    &lt;html&gt;
        &lt;head&gt;
            &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
            &lt;title&gt;Response Handler&lt;/title&gt;
        &lt;/head&gt;
        &lt;body&gt;
            &lt;center&gt;
                &lt;font size="4" color="blue"&gt;&lt;b&gt;Response Page&lt;/b&gt;&lt;/font&gt;
                &lt;br&gt;
                $response
            &lt;/center&gt;
            &lt;br&gt;
        &lt;/body&gt;
    &lt;/html&gt;
    '''
    fin = Template(html).safe_substitute(response=data)
    return HttpResponse(fin)
</code></pre>

<p>I read many solutions on stackoverflow and tried but still cant get it right</p>

<p>My main urls.py</p>

<pre><code>url(r'^booked/', include('booking.urls')),
</code></pre>

<p>My urls.py in app named <strong>booking</strong></p>

<pre><code>urlpatterns = patterns('',
url(r'^responce-cc/', "booking.views.resp", name="cc_response_url"),)
</code></pre>

<p>and the redirect url I am passing to payment gateway is</p>

<pre><code>https://www.mysitename.com/booked/responce-cc/
</code></pre>