Re: help me plz: getting error while importing csv file into database

2021-06-20 Thread Luciano Martins
you have to pass the 'path' variable into open I believe that's it Em sexta-feira, 18 de junho de 2021 às 15:22:41 UTC-3, rammano...@gmail.com escreveu: > Hi > i am trying to import the csv file data into database > my views.py > def Filter(request): > if request.method=="POST": >

help me plz: getting error while importing csv file into database

2021-06-18 Thread ram manoj Vuyyuru
Hi i am trying to import the csv file data into database my views.py def Filter(request): if request.method=="POST": form = DataForm(request.POST, request.FILES) if form.is_valid(): initial_obj = form.save(commit=False) data=initial_obj['data']

Re: help me plz: getting error while importing csv file into database

2021-06-18 Thread ram manoj Vuyyuru
while running this project getting this error File "C:\ProgramData\Anaconda3\lib\site-packages\django\urls\resolvers.py", line 347, in _check_pattern_name if self.pattern.name is not None and ":" in self.pattern.name: TypeError: argument of type 'type' is not iterable thank you On Fri,