Tags » Cbv

Developer Says Contribution To Shadowy PAC Operated By Lobbyist Meant For Hallandale Beach Mayor Keith London Campaign

The company building a apartment complex using City owned land and funds contributed $5,000 to a shadowy political committee operated by a lobbyist with ties to controversial Hallandale Beach Mayor Keith London. 576 more words


How to Read an uploaded .csv file in django CBV

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)