1from .models import userData as us
2import pandas as pd
3
4def enterData(request):
5 data=pd.read_csv(r"abc.csv",encoding='ISO-8859-1')
6 username=data['userName']
7 address=data['address']
8 for a, b in zip(username, address):
9 db=ud(userName=a,Address=a)
10 db.save()