Hi Abhilasha, There's any number of ways you could go... 🙂
But... Have a look at Simon Willison's Datasette project. http://datasette.readthedocs.io/ In particular see the various ...-to-sqlite tools listed here: https://datasette.readthedocs.io/en/latest/ecosystem.html If you can get that far then the existing `inspectdb` tool can get you to model files. No doubt you could improve the workflow but that should give you some guide to get started. Kind Regards, Carlton On Thursday, 7 February 2019 12:34:21 UTC+1, Abhilasha Jha wrote: > > Hi all, > I was thinking if a feature could be added to Django models, such that > when the CSV/ text or any other commonly used data file is added to the > project and the models are automatically created and populated. I have not > tried to go through nitty-gritty of the feature, but am thinking of doing > this and contributing to Django, and needed some guidance on same. > > Thanking you > Abhilasha > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/73aa7ec8-23ad-4f8e-84aa-bc66fb3be85b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.