title: File attachment path issue in CSV with django
body: <p>i have implemented csv in my current Python Django project.</p>
  
  <pre><code>writer = csv.writer(open('custom_data/abc.csv', 'w+'))
              print "abc"
              headers = []
              for i in data_desc:
  
                  headers.append((i[0].replace('_', ' ')).upper())
                  j = j+1          
  
              j=1
              writer.writerow(headers)
              """
                  fill data into csv cells
              """
              for value in data.fetchall():
                  k=0
                  no_record_check=1
  
                  row = []
                  for val in value:
  
                      row.append(val)
  
                      k = k+1       
                  j=j+1
                  writer.writerow(row)
          except:
              print "Exception here after printing"              
  
              #pass                    
  
          response = HttpResponse(mimetype='text/csv')
          now = datetime.datetime.now().strftime('%m-%d-%Y_%H:%M:%S')
          response['Content-Disposition'] = 'attachment; filename= custom_data/abc.csv'
  </code></pre>
  
  <p>code is working fine. and file with name abc.csv created successfully . but download option come with wrong name .</p>
  
  <p>i have created file with name : <strong>abc.csv</strong> under <strong>custom_report</strong> and custom_report folder reside in my project folder. (e.g. projectname/custom_report/abc.csv). i found file under this location. ::</p>
  
  <p>my project structure are: </p>
  
  <pre><code>                      projectname / app / app_name/ forms.py, views.py...
  
                        projetname / custom_report /abc.csv 
  </code></pre>
  
  <p>** my issue issue :** </p>
  
  <p><strong>file come with new name custom_data_abc.csv. with blank data. while abc.csv file under the custom_report is availabe with correct data.</strong> </p>
  
  <p>can you help me ? </p>