Hi Muskan,
There isn’t anything that directly lets you load a CSV and generate
models for it as far as I know (I may be wrong).
But check out the Django documentation’s HOWTO on integrating with
legacy databases -
https://docs.djangoproject.com/en/3.1/howto/legacy-databases/.
One possible solution for what you’re trying to do may be imagined as
a flag for the ‘inspectdb’ command that lets you pass a CSV file?
Just a thought.
Good luck with GSOC.
Onward,
Arvind
On 26 Nov 2020, at 0:30, Muskan Vaswan wrote:
Hi everyone,
I am Muskan and am very new to this community however not that new to
django itself. Contributing to django is something I would really like
to
do, and I might also be participating in GSoc for the same.
I have an vague idea of what I want to fix, because I myself have used
django and just want to add things as a developer that I would've
wanted as
a user. So my question is understanding based around this idea of
mine.
*I want to know what functionality already exists that makes it easier
to
directly load a large data set into a django model from a CSV file
(going
with the simplest format or now).* When I had to do it as a user it
took me
quite a while and was a lot more complicated than I had expected,
after
being used to smooth transitions with load data. I could not find any
better methods to do it, if there indeed exists no other methods, this
is
something I would like to work on.... So this is just to confirm if my
research was thorough enough (very possibly wasn't).
Thank you! I'm excited to begin helping out!
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/a3946181-cd91-4b83-b9d6-d8d8f786b6acn%40googlegroups.com.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/158EA79E-91F4-4A65-83BD-73B5F81E94B8%40gmail.com.