Re: Automating the process of creating models from the data file provided

2019-02-14 Thread Abhilasha Jha
Hi Collin
Thanks for the reply. I will see what I can do, and if this project is worth 
pursuing.

Best regards
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 django-developers@googlegroups.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/3ea14e48-6292-40cd-8dee-d03199e25fff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automating the process of creating models from the data file provided

2019-02-14 Thread Abhilasha Jha
Hi Carlton,
Thanks for the reply, saw it today. Will go through the links you have given.

Best regards
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 django-developers@googlegroups.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/80c22971-9171-4231-a8a3-6fa52aac520a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automating the process of creating models from the data file provided

2019-02-07 Thread Collin Anderson
Hi Abhilasha,

This is ringing a bell. I almost started working on an "inspectfile"
feature many years ago as a Google Summer of Code project.

https://groups.google.com/d/topic/django-developers/z88grOaxEHU/discussion

https://groups.google.com/d/topic/django-gsoc/V9FdRVZ7gMg/discussion

I ended up deciding not to do it, so I don't have much else to offer you
for guidance :)

Collin

On Thu, Feb 7, 2019 at 6:34 AM 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 django-developers@googlegroups.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/122a2d14-088b-4f9e-9bbc-0ea9dc0c7562%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-developers@googlegroups.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/CAFO84S6imd1kfUW%3DOARQxjOzD0hOYqYFOHSMOwvSwFi7nx5WZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automating the process of creating models from the data file provided

2019-02-07 Thread Carlton Gibson
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 django-developers@googlegroups.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.


Automating the process of creating models from the data file provided

2019-02-07 Thread Abhilasha Jha
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 django-developers@googlegroups.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/122a2d14-088b-4f9e-9bbc-0ea9dc0c7562%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.