how to use in django please explain On Thursday, March 29, 2018 at 5:51:17 PM UTC+5:30, Lei Zhao wrote: > > I think you use the library xlrd to extract data from the Excel file. > The documentation for the library can be found here at > http://xlrd.readthedocs.io/en/latest/ . > > > On Thursday, March 29, 2018 at 6:03:03 PM UTC+8, arvind yadav wrote: >> >> this is may data format >> >> >> <https://lh3.googleusercontent.com/-7kQ1LYEV_RU/Wry5dGEAl0I/AAAAAAAAAvY/dfhNggR1zD8GlbHEIeYLmAj8L_z44dZgQCLcBGAs/s1600/data.png> >> from django.db import models >> class RegisterMember(models.Model): >> GENDER_CHOICES = ( >> ('M', 'Male'), >> ('F', 'Female'), >> ) >> id = models.AutoField(db_column='ID', primary_key=True) >> name = models.CharField(db_column='NAME', max_length=255) >> email = models.CharField(db_column='EMAIL', max_length=255) >> phone = models.CharField(db_column='PHONE', max_length=5000, >> blank=True, null=True) >> address = models.CharField(db_column='ADDRESS',max_length=255) >> gender = models.CharField(max_length=1, choices=GENDER_CHOICES) >> >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/08275ee8-0245-4317-9b14-449cc92e8b4c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

