Re: Model Generation for CSV, XLS Files

2020-11-26 Thread Mariusz Felisiak
Hi,

Please take a look at existing ticket #5253 
 which was rejected. We should 
reach a strong consensus on the mailing list to reopen a closed ticket (see 
triaging guidelines with regards to wontfix tickets 
),
 
but I think that Russ' comment 
 is still valid.

Best,
Mariusz

-- 
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/58c868e9-0818-45ca-8be9-537787f5d1b2n%40googlegroups.com.


Re: Model Generation for CSV, XLS Files

2020-11-26 Thread Muskan Vaswan
Django-import- export is along the lines of what I want to implement, this 
is how i eventually managed to import a csv file as a user there are 
drawbacks to the library, the biggest one being its not the easiest to use 
without admin integration, which isn't always possible in large projects... 
I wanted to implement something similar to loaddata, but for .csv files, or 
.xls files rather than just the dumpdata.json  

```python manage.py dumpdata > dumped_data.json```
and ```python manage.py loaddata < dumped_data.json``` do an Excellent job 
of taking data from existing django models and re using them, I was 
thinking about adding a similar functionality for datasets into models. 

So something like ```*python manage.py loaddata datast.csv .*```
Do you think this would be helpful?

P.S. I'm very new to this so I'm not sure how to go about making a proposal 
in the community etc, so if I'm doing this wrong, please point me to the 
correct direction

On Friday, 27 November 2020 at 00:39:13 UTC+5:30 jon.du...@gmail.com wrote:

> Is django-import-export at all along the lines of what you're looking for?
>
> https://github.com/django-import-export/django-import-export
>
> > django-import-export is a Django application and library for importing 
> and exporting data with included admin integration.
> > ...
> > support multiple formats (Excel, CSV, JSON, ...)
>
> On Wed, Nov 25, 2020 at 11:53 AM 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-develop...@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/10f21e35-9ff3-42c6-8798-dfd3cda0ecb7n%40googlegroups.com.


Re: Increasing support for Microsoft SQL Server

2020-11-26 Thread Warren Chu
Thanks for link references - they've been helpful.

We're in the process of forking the existing django-mssql-backend 
 and setting up 
related pipelines. We're also reviewing previously logged Github issues, 
and preparing an internal Django app as a tool and onboarding opportunity. 
Are there any other hot topics related to Django and MSSQL? We're happy to 
discuss offline in a video call as well.

Cheers,
Warren 

On Tuesday, 10 November 2020 at 03:05:44 UTC-8 uri...@gmail.com wrote:

>
> This thread in particular, I think.
> https://groups.google.com/g/django-developers/c/FbBcUCzrSZo/m/EoFNbR2BDgAJ
> On Monday, November 9, 2020 at 11:56:01 PM UTC-10 Adam Johnson wrote:
>
>> Hi Warren,
>>
>> Thanks for looking at working on this. SQL Server is (I believe) the most 
>> popular not-in-core DB backend. Carlton's suggestions are solid.
>>
>> I'd also point you to reading the old mailing list posts: 
>> https://groups.google.com/g/django-developers/search?q=microsoft%20sql . 
>> I recall there was a few years ago a previous Microsoft effort to support 
>> Django + SQL Server, and some people including the author of django-mssql, 
>> Michael Manfre, were flown out to Redmond(?) for some discussions. But I 
>> don't know what came of that.
>>
>> Thanks,
>>
>> Adam
>>
>> On Sun, 8 Nov 2020 at 11:32, Carlton Gibson  wrote:
>>
>>> HI Warren. 
>>>
>>> Thanks for your mail. 
>>>
>>> 1 - How can we best collaborate?
>>>
>>>
>>> I’d guess the best thing would be to communicate with the existing 
>>> contributors and ask where resource would be best spent. 
>>>
>>> I’m not mssql-server user myself, but first question I’d be asking is 
>>> where is the backend not feature-equivalent to the backends in core? (I 
>>> can’t tell you that I’m afraid.) A good test would be whether it passes the 
>>> django test suite?
>>>
>>> Kind Regards,
>>>
>>> Carlton
>>>
>>>
>>>
>>>
>>> On 3 Nov 2020, at 21:50, Warren Chu  wrote:
>>>
>>> Hi All,
>>>
>>> Microsoft has commissioned internal resources, of which I'm a member, to 
>>> drive development and support of an open source Microsoft SQL Server 
>>> backend solution for Django. This project would exist under the 
>>> github.com/microsoft organization.
>>>
>>> We recognize there is an existing and active project [
>>> https://github.com/ESSolutions/django-mssql-backend], and we'd like to 
>>> solicit ideas and feedback from the Django community on the best way to 
>>> proceed.
>>>
>>> Some initial questions we have are:
>>>
>>> 1 - How can we best collaborate?
>>> 2 - What issues or challenges are most pressing to make MSSQL-Django 
>>> work better for you?
>>>
>>> Thanks,
>>> Warren
>>>
>>> -- 
>>> 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-develop...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-developers/25102379-5df3-4c55-a786-ac9acda20b13n%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-develop...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-developers/52921BEA-3ACE-4C49-995A-FD8F3597352C%40gmail.com
>>>  
>>> 
>>> .
>>>
>>
>>
>> -- 
>> Adam
>>
>

-- 
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/416802cb-8a71-4440-8987-1bc5f4e29276n%40googlegroups.com.


Re: Improving MSSQL and Azure SQL support on Django

2020-11-26 Thread Warren Chu
Hi All,

Microsoft has now committed ongoing resources towards improving MSSQL and 
Azure SQL support for Django. We're currently focused on internal 
compliance and forking the ESSolutions django-mssql-backend 
, adding testing 
pipelines, refactoring the Django DB engine naming convention, and 
addressing current test suite errors.

We'd love to hear from current mssql-backend maintainers as well as 
mssql-backend users about the existing issues and feature requests that we 
should be prioritizing.

We looking forward to engaging the community and working towards MSSQL as a 
first-class supported backend for Django.

-Warren

On Wednesday, 4 December 2019 at 07:05:25 UTC-8 Tim Allen wrote:

> Hi Sean, just an update from what I know.
>
> We are still waiting for a reply from Microsoft. They're a large company, 
> so understandably, it takes a little while.
>
>
> For now, if people need to get onto Django 2.2 for long term support 
> (which will last until April, 2022), you can use this package:
>
> https://github.com/ESSolutions/django-mssql-backend I've been running it 
> in production for months without incident. Of course, YMMV.
>
>
> If Microsoft and/or the DSF end up wanting to bring support under the 
> Django umbrella, the django-mssql-backend repository is a possible 
> starting point, IMHO.
>
> The django-mssql-backend is currently being developed and support for 
> Django 3.0 is being worked on: ESSolutions/django-mssql-backend#18 
> 
>
>
> Regards,
>
>
> Tim
>
> On Monday, December 2, 2019 at 11:03:56 AM UTC-5, Sean Martz wrote:
>>
>> Hello,
>>
>> It seems like this issue has lost momentum. Is this still something 
>> that's on anyones radar? It looks like django-pyodbc-azure is not actively 
>> maintained anymore (it looks like Michaya has taken a hiatus from GitHub). 
>> It also looks like there's a small community potentially popping up that's 
>> interested in first class MSSQL Server support for Django. (
>> https://github.com/FlipperPA/django-mssql-backend). Is Microsoft still 
>> interested in committing resources to this goal? In my situation, it would 
>> be a lot easier to sell stakeholders and decision makers on Django if it 
>> had first class support for MSSQL Server.
>>
>> For what it's worth, Django-pyodbc-azure is still working well.
>>
>> Cheers,
>> Sean
>>
>>

-- 
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/188ccc39-4675-45f1-8303-ed2b93d51dfcn%40googlegroups.com.


Re: Model Generation for CSV, XLS Files

2020-11-26 Thread Jon Dufresne
Is django-import-export at all along the lines of what you're looking for?

https://github.com/django-import-export/django-import-export

> django-import-export is a Django application and library for importing
and exporting data with included admin integration.
> ...
> support multiple formats (Excel, CSV, JSON, ...)

On Wed, Nov 25, 2020 at 11:53 AM 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/CADhq2b4Mx902FKtRuB1KHke_7GKSX4e%2BmV%2Bij579WPVN6ec2rg%40mail.gmail.com.


Re: Model Generation for CSV, XLS Files

2020-11-26 Thread Muskan Vaswan
I would like to tackle this singularly first if possible, especially for
gsoc. Hope you understand I appreciate your offer


On Thu, 26 Nov, 2020, 9:25 pm Shoury Sharma,  wrote:

> Hello!
> I'm also looking forward for GSOC'21. If you prefer we could try merging
> this functionalities by submitting patches.
> Regards
>
> On Thu, 26 Nov, 2020, 1:22 am 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/CAO3iMDH0-a59q-7S75cCv2dREqNYk_5vr1V2WTg9nFb3b4qrRQ%40mail.gmail.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/CAOoM%2B4NyokLOnc-fgEGUUCyWK3eSeAV-%3DRN6oc0k7eZSQa_oUA%40mail.gmail.com.


Re: Model Generation for CSV, XLS Files

2020-11-26 Thread Muskan Vaswan
Thank you all for your response, I really appreciate it. This seems to be a 
very active and helpful community already love django more!

On Thursday, 26 November 2020 at 21:25:30 UTC+5:30 shan...@gmail.com wrote:

> Hello!
> I'm also looking forward for GSOC'21. If you prefer we could try merging 
> this functionalities by submitting patches. 
> Regards
>
> On Thu, 26 Nov, 2020, 1:22 am 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-develop...@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/2dc59790-fa5b-44de-9d12-ca656e317745n%40googlegroups.com.


Re: Model Generation for CSV, XLS Files

2020-11-26 Thread Shoury Sharma
Hello!
I'm also looking forward for GSOC'21. If you prefer we could try merging
this functionalities by submitting patches.
Regards

On Thu, 26 Nov, 2020, 1:22 am 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/CAO3iMDH0-a59q-7S75cCv2dREqNYk_5vr1V2WTg9nFb3b4qrRQ%40mail.gmail.com.


Re: Model Generation for CSV, XLS Files

2020-11-26 Thread Philip Mutua
Hi Musksan,

You need to implement some functionality to upload the CSV file and read it
then upload data into into database in bulk. You can django has a way to
add multiple objects using bulk_create. Here is a full example I hope it
will help.

https://github.com/pmutua/drf_csv_xlsx_file_upload

On Wed, 25 Nov 2020, 22:52 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/CAH5sparqCDyBVRB1Dhbd299DqXc%2BUzpNAKy%2BH0z_%3DsLTfwVE2A%40mail.gmail.com.


RE: CAUTION

2020-11-26 Thread HimanshuPoptani
tHANKXXX…. Sent from Mail for Windows 10 From: Carlton GibsonSent: 19 November 2020 19:32To: Django developers (Contributions to Django itself)Subject: Re: CAUTION Hi. Welcome.  Check out the Contributing Guide: https://docs.djangoproject.com/en/dev/internals/contributing/ I hope that helps. Carlton On 19 Nov 2020, at 10:46, Himanshu Poptani  wrote: Ya i know this is gonna be really silly . But how to start contributing in Django Open Source? I am an intermediate in the topic.As being a Community Please Help. -- 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/4be863a0-e4fb-445e-848f-057efff60630n%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/DCDE7A58-0E6C-421C-8A3B-1C8E3F65AC43%40gmail.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/F31A9CE6-128B-450D-9649-7E4FBBA20524%40hxcore.ol.


Re: Request for Comment: settings growth configuring Email Backend.

2020-11-26 Thread Carlton Gibson
Hi Michiel.

> On 25 Nov 2020, at 17:53, Michiel Beijen  wrote:
> 
> the old ones should be marked deprecated and
> probably should have been marked as such some Django releases ago.

There you are, super. 

Thank you for your input! 

Kind Regards,

Carlton




-- 
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/184FD5E1-CB9E-4909-A99F-4636EFDB8218%40gmail.com.