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":
>
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']
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, Ju
3 matches
Mail list logo