class FileUploadView(CreateView):
def form_valid(self,form):
        csvfile = self.request.FILES['file'].read()
        num = str(csvfile).replace('\\n','').replace('b','').replace("'",'')
        return super(FileUploadView, self).form_valid(form)