Django CSV Import Optional Field

Saturday, July 12, 2014

I am quite new in Django so apology in advance if my question sounds unnatural to django world. What I am trying to do is have model in which user can add data by each day or have CSV import field where user can add monthly data in batch.


Example of daily data is like below...



class DailyData(models.Model):
date = models.DateField("Date", blank= True)
field1 =
field2 =
etc..


so What I am trying is to have model in django where user can add single day data or have import field with csv model where data can be imported for whole month.


what will be best approach to implement this?







http://ift.tt/VWekfe