Django project website UX: call for help!

2024-02-01 Thread Contributions to Django itself
Hello everyone,
at 20tab we just finished collaborating with the Django Software Foundation 
to improve the Django project website's accessibility and usability.

We now need you to help us understand how involved people are in the Django 
project and how much they care for good UX. Fill out this very short form 
and let us know! 

https://t.co/cWiMc6SJPB

Thank you to all of you who will take the time to respond - your input is 
of immense value to us.

Feel free to raise any questions here.

-- 
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/76615d60-853a-45a7-b4a6-b75f85d808b5n%40googlegroups.com.


Re: HELP needed in a Reactjs Django project

2023-10-14 Thread Dinesh Subramaniyam
I have done like this where there is input in front end and data is passed
to django admin panel you have to make first crossorigin in django and then
make api structure in django and then pass it in reactjs call api from
axios I have code of it I will send you after some time understand it
simple code you will resolve your problem

On Fri, Oct 13, 2023, 19:44 Plamedi klj  wrote:

> Bien
>
> Le ven. 13 oct. 2023 à 14:14, Tejas Vaij  a
> écrit :
>
>> I am trying to upload a blob from a service-worker in react-js to a
>> django server but for some reason it is not getting uploaded. I have tried
>> a lot of things but nothing seems to be working. Can anyone please help me
>> know what is going wrong with my code.
>>
>> Here is the stackoverflow link where I have mentioned about the problem
>> in detail
>>
>> https://stackoverflow.com/questions/77280149/not-able-to-upload-file-to-django-server-from-service-worker-in-react-js
>>
>> --
>> 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/a1255819-e1c5-40fe-925d-406c9683fa53n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-developers/a1255819-e1c5-40fe-925d-406c9683fa53n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CABZ%3D34h5knp_Nz0P3kO9p%3D9%3DW30wxNrZHe9SokSwu0iFOW40Ew%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-developers/CABZ%3D34h5knp_Nz0P3kO9p%3D9%3DW30wxNrZHe9SokSwu0iFOW40Ew%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAFmGLqmw2_30qvZ%2BELtyzhcQ-%3DhJ0Sb%2BQrgeM6Js%2BvFJu8XKTA%40mail.gmail.com.


Re: HELP needed in a Reactjs Django project

2023-10-13 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi!

I think you've found the wrong mailing list for this post. This mailing list is 
for discussing the development of Django itself, not for support using Django. 
This means the discussions of bugs and features in Django itself, rather than 
in your code using it. People on this list are unlikely to answer your support 
query with their limited time and energy.

For support, please follow the "Getting Help" page: 
https://docs.djangoproject.com/en/stable/faq/help/ . This will help you find 
people who are willing to support you, and to ask your question in a way that 
makes it easy for them to answer.

Thanks for your understanding and all the best,

Adam

On Thu, Oct 12, 2023, at 8:03 AM, Plamedi klj wrote:
> Bien
> 
> Le ven. 13 oct. 2023 à 14:14, Tejas Vaij  a écrit :
>> I am trying to upload a blob from a service-worker in react-js to a django 
>> server but for some reason it is not getting uploaded. I have tried a lot of 
>> things but nothing seems to be working. Can anyone please help me know what 
>> is going wrong with my code.
>> 
>> Here is the stackoverflow link where I have mentioned about the problem in 
>> detail
>> https://stackoverflow.com/questions/77280149/not-able-to-upload-file-to-django-server-from-service-worker-in-react-js
>> 
>> 
>> -- 
>> 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/a1255819-e1c5-40fe-925d-406c9683fa53n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-developers/a1255819-e1c5-40fe-925d-406c9683fa53n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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/CABZ%3D34h5knp_Nz0P3kO9p%3D9%3DW30wxNrZHe9SokSwu0iFOW40Ew%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-developers/CABZ%3D34h5knp_Nz0P3kO9p%3D9%3DW30wxNrZHe9SokSwu0iFOW40Ew%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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/a8894a08-62ab-4820-8297-4bdc1d72963c%40app.fastmail.com.


Re: HELP needed in a Reactjs Django project

2023-10-13 Thread Plamedi klj
Bien

Le ven. 13 oct. 2023 à 14:14, Tejas Vaij  a écrit :

> I am trying to upload a blob from a service-worker in react-js to a django
> server but for some reason it is not getting uploaded. I have tried a lot
> of things but nothing seems to be working. Can anyone please help me know
> what is going wrong with my code.
>
> Here is the stackoverflow link where I have mentioned about the problem in
> detail
>
> https://stackoverflow.com/questions/77280149/not-able-to-upload-file-to-django-server-from-service-worker-in-react-js
>
> --
> 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/a1255819-e1c5-40fe-925d-406c9683fa53n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/a1255819-e1c5-40fe-925d-406c9683fa53n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CABZ%3D34h5knp_Nz0P3kO9p%3D9%3DW30wxNrZHe9SokSwu0iFOW40Ew%40mail.gmail.com.


HELP needed in a Reactjs Django project

2023-10-13 Thread Tejas Vaij
I am trying to upload a blob from a service-worker in react-js to a django 
server but for some reason it is not getting uploaded. I have tried a lot 
of things but nothing seems to be working. Can anyone please help me know 
what is going wrong with my code.

Here is the stackoverflow link where I have mentioned about the problem in 
detail
https://stackoverflow.com/questions/77280149/not-able-to-upload-file-to-django-server-from-service-worker-in-react-js

-- 
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/a1255819-e1c5-40fe-925d-406c9683fa53n%40googlegroups.com.


Re: Need help for my first Open Source Contribution.

2023-03-01 Thread Durval Carvalho


Hi Siddhiraj,

Welcome to the open-source community! It's great to see you interested in 
contributing to Django. Here are some suggestions on how to get started:

   1. 
   
   Check out the Django Contributing Guide: 
   https://docs.djangoproject.com/en/stable/internals/contributing/. This 
   guide provides an overview of the different ways you can contribute to 
   Django.
   2. 
   
   If you're looking to contribute code, take a look at the "Advice for New 
   Contributors" section in the guide: 
   
https://docs.djangoproject.com/en/stable/internals/contributing/new-contributors/.
 
   This section provides some helpful tips and best practices for getting 
   started.
   3. 
   
   You can also work through the "Writing Your First Patch" tutorial: 
   https://docs.djangoproject.com/en/stable/intro/contributing/. This 
   tutorial walks you through the process of contributing a patch to Django.
   4. 
   
   If you get stuck or have any questions, don't hesitate to post back in 
   the django-developers group or the "Mentorship" section on the forum: 
   https://forum.djangoproject.com/c/internals/mentorship/10.
   
I hope this helps you get started with your first contribution to Django. 
Good luck!

Em quinta-feira, 23 de fevereiro de 2023 às 11:49:21 UTC-3, Siddhiraj R 
Kolwankar escreveu:

> Helllo Everyone!
> Im Siddhiraj R Kolwankar.
> Currently I'm pursuing BE in Artificial Intelligence and Data Science from 
> Terna Engineering College.
> I have more than 2 years of experience in Backend Development. ( 
> Python/Django ).
> Im interested in Open Source Contribution but I don't know anything about 
> it. How to start and what things to follow and I want to contribute as a 
> developer. Can anyone help me for my first Open Source Contribution...?
>
> Thank you!
>
> Linktree: https://linktr.ee/siddhirajkolwankar
>

-- 
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/7614e8fa-ba94-484c-b747-f7d10aed7ab9n%40googlegroups.com.


Need help for my first Open Source Contribution.

2023-02-23 Thread Siddhiraj R Kolwankar
Helllo Everyone!
Im Siddhiraj R Kolwankar.
Currently I'm pursuing BE in Artificial Intelligence and Data Science from 
Terna Engineering College.
I have more than 2 years of experience in Backend Development. ( 
Python/Django ).
Im interested in Open Source Contribution but I don't know anything about 
it. How to start and what things to follow and I want to contribute as a 
developer. Can anyone help me for my first Open Source Contribution...?

Thank you!

Linktree: https://linktr.ee/siddhirajkolwankar

-- 
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/6b860142-4fe2-4140-bb5f-b64d9e7c1a0cn%40googlegroups.com.


Re: help needed in #33586

2022-09-20 Thread Bhuvnesh Sharma
Thanks Simon! I understood.

On Tuesday, September 20, 2022 at 1:44:10 AM UTC+5:30 charettes wrote:

> Hello Bhuvnesh,
>
> I tried to provide some guidance on the ticket 
> <https://code.djangoproject.com/ticket/33586#comment:15>. I know you are 
> eager on getting help but please allow for a few non-weekend days before 
> elevating your request for support as most of us are volunteers here.
>
> Cheers,
> Simon
>
> Le lundi 19 septembre 2022 à 15:10:38 UTC-4, bhuvn...@gmail.com a écrit :
>
>> Hey , can anyone help me in issue #33586 
>> <https://code.djangoproject.com/ticket/33586> ?
>
>

-- 
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/2ad0a084-87ff-4c3b-8eb0-f7b9971c7f78n%40googlegroups.com.


Re: help needed in #33586

2022-09-19 Thread charettes
Hello Bhuvnesh,

I tried to provide some guidance on the ticket 
<https://code.djangoproject.com/ticket/33586#comment:15>. I know you are 
eager on getting help but please allow for a few non-weekend days before 
elevating your request for support as most of us are volunteers here.

Cheers,
Simon

Le lundi 19 septembre 2022 à 15:10:38 UTC-4, bhuvn...@gmail.com a écrit :

> Hey , can anyone help me in issue #33586 
> <https://code.djangoproject.com/ticket/33586> ?

-- 
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/9cbd19ef-6448-4d6a-8fe3-6b4dd3f360een%40googlegroups.com.


help needed in #33586

2022-09-19 Thread Bhuvnesh Sharma
Hey , can anyone help me in issue #33586 
<https://code.djangoproject.com/ticket/33586> ?

-- 
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/d7e49815-23a1-413f-8922-986d3d32eb31n%40googlegroups.com.


Re: Need help on solving an issue

2022-09-07 Thread Carlton Gibson
Hi Arka. Welcome.

Did you see the contributing guidelines?
https://docs.djangoproject.com/en/4.1/internals/contributing/

Then make sure you're set up to run the unit tests:
https://docs.djangoproject.com/en/4.1/internals/contributing/writing-code/unit-tests/

If you can create a test-case for the issue, that shows how it fails,
that's a great start.

Then take a look at this PR, which looks related 🤔 — although that needs
confirming (and it needs a test case at least).
https://github.com/django/django/pull/15573

I hope that helps.

Kind Regards,

Carlton

On Wed, 7 Sept 2022 at 15:58, Arka Pratim Chaudhuri 
wrote:

> Hey, can anyone help me in solving #33985
> <https://code.djangoproject.com/ticket/33985> . This is actually my first
> time & I'm totally confused of what to do.
>
> --
> 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/97e2b0e7-2574-4a14-a55a-38beff787964n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/97e2b0e7-2574-4a14-a55a-38beff787964n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAJwKpyT7OXyiE5L%2BFUOeypGnNugnwtwPJeNSGb5CqT8TZQpquA%40mail.gmail.com.


Need help on solving an issue

2022-09-07 Thread Arka Pratim Chaudhuri
Hey, can anyone help me in solving #33985 
<https://code.djangoproject.com/ticket/33985> . This is actually my first 
time & I'm totally confused of what to do.

-- 
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/97e2b0e7-2574-4a14-a55a-38beff787964n%40googlegroups.com.


Re: mssql-django - Need help to contribute / run tests locally

2022-02-15 Thread Warren Chu
Hi All,

As a project admin for mssql-django, I agree with the above sentiment. The 
support.md policy of the project has now removed the mention of this Google 
group, and we will look to better direct users to the Github issues of 
mssql-django as the primary support channel.

Thanks,
Warren

On Tuesday, 15 February 2022 at 12:19:45 UTC-8 jean.f...@optelgroup.com 
wrote:

> I agree with you.
>
> On Tuesday, February 15, 2022 at 2:34:14 PM UTC-5 Adam Johnson wrote:
>
>> I don't think Microsoft have the right to claim this as their discussion 
>> forum - they've been welcome to post about development in the past, but 
>> there are 11k people subscribed to this list interested in Django, very few 
>> in MS SQL.
>>
>> On Tue, Feb 15, 2022 at 7:26 PM Jean Frenette  
>> wrote:
>>
>>> I see what you mean, but according to this page (
>>> https://github.com/microsoft/mssql-django/blob/dev/SUPPORT.md), I 
>>> thought I would find an answer here.
>>>
>>> Thank you.
>>>
>>> On Tuesday, February 15, 2022 at 2:01:41 PM UTC-5 Adam Johnson wrote:
>>>
>>>> Hi
>>>>
>>>> This is a bit off topic for this list - mssql-django is not an official 
>>>> Django project. I suggest you contact the maintainers of that project at 
>>>> Microsoft, perhaps through GitHub discussions/issues or email.
>>>>
>>>> Thanks,
>>>>
>>>> Adam
>>>>
>>>> On Tue, Feb 15, 2022 at 1:26 PM Jean Frenette  
>>>> wrote:
>>>>
>>>>> Hello,
>>>>> I recently started contributing to the mssql-django project (
>>>>> https://github.com/microsoft/mssql-django), and I'm not able to run 
>>>>> specific tests included in that project, locally.  My goal is to be able 
>>>>> to 
>>>>> debug some of broken tests, while I try to make some modifications to the 
>>>>> code.
>>>>>
>>>>> I can run specific tests that are included in the Django project tests 
>>>>> (in the django folder created by following the contributing file 
>>>>> instructions 
>>>>> https://github.com/microsoft/mssql-django/blob/dev/CONTRIBUTING.md).  
>>>>> I can NOT run tests individually (or debug) that are specific to the 
>>>>> mssql-django project.
>>>>>
>>>>> Any help would be appreciated.
>>>>>
>>>>> Thank you very much
>>>>>
>>>>> -- 
>>>>> 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/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/django-developers/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> 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/80365849-9286-4c52-a17b-533e32c946c1n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-developers/80365849-9286-4c52-a17b-533e32c946c1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/bd248fd2-0c81-4e4e-91ee-7ea8c5eb2a1bn%40googlegroups.com.


Re: mssql-django - Need help to contribute / run tests locally

2022-02-15 Thread Jean Frenette
I agree with you.

On Tuesday, February 15, 2022 at 2:34:14 PM UTC-5 Adam Johnson wrote:

> I don't think Microsoft have the right to claim this as their discussion 
> forum - they've been welcome to post about development in the past, but 
> there are 11k people subscribed to this list interested in Django, very few 
> in MS SQL.
>
> On Tue, Feb 15, 2022 at 7:26 PM Jean Frenette  
> wrote:
>
>> I see what you mean, but according to this page (
>> https://github.com/microsoft/mssql-django/blob/dev/SUPPORT.md), I 
>> thought I would find an answer here.
>>
>> Thank you.
>>
>> On Tuesday, February 15, 2022 at 2:01:41 PM UTC-5 Adam Johnson wrote:
>>
>>> Hi
>>>
>>> This is a bit off topic for this list - mssql-django is not an official 
>>> Django project. I suggest you contact the maintainers of that project at 
>>> Microsoft, perhaps through GitHub discussions/issues or email.
>>>
>>> Thanks,
>>>
>>> Adam
>>>
>>> On Tue, Feb 15, 2022 at 1:26 PM Jean Frenette  
>>> wrote:
>>>
>>>> Hello,
>>>> I recently started contributing to the mssql-django project (
>>>> https://github.com/microsoft/mssql-django), and I'm not able to run 
>>>> specific tests included in that project, locally.  My goal is to be able 
>>>> to 
>>>> debug some of broken tests, while I try to make some modifications to the 
>>>> code.
>>>>
>>>> I can run specific tests that are included in the Django project tests 
>>>> (in the django folder created by following the contributing file 
>>>> instructions 
>>>> https://github.com/microsoft/mssql-django/blob/dev/CONTRIBUTING.md).  
>>>> I can NOT run tests individually (or debug) that are specific to the 
>>>> mssql-django project.
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> Thank you very much
>>>>
>>>> -- 
>>>> 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/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/django-developers/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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/80365849-9286-4c52-a17b-533e32c946c1n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-developers/80365849-9286-4c52-a17b-533e32c946c1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/8a07a2ce-ad3f-4db6-9104-337b85a1ac36n%40googlegroups.com.


Re: mssql-django - Need help to contribute / run tests locally

2022-02-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I don't think Microsoft have the right to claim this as their discussion
forum - they've been welcome to post about development in the past, but
there are 11k people subscribed to this list interested in Django, very few
in MS SQL.

On Tue, Feb 15, 2022 at 7:26 PM Jean Frenette 
wrote:

> I see what you mean, but according to this page (
> https://github.com/microsoft/mssql-django/blob/dev/SUPPORT.md), I thought
> I would find an answer here.
>
> Thank you.
>
> On Tuesday, February 15, 2022 at 2:01:41 PM UTC-5 Adam Johnson wrote:
>
>> Hi
>>
>> This is a bit off topic for this list - mssql-django is not an official
>> Django project. I suggest you contact the maintainers of that project at
>> Microsoft, perhaps through GitHub discussions/issues or email.
>>
>> Thanks,
>>
>> Adam
>>
>> On Tue, Feb 15, 2022 at 1:26 PM Jean Frenette 
>> wrote:
>>
>>> Hello,
>>> I recently started contributing to the mssql-django project (
>>> https://github.com/microsoft/mssql-django), and I'm not able to run
>>> specific tests included in that project, locally.  My goal is to be able to
>>> debug some of broken tests, while I try to make some modifications to the
>>> code.
>>>
>>> I can run specific tests that are included in the Django project tests
>>> (in the django folder created by following the contributing file
>>> instructions
>>> https://github.com/microsoft/mssql-django/blob/dev/CONTRIBUTING.md).  I
>>> can NOT run tests individually (or debug) that are specific to the
>>> mssql-django project.
>>>
>>> Any help would be appreciated.
>>>
>>> Thank you very much
>>>
>>> --
>>> 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/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-developers/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/80365849-9286-4c52-a17b-533e32c946c1n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/80365849-9286-4c52-a17b-533e32c946c1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM3q9PU5CzWFcxBHPnUGJkpAKZ2Adu96_Kz0YRfiqCzPrg%40mail.gmail.com.


Re: mssql-django - Need help to contribute / run tests locally

2022-02-15 Thread Jean Frenette
I see what you mean, but according to this page 
(https://github.com/microsoft/mssql-django/blob/dev/SUPPORT.md), I thought 
I would find an answer here.

Thank you.

On Tuesday, February 15, 2022 at 2:01:41 PM UTC-5 Adam Johnson wrote:

> Hi
>
> This is a bit off topic for this list - mssql-django is not an official 
> Django project. I suggest you contact the maintainers of that project at 
> Microsoft, perhaps through GitHub discussions/issues or email.
>
> Thanks,
>
> Adam
>
> On Tue, Feb 15, 2022 at 1:26 PM Jean Frenette  
> wrote:
>
>> Hello,
>> I recently started contributing to the mssql-django project (
>> https://github.com/microsoft/mssql-django), and I'm not able to run 
>> specific tests included in that project, locally.  My goal is to be able to 
>> debug some of broken tests, while I try to make some modifications to the 
>> code.
>>
>> I can run specific tests that are included in the Django project tests 
>> (in the django folder created by following the contributing file 
>> instructions 
>> https://github.com/microsoft/mssql-django/blob/dev/CONTRIBUTING.md).  I 
>> can NOT run tests individually (or debug) that are specific to the 
>> mssql-django project.
>>
>> Any help would be appreciated.
>>
>> Thank you very much
>>
>> -- 
>> 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/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-developers/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/80365849-9286-4c52-a17b-533e32c946c1n%40googlegroups.com.


Re: mssql-django - Need help to contribute / run tests locally

2022-02-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi

This is a bit off topic for this list - mssql-django is not an official
Django project. I suggest you contact the maintainers of that project at
Microsoft, perhaps through GitHub discussions/issues or email.

Thanks,

Adam

On Tue, Feb 15, 2022 at 1:26 PM Jean Frenette 
wrote:

> Hello,
> I recently started contributing to the mssql-django project (
> https://github.com/microsoft/mssql-django), and I'm not able to run
> specific tests included in that project, locally.  My goal is to be able to
> debug some of broken tests, while I try to make some modifications to the
> code.
>
> I can run specific tests that are included in the Django project tests (in
> the django folder created by following the contributing file instructions
> https://github.com/microsoft/mssql-django/blob/dev/CONTRIBUTING.md).  I
> can NOT run tests individually (or debug) that are specific to the
> mssql-django project.
>
> Any help would be appreciated.
>
> Thank you very much
>
> --
> 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/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM1zwoLT%3DdD7fUb_deyT83K-GwZgLehxjc_GGcQYENeuWA%40mail.gmail.com.


mssql-django - Need help to contribute / run tests locally

2022-02-15 Thread Jean Frenette
Hello,
I recently started contributing to the mssql-django project 
(https://github.com/microsoft/mssql-django), and I'm not able to run 
specific tests included in that project, locally.  My goal is to be able to 
debug some of broken tests, while I try to make some modifications to the 
code.

I can run specific tests that are included in the Django project tests (in 
the django folder created by following the contributing file instructions 
https://github.com/microsoft/mssql-django/blob/dev/CONTRIBUTING.md).  I can 
NOT run tests individually (or debug) that are specific to the mssql-django 
project.

Any help would be appreciated.

Thank you very much

-- 
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/1ad59c7e-0620-4358-addc-4a9d8c6eed20n%40googlegroups.com.


Re: Please help me to find this page

2022-01-18 Thread Dylan Reinhold
https://docs.djangoproject.com/en/dev/intro/contributing/

On Tue, Jan 18, 2022 at 10:08 AM Mariusz Felisiak <
felisiak.mari...@gmail.com> wrote:

> See docs/intro/contributing.txt
> 
>
> --
> 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/013666e1-aaf2-4cc6-957c-67d5beb63a7an%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/CAHtg44A_3PetGZ0x%2BN7Y66%3D-obsVWeRis9%3DCwnFRs3JWdkMyyw%40mail.gmail.com.


Re: Please help me to find this page

2022-01-18 Thread Mariusz Felisiak
See docs/intro/contributing.txt 


-- 
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/013666e1-aaf2-4cc6-957c-67d5beb63a7an%40googlegroups.com.


Please help me to find this page

2022-01-18 Thread Tilak Agrawal
Hello, I am Tilak, I saw something to be corrected in this page  Writing 
your first patch for Django | Django documentation | Django 
(djangoproject.com) 
<https://docs.djangoproject.com/en/4.0/intro/contributing/> . I was trying 
to find this page in docs folder but I can't find it. Please help to get 
that file.

I have downloaded Django in my local machine and also created a new git 
branch for personal edits.

-- 
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/77ac31aa-b21f-4f41-a575-cea525e55cc5n%40googlegroups.com.


Re: Regarding help for web development career

2021-12-27 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Welcome!

There are many different ways to contribute to Django - the forum,
blogging, translating, documenting, writing code, and more. Our
Contributing Guide can help you get started with many of these:
https://docs.djangoproject.com/en/stable/internals/contributing/

If you’re looking to work with the code base (for documentation or code),
check out the “Advice for New Contributors” section:
https://docs.djangoproject.com/en/stable/internals/contributing/new-contributors/
. Then see if you can work through the “Writing Your First Patch” tutorial:
https://docs.djangoproject.com/en/stable/intro/contributing/ .

If you get stuck or have questions, post back here or in the “Mentorship”
section on the forum:
https://forum.djangoproject.com/c/internals/mentorship/10

Hope that helps,

Adam

On Mon, 20 Dec 2021 at 18:15, Nandini Rai  wrote:

> Hi it's Nandini here, pursuing my graduation (first year) at Delhi
> University. I am actively looking for good GSOC organizations to
> contribute. I am interested in web development and worked with Java, HTML,
> python and many more.
>
> I thought of asking that may I contribute with you (as good one for me to
> start). If yes please guide me how to proceed and let me know how I can
> contact you for further help.
>
> Hoping for a positive reply.
>
> --
> 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/345b365c-50e8-4d11-9f76-53443b68410en%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/345b365c-50e8-4d11-9f76-53443b68410en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM0BZho7qCjy-EOzYthu_bg6yRHdjRJ6ukQ34i8%2Bt%2BOD7A%40mail.gmail.com.


Regarding help for web development career

2021-12-21 Thread Nandini Rai
Hi it's Nandini here, pursuing my graduation (first year) at Delhi 
University. I am actively looking for good GSOC organizations to 
contribute. I am interested in web development and worked with Java, HTML, 
python and many more.

I thought of asking that may I contribute with you (as good one for me to 
start). If yes please guide me how to proceed and let me know how I can 
contact you for further help.

Hoping for a positive reply.

-- 
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/345b365c-50e8-4d11-9f76-53443b68410en%40googlegroups.com.


Re: Can I help?

2021-11-29 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Welcome!

There are many different ways to contribute to Django - the forum,
blogging, translating, documenting, writing code, and more. Our
Contributing Guide can help you get started with many of these:
https://docs.djangoproject.com/en/stable/internals/contributing/

If you’re looking to work with the code base (for documentation or code),
check out the “Advice for New Contributors” section:
https://docs.djangoproject.com/en/stable/internals/contributing/new-contributors/
. Then see if you can work through the “Writing Your First Patch” tutorial:
https://docs.djangoproject.com/en/stable/intro/contributing/ .

If you get stuck or have questions, post back here or in the “Mentorship”
section on the forum:
https://forum.djangoproject.com/c/internals/mentorship/10

Hope that helps,

Adam

On Sun, 28 Nov 2021 at 13:41, Allen Jonathan 
wrote:

> Dear Django Contributors,
>
> Hello! My name is Allen Jonathan. I'd love to contribute to the Django
> framework. I have a decent knowledge of python and a little of Django too.
> I'm a fast learner and can learn on the go.  Please guide me on how to get
> started (even if its documentation or fixing easy bugs).
>
> Best regards,
> Allen Jonathan.
>
> --
> 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/81dfad1d-777c-49ca-bacf-430d1c325d8bn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/81dfad1d-777c-49ca-bacf-430d1c325d8bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM3_kZ-PXVEFgYGQ6jnAD%2BHR7pE_9uN9Drdnyf0CvC-gTw%40mail.gmail.com.


Can I help?

2021-11-28 Thread Allen Jonathan
Dear Django Contributors,

Hello! My name is Allen Jonathan. I'd love to contribute to the Django 
framework. I have a decent knowledge of python and a little of Django too. 
I'm a fast learner and can learn on the go.  Please guide me on how to get 
started (even if its documentation or fixing easy bugs). 

Best regards,
Allen Jonathan.

-- 
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/81dfad1d-777c-49ca-bacf-430d1c325d8bn%40googlegroups.com.


Re: Help

2021-10-30 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi!

I think you've found the wrong mailing list for this post. This mailing
list is for discussing the development of Django itself, not for support
using Django. This means the discussions of bugs and features in Django
itself, rather than in your code using it. People on this list are unlikely
to answer your support query with their limited time and energy.

For support, please follow the "Getting Help" page:
https://docs.djangoproject.com/en/stable/faq/help/ . This will help you
find people who are willing to support you, and to ask your question in a
way that makes it easy for them to answer.

Thanks for your understanding and all the best,

Adam

On Sat, 30 Oct 2021 at 14:27, Himanshu Poptani 
wrote:

> Hello sir/ma'am,
> I know hoe to make websites and full stack development in Django,
> but here i am feeling some difficulty understanding the source code of
> Django.
> Kindly help to get me started with the process please.
>
> Regards
> Himanshu Poptani
>
> --
> 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/38576610-e94e-4440-ba23-70108dc3a041n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/38576610-e94e-4440-ba23-70108dc3a041n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM1rrO4%3D0ZcWZbhZAzehuvJ_2BGsNT4gWEB7OcDabJCt3Q%40mail.gmail.com.


Help

2021-10-30 Thread Himanshu Poptani
Hello sir/ma'am,
I know hoe to make websites and full stack development in Django,
but here i am feeling some difficulty understanding the source code of 
Django.
Kindly help to get me started with the process please.

Regards
Himanshu Poptani

-- 
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/38576610-e94e-4440-ba23-70108dc3a041n%40googlegroups.com.


Re: Need help in testing out the fix

2021-08-19 Thread No Offence
Thanks a lot, Adam.

On Thursday, August 19, 2021 at 8:10:19 PM UTC+5:30 Adam Johnson wrote:

> Hi
>
> You can use 'pip install --editable' with the path to your copy of the 
> django repo to test it in another virtualenv.
>
> Here's the option docs: 
> https://pip.pypa.io/en/stable/cli/pip_install/#install-editable
>
> Here's a demo video: https://www.youtube.com/watch?v=gYYi7varbmE
>
> Thanks,
>
> Adam
>
> On Thu, 19 Aug 2021 at 07:21, No Offence  wrote:
>
>> Hey there, I'm new to this contributing environment and today only tried 
>> fixing a bug in Django. Now I want to test it out. So can someone help me 
>> with that? 
>> I needed to know how o use that fixed Django on my system globally to 
>> test it out. On even in env will work. 
>> Can someone help me out with this? 
>> Thanks in prior. 
>>
>> -- 
>> 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/b9073425-1831-42b6-a4a4-be773bad3a1fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-developers/b9073425-1831-42b6-a4a4-be773bad3a1fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/e1080ef2-1828-49e1-8792-583c2f779781n%40googlegroups.com.


Re: Need help in testing out the fix

2021-08-19 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi

You can use 'pip install --editable' with the path to your copy of the
django repo to test it in another virtualenv.

Here's the option docs:
https://pip.pypa.io/en/stable/cli/pip_install/#install-editable

Here's a demo video: https://www.youtube.com/watch?v=gYYi7varbmE

Thanks,

Adam

On Thu, 19 Aug 2021 at 07:21, No Offence  wrote:

> Hey there, I'm new to this contributing environment and today only tried
> fixing a bug in Django. Now I want to test it out. So can someone help me
> with that?
> I needed to know how o use that fixed Django on my system globally to test
> it out. On even in env will work.
> Can someone help me out with this?
> Thanks in prior.
>
> --
> 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/b9073425-1831-42b6-a4a4-be773bad3a1fn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/b9073425-1831-42b6-a4a4-be773bad3a1fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM0wQ9PXr5P809-4jev_bjEtnBLRTafU%2B8NkRi8KdK5PMQ%40mail.gmail.com.


Re: Need help for django fix testing

2021-08-19 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I'm responding to your other thread where you gave a little more
information. Please be careful posting to the list in future ;)

On Thu, 19 Aug 2021 at 07:17, No Offence  wrote:

> Hey there, I'm new in this contributing environment. I have fixed one
> issue but now I don't know how to test it out i.e. how to set up that fixed
> Django version on my system. Looking for help.
> Thanks in prior.
>
> --
> 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/dcd51549-daeb-4054-be97-68042ae970d9n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/dcd51549-daeb-4054-be97-68042ae970d9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM1JeMH1wafLY4Or6xOuDXdbsX4FNqTnQQ8r0yEKrq8oeQ%40mail.gmail.com.


Need help for django fix testing

2021-08-19 Thread No Offence
Hey there, I'm new in this contributing environment. I have fixed one issue 
but now I don't know how to test it out i.e. how to set up that fixed 
Django version on my system. Looking for help. 
Thanks in prior.

-- 
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/dcd51549-daeb-4054-be97-68042ae970d9n%40googlegroups.com.


Need help in testing out the fix

2021-08-19 Thread No Offence
Hey there, I'm new to this contributing environment and today only tried 
fixing a bug in Django. Now I want to test it out. So can someone help me 
with that? 
I needed to know how o use that fixed Django on my system globally to test 
it out. On even in env will work. 
Can someone help me out with this? 
Thanks in prior. 

-- 
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/b9073425-1831-42b6-a4a4-be773bad3a1fn%40googlegroups.com.


Re: Help: Getting error when trying run test “RuntimeError” Database access not allowed

2021-08-14 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi!

I think you've found the wrong mailing list for this post. This mailing
list is for discussing the development of Django itself, not for support
using Django. This means the discussions of bugs and features in Django
itself, rather than in your code using it. People on this list are unlikely
to answer your support query with their limited time and energy.

For support, please follow the "Getting Help" page:
https://docs.djangoproject.com/en/3.2/faq/help/ . This will help you find
people who are willing to support you, and to ask your question in a way
that makes it easy for them to answer.

Thanks for your understanding and all the best,

Adam

On Mon, 9 Aug 2021 at 09:42, Muhammad Shehzad  wrote:

> Image attached
> [image: ccc.png]
>
> --
> 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/26eb28c6-9197-458c-87b2-9484ee03c28an%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/26eb28c6-9197-458c-87b2-9484ee03c28an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMyDDM2RAjeA5%2B2H5iTwTEfhhNf%3DmZiduCemJt4Q1J32m0JO%2BQ%40mail.gmail.com.


Re: Help: hi maybe this will help you https://stackoverflow.com/questions/54661112/pytest-and-failed-database-access-not-allowed-use-the-django-db-mark-or-the

2021-08-09 Thread Umar Farooq
It's showing Database access error your test seems to be alright can you
send me the db connection

On Mon, 9 Aug 2021, 4:48 PM Muhammad Shehzad,  wrote:

> Image attached
> [image: ccc.png]
>
> --
> 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/26eb28c6-9197-458c-87b2-9484ee03c28an%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/CAPpmBN_o-EPR6oxCjkZzCZehyYrZUc%2BPbvk%3DtDHT-fbVxvhftg%40mail.gmail.com.


Help: Getting error when trying run test “RuntimeError” Database access not allowed

2021-08-09 Thread Muhammad Shehzad
Image attached
[image: ccc.png]

-- 
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/26eb28c6-9197-458c-87b2-9484ee03c28an%40googlegroups.com.


Re: Help with implementing calculated fields (#28822)

2021-03-21 Thread Tobias Bengfort

Hi Matt,

sorry for the late reply. This is exactly what I was looking for!

However, if I understand correctly this is more a proof of concept and 
not ready for production use. There still seem to be some subtlties that 
need to be fixed:


- related queries with shared_property
- filtered aggregates (e.g. Max('name', filter=Q(…)) in related queries 
with ComputedField (Q object would need similar processing to F objects)
- group_by with both implementations (I get "aggregate functions are not 
allowed in the GROUP BY clause")


Other than that it is great to see this is possible as a third party 
library. I am still not sure how much interest there actually is though.


tobias

PS: There is a small typo in the first link in your blog post.


On 15/03/2021 04.49, schinckel wrote:

Hi Tobias.

I've done a bit of stuff on this, and found there were actually limited 
changes that need to be made to django to got this to work.


https://schinckel.net/2020/09/15/django-properties-from-expressions%2C-or-computedfield-part-2/

I haven't touched it much since then (although I'm keen to revisit it, 
actually), but it's actually possible that we can do it without any 
changes to Django.


https://github.com/schinckel/django-shared-property

Matt.

On Sunday, March 14, 2021 at 11:46:15 PM UTC+10:30 Tobias Bengfort wrote:

Hi,

a while back there has been a discussion about calculated model fields:

https://groups.google.com/g/django-developers/c/ADSuUUuZp3Q/m/5o02Lp_jCwAJ



The main benefit would be that these would be available in cases where
annotations are currently not available, e.g. related queries or admin
lists (see #14336).

Note that the topic of fields that have both a DB and python
implementation was discussed and the consensus was that the python
equivalents could be added by a separate library, if required. So I am
only talking about the database part here.

The linked discussion was mainly about *what* is desired, not *how* it
could be done. I also noticed that the fellows did not participate in
that discussion.

I would like to have a shot at this topic. So I am interested in:

- Do you think this is even possible/worth the effort?
- How could this be implemented and what would be potential challenges?
- Is it possible to implement this in a third party library or does it
require changes to django itself?

I would probably start with a non-editable, non-concrete model field
(similar to GenericForeignKey or ForeignObjRel). But I have no clue yet
how to integrate that with QuerySet/Query.

thanks
tobias

--
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/8d325f4e-9c20-4268-9c46-6f682911ac5dn%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/bf68d4a3-dcbc-a411-66cd-2197bc53b0ba%40posteo.de.


Re: Help with implementing calculated fields (#28822)

2021-03-14 Thread schinckel
Hi Tobias.

I've done a bit of stuff on this, and found there were actually limited 
changes that need to be made to django to got this to work.

https://schinckel.net/2020/09/15/django-properties-from-expressions%2C-or-computedfield-part-2/

I haven't touched it much since then (although I'm keen to revisit it, 
actually), but it's actually possible that we can do it without any changes 
to Django.

https://github.com/schinckel/django-shared-property

Matt.

On Sunday, March 14, 2021 at 11:46:15 PM UTC+10:30 Tobias Bengfort wrote:

> Hi,
>
> a while back there has been a discussion about calculated model fields:
>
> https://groups.google.com/g/django-developers/c/ADSuUUuZp3Q/m/5o02Lp_jCwAJ
>
> The main benefit would be that these would be available in cases where 
> annotations are currently not available, e.g. related queries or admin 
> lists (see #14336).
>
> Note that the topic of fields that have both a DB and python 
> implementation was discussed and the consensus was that the python 
> equivalents could be added by a separate library, if required. So I am 
> only talking about the database part here.
>
> The linked discussion was mainly about *what* is desired, not *how* it 
> could be done. I also noticed that the fellows did not participate in 
> that discussion.
>
> I would like to have a shot at this topic. So I am interested in:
>
> - Do you think this is even possible/worth the effort?
> - How could this be implemented and what would be potential challenges?
> - Is it possible to implement this in a third party library or does it 
> require changes to django itself?
>
> I would probably start with a non-editable, non-concrete model field 
> (similar to GenericForeignKey or ForeignObjRel). But I have no clue yet 
> how to integrate that with QuerySet/Query.
>
> thanks
> tobias
>

-- 
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/8d325f4e-9c20-4268-9c46-6f682911ac5dn%40googlegroups.com.


Help with implementing calculated fields (#28822)

2021-03-14 Thread Tobias Bengfort

Hi,

a while back there has been a discussion about calculated model fields:

https://groups.google.com/g/django-developers/c/ADSuUUuZp3Q/m/5o02Lp_jCwAJ

The main benefit would be that these would be available in cases where 
annotations are currently not available, e.g. related queries or admin 
lists (see #14336).


Note that the topic of fields that have both a DB and python 
implementation was discussed and the consensus was that the python 
equivalents could be added by a separate library, if required. So I am 
only talking about the database part here.


The linked discussion was mainly about *what* is desired, not *how* it 
could be done. I also noticed that the fellows did not participate in 
that discussion.


I would like to have a shot at this topic. So I am interested in:

- Do you think this is even possible/worth the effort?
- How could this be implemented and what would be potential challenges?
- Is it possible to implement this in a third party library or does it 
require changes to django itself?


I would probably start with a non-editable, non-concrete model field 
(similar to GenericForeignKey or ForeignObjRel). But I have no clue yet 
how to integrate that with QuerySet/Query.


thanks
tobias

--
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/caa86f1c-7838-20fb-5934-448a804299d5%40posteo.de.


Re: Help with ticket #28426

2021-03-04 Thread Tom Forbes
Personally I don’t think we should prompt the user for anything. If the user 
gives the username and password in the url (user:pass@host) then we can use 
that, otherwise we just throw an error. 

A more complicated solution involving making a request, detecting a 401, 
prompting the user and retrying the request is a bit overkill and potentially a 
(unlikely) breaking change.

Tom

> On 4 Mar 2021, at 17:55, 'Adam Johnson' via Django developers (Contributions 
> to Django itself)  wrote:
> 
> 
> I also think this is feature creep and if it's a complicated change it's not 
> worth it.
> 
>> On Thu, 4 Mar 2021 at 18:36, Tim Graham  wrote:
>> I'd like to see what your code looks like so far. Personally, this is 
>> sounding a lot more complicated than I imagined when I accepted the ticket. 
>> I doubt this is a highly requested feature that couldn't be solved another 
>> way (e.g. downloading the template file without Django), and It's not clear 
>> to me that adding logic to Django is worth it.
>> 
>>> On Thursday, March 4, 2021 at 11:01:41 AM UTC-5 benc...@gmail.com wrote:
>>> Thanks for the fast reply
>>> 
>>> I found these test cases but I am not sure how to extend them with basic 
>>> auth, because I don't know if the LiveServerTestCase is capable of doing 
>>> basic auth. As I see currently there is no testcase checking basic auth 
>>> here and it has to be checked by hand.
>>> 
>>> I am sorry but could you elaborate on this please because I couldn't find 
>>> these functions.
>>> 
>>> "first add view (in admin_scripts/urls.py is fine) to first check for basic 
>>> auth credentials and then pass off to `serve` (as the existing route 
>>> already does). That should give us the reproduce (or we can closed as 
>>> fixed)."
>>> 
>>> Best Regards,
>>>Bence
>>> 
>>> Carlton Gibson  ezt írta (időpont: 2021. márc. 4., 
>>> Cs, 11:15):
 Hi Bence, welcome! 
 
 There are already a couple of tests in place to check the remove fetching: 
 
 https://github.com/django/django/blob/05bbff82638731a6abfed2fe0ae06a4d429cb32f/tests/admin_scripts/tests.py#L2047-L2072
 
 Without changing the command code I'd first add view (in 
 admin_scripts/urls.py is fine) to first check for basic auth credentials 
 and then pass off to `serve` (as the existing route already does). That 
 should give us the reproduce (or we can closed as fixed). 
 
 Then I think it's easier if you open a PR with your suggested change after 
 that (but more-or-less sounds plausible without looking in depth.) 
 
 Hopefully that gets you going? 
 
 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-develop...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-developers/66771c44-5b9f-4c29-b92a-91cd3092e016n%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/814187f8-dc2b-47e1-b91d-76d0ab78241an%40googlegroups.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/CAMyDDM31cTcecyx%2BD%3DEP4nFD2qmW1f%3DOFrQfL7D2j-k9d-cT0w%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/076043F9-46D1-4B6A-A6F0-9034F87EBD5D%40tomforb.es.


Re: Help with ticket #28426

2021-03-04 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I also think this is feature creep and if it's a complicated change it's
not worth it.

On Thu, 4 Mar 2021 at 18:36, Tim Graham  wrote:

> I'd like to see what your code looks like so far. Personally, this is
> sounding a lot more complicated than I imagined when I accepted the ticket.
> I doubt this is a highly requested feature that couldn't be solved another
> way (e.g. downloading the template file without Django), and It's not clear
> to me that adding logic to Django is worth it.
>
> On Thursday, March 4, 2021 at 11:01:41 AM UTC-5 benc...@gmail.com wrote:
>
>> Thanks for the fast reply
>>
>> I found these test cases but I am not sure how to extend them with basic
>> auth, because I don't know if the *LiveServerTestCase *is capable of
>> doing basic auth. As I see currently there is no testcase checking basic
>> auth here and it has to be checked by hand.
>>
>> I am sorry but could you elaborate on this please because I couldn't find
>> these functions.
>>
>>
>> *"first add view (in admin_scripts/urls.py is fine) to first check for
>> basic auth credentials and then pass off to `serve` (as the existing route
>> already does). That should give us the reproduce (or we can closed as
>> fixed)."*
>>
>> Best Regards,
>>Bence
>>
>> Carlton Gibson  ezt írta (időpont: 2021. márc. 4.,
>> Cs, 11:15):
>>
>>> Hi Bence, welcome!
>>>
>>> There are already a couple of tests in place to check the remove
>>> fetching:
>>>
>>>
>>> https://github.com/django/django/blob/05bbff82638731a6abfed2fe0ae06a4d429cb32f/tests/admin_scripts/tests.py#L2047-L2072
>>>
>>> Without changing the command code I'd first add view (in
>>> admin_scripts/urls.py is fine) to first check for basic auth credentials
>>> and then pass off to `serve` (as the existing route already does). That
>>> should give us the reproduce (or we can closed as fixed).
>>>
>>> Then I think it's easier if you open a PR with your suggested change
>>> after that (but more-or-less sounds plausible without looking in depth.)
>>>
>>> Hopefully that gets you going?
>>>
>>> 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-develop...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-developers/66771c44-5b9f-4c29-b92a-91cd3092e016n%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/814187f8-dc2b-47e1-b91d-76d0ab78241an%40googlegroups.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/CAMyDDM31cTcecyx%2BD%3DEP4nFD2qmW1f%3DOFrQfL7D2j-k9d-cT0w%40mail.gmail.com.


Re: Help with ticket #28426

2021-03-04 Thread Bence Gáspár
My solution for the basic auth problem would be something like this

Tim Graham  ezt írta (időpont: 2021. márc. 4., Cs,
19:36):

> I'd like to see what your code looks like so far. Personally, this is
> sounding a lot more complicated than I imagined when I accepted the ticket.
> I doubt this is a highly requested feature that couldn't be solved another
> way (e.g. downloading the template file without Django), and It's not clear
> to me that adding logic to Django is worth it.
>
> On Thursday, March 4, 2021 at 11:01:41 AM UTC-5 benc...@gmail.com wrote:
>
>> Thanks for the fast reply
>>
>> I found these test cases but I am not sure how to extend them with basic
>> auth, because I don't know if the *LiveServerTestCase *is capable of
>> doing basic auth. As I see currently there is no testcase checking basic
>> auth here and it has to be checked by hand.
>>
>> I am sorry but could you elaborate on this please because I couldn't find
>> these functions.
>>
>>
>> *"first add view (in admin_scripts/urls.py is fine) to first check for
>> basic auth credentials and then pass off to `serve` (as the existing route
>> already does). That should give us the reproduce (or we can closed as
>> fixed)."*
>>
>> Best Regards,
>>Bence
>>
>> Carlton Gibson  ezt írta (időpont: 2021. márc. 4.,
>> Cs, 11:15):
>>
>>> Hi Bence, welcome!
>>>
>>> There are already a couple of tests in place to check the remove
>>> fetching:
>>>
>>>
>>> https://github.com/django/django/blob/05bbff82638731a6abfed2fe0ae06a4d429cb32f/tests/admin_scripts/tests.py#L2047-L2072
>>>
>>> Without changing the command code I'd first add view (in
>>> admin_scripts/urls.py is fine) to first check for basic auth credentials
>>> and then pass off to `serve` (as the existing route already does). That
>>> should give us the reproduce (or we can closed as fixed).
>>>
>>> Then I think it's easier if you open a PR with your suggested change
>>> after that (but more-or-less sounds plausible without looking in depth.)
>>>
>>> Hopefully that gets you going?
>>>
>>> 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-develop...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-developers/66771c44-5b9f-4c29-b92a-91cd3092e016n%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/814187f8-dc2b-47e1-b91d-76d0ab78241an%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/CALgZer6XVkJPP4iPQN4DQFpfg%2BCvc6ZH7So1amxC37D6nKKn%2BA%40mail.gmail.com.
commit b282c7f603f01ec074a0e7c6c133ab624e1fe78c
Author: Bence Gaspar 
Date:   Thu Mar 4 17:43:28 2021 +0100

Refs #28426 -- Added basic authentication handling to startproject --template option

Added prompt_user_passwd(url) function that prompts for the username and
password for the given url

diff --git a/django/core/management/templates.py b/django/core/management/templates.py
index 8dc6068286..e6a13c258f 100644
--- a/django/core/management/templates.py
+++ b/django/core/management/templates.py
@@ -6,7 +6,11 @@ import shutil
 import stat
 import tempfile
 from importlib import import_module
-from urllib.request import urlretrieve
+from urllib.error import HTTPError
+from urllib.request import (
+HTTPBasicAuthHandler, HTTPPasswordMgrWithDefaultRealm, build_opener,
+install_opener, urlretrieve,
+)
 
 import django
 from django.conf import settings
@@ -263,6 +267,18 @@ class TemplateCommand(BaseCommand):
 self.stdout.write('Downloading %s' % display_url)
 try:
 the_path, info = urlretrieve(url, os.path.join(tempdir, filename))
+except HTTPError as exc:
+if exc.code == 401:
+username, password = self.prompt_user_passwd(url)
+p = HTTPPasswordMgrWithDefaultRealm()
+   

Re: Help with ticket #28426

2021-03-04 Thread Tim Graham
I'd like to see what your code looks like so far. Personally, this is 
sounding a lot more complicated than I imagined when I accepted the ticket. 
I doubt this is a highly requested feature that couldn't be solved another 
way (e.g. downloading the template file without Django), and It's not clear 
to me that adding logic to Django is worth it.

On Thursday, March 4, 2021 at 11:01:41 AM UTC-5 benc...@gmail.com wrote:

> Thanks for the fast reply
>
> I found these test cases but I am not sure how to extend them with basic 
> auth, because I don't know if the *LiveServerTestCase *is capable of 
> doing basic auth. As I see currently there is no testcase checking basic 
> auth here and it has to be checked by hand.
>
> I am sorry but could you elaborate on this please because I couldn't find 
> these functions.
>
>
> *"first add view (in admin_scripts/urls.py is fine) to first check for 
> basic auth credentials and then pass off to `serve` (as the existing route 
> already does). That should give us the reproduce (or we can closed as 
> fixed)."*
>
> Best Regards,
>Bence
>
> Carlton Gibson  ezt írta (időpont: 2021. márc. 4., 
> Cs, 11:15):
>
>> Hi Bence, welcome! 
>>
>> There are already a couple of tests in place to check the remove 
>> fetching: 
>>
>>
>> https://github.com/django/django/blob/05bbff82638731a6abfed2fe0ae06a4d429cb32f/tests/admin_scripts/tests.py#L2047-L2072
>>
>> Without changing the command code I'd first add view (in 
>> admin_scripts/urls.py is fine) to first check for basic auth credentials 
>> and then pass off to `serve` (as the existing route already does). That 
>> should give us the reproduce (or we can closed as fixed). 
>>
>> Then I think it's easier if you open a PR with your suggested change 
>> after that (but more-or-less sounds plausible without looking in depth.) 
>>
>> Hopefully that gets you going? 
>>
>> 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-develop...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-developers/66771c44-5b9f-4c29-b92a-91cd3092e016n%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/814187f8-dc2b-47e1-b91d-76d0ab78241an%40googlegroups.com.


Re: Help with ticket #28426

2021-03-04 Thread Bence Gáspár
Thanks for the fast reply

I found these test cases but I am not sure how to extend them with basic
auth, because I don't know if the *LiveServerTestCase *is capable of doing
basic auth. As I see currently there is no testcase checking basic auth
here and it has to be checked by hand.

I am sorry but could you elaborate on this please because I couldn't find
these functions.

*"first add view (in admin_scripts/urls.py is fine) to first check for
basic auth credentials and then pass off to `serve` (as the existing route
already does). That should give us the reproduce (or we can closed as
fixed)."*

Best Regards,
   Bence

Carlton Gibson  ezt írta (időpont: 2021. márc.
4., Cs, 11:15):

> Hi Bence, welcome!
>
> There are already a couple of tests in place to check the remove fetching:
>
>
> https://github.com/django/django/blob/05bbff82638731a6abfed2fe0ae06a4d429cb32f/tests/admin_scripts/tests.py#L2047-L2072
>
> Without changing the command code I'd first add view (in
> admin_scripts/urls.py is fine) to first check for basic auth credentials
> and then pass off to `serve` (as the existing route already does). That
> should give us the reproduce (or we can closed as fixed).
>
> Then I think it's easier if you open a PR with your suggested change after
> that (but more-or-less sounds plausible without looking in depth.)
>
> Hopefully that gets you going?
>
> 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/66771c44-5b9f-4c29-b92a-91cd3092e016n%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/CALgZer5iS8ETNj8OwoHYhqV%3DUxyGCBrFJ5hRyHjuh4dZS_qTyg%40mail.gmail.com.


Re: Help with ticket #28426

2021-03-04 Thread Carlton Gibson
Hi Bence, welcome! 

There are already a couple of tests in place to check the remove fetching: 

https://github.com/django/django/blob/05bbff82638731a6abfed2fe0ae06a4d429cb32f/tests/admin_scripts/tests.py#L2047-L2072

Without changing the command code I'd first add view (in 
admin_scripts/urls.py is fine) to first check for basic auth credentials 
and then pass off to `serve` (as the existing route already does). That 
should give us the reproduce (or we can closed as fixed). 

Then I think it's easier if you open a PR with your suggested change after 
that (but more-or-less sounds plausible without looking in depth.) 

Hopefully that gets you going? 

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/66771c44-5b9f-4c29-b92a-91cd3092e016n%40googlegroups.com.


Help with ticket #28426

2021-03-03 Thread Bence Gáspár
Hi,

I would like to work on this ticket
https://code.djangoproject.com/ticket/28426. I am fairly new in the
community and to Django development as well but this ticket seems not so
Django specific and I am confident I can implement it. I have done some
research already and found that we need to implement our own prompting for
username and password. I would like to ask a couple of questions about this
ticket.

urllib.request.urlretrieve() itself can be deprecated according to docs so
I think we should move from using this function to using
urllib.request.urlopen(). As I see this should not be that hard and I would
like to do this in a separate PR if you agree.

My question is based around basic auth. I would like to write some unit
tests for it but I am not sure how to. I am not familiar with using
LiveServer tests. Does it have the ability to provide basic auth interface?

Am I right that for handling basic auth we should first try the download
without credentials, then if we get 401 we should ask the user for username
and password for the server and try with the given credentials in basic
auth?

For the credential prompts I would like to lift this function to our code:
https://docs.python.org/3/library/urllib.request.html#urllib.request.FancyURLopener.prompt_user_passwd
it is part of the FancyURLopener that is deprecated, but this function
seams clean and good code.

I hope that I found the right forum to ask my questions.

 Thanks
Bence

-- 
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/CALgZer5ofD54mBhSLrRkG-zPL5KtQCw7OgM9OHP1LfNS1OpvjQ%40mail.gmail.com.


Re: Need Help

2021-03-01 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Click the "GitHub Login" button at the top of the ticket tracker pages to
create an account

[image: Screenshot 2021-03-01 at 19.16.51.png]

Do read the "first patch" tutorial:
https://docs.djangoproject.com/en/dev/intro/contributing/


On Mon, 1 Mar 2021 at 18:54, Mhd Ali  wrote:

> Hello, this must be a stupid question to you guys
> I found a ticket I'll like to work on but I can't find any option to add a
> comment to tell everyone I'll like to work on it, 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/bec42211-c151-4082-8124-535b0808713bn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/bec42211-c151-4082-8124-535b0808713bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
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/CAMyDDM3gTGLbQaspvOPRxK7ioYCq-mR-HU3OU9ki_Gi3C5vzpA%40mail.gmail.com.


Need Help

2021-03-01 Thread Mhd Ali
Hello, this must be a stupid question to you guys
I found a ticket I'll like to work on but I can't find any option to add a 
comment to tell everyone I'll like to work on it, 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/bec42211-c151-4082-8124-535b0808713bn%40googlegroups.com.


Re: Help needed to fix hundreds of failing tests

2020-10-12 Thread Peter Inglesby
Thanks Hasan for offering to help.

Either of Carles's approaches would work -- I don't have a strong view.
Making the smaller fix (ie adding transform=str every time
assertQuerysetEqual fails) would require the least thinking.  But it may
miss some good opportunities to refactor or simplify the tests.

-- 
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/CAENJrPkeGvOTt%3DppXiRN4XoPV%2B25bgN%2BDkLyLuWfA1nRXu6qgg%40mail.gmail.com.


Re: Help needed to fix hundreds of failing tests

2020-10-10 Thread Carles Pina i Estany


Hi,

On Oct/10/2020, Peter Inglesby wrote:

I remember reading the original thread...

> I've authored PR 12417 <https://github.com/django/django/pull/12417> (Fixed
> 31235 <https://code.djangoproject.com/ticket/31235> -- Updated
> assertQuerysetEqual to compare querysets directly) which has added a new
> RemovedInDjango41Warning... which causes hundreds of test failures.
> 
> Unfortunately I have no spare time at the moment to resolve these.  Would
> anybody on this list like to take the PR off my hands?

I was now reading the updated documentation and code. Just to help
someone to fix the unit tests, is this what you thought that should be
done?

--
diff --git a/tests/transactions/tests.py b/tests/transactions/tests.py
index 2ac2f8cc84..f265339c4f 100644
--- a/tests/transactions/tests.py
+++ b/tests/transactions/tests.py
@@ -163,12 +163,12 @@ class AtomicTests(TransactionTestCase):
 def test_reuse_commit_rollback(self):
 atomic = transaction.atomic()
 with atomic:
-Reporter.objects.create(first_name="Tintin")
+reporter = Reporter.objects.create(first_name="Tintin")
 with self.assertRaisesMessage(Exception, "Oops"):
 with atomic:
 Reporter.objects.create(first_name="Haddock")
 raise Exception("Oops, that's his last name")
-self.assertQuerysetEqual(Reporter.objects.all(), [''])
+self.assertQuerysetEqual(Reporter.objects.all(), [reporter])

 def test_reuse_rollback_commit(self):
 atomic = transaction.atomic()
--

(and another 257... with my DB setup)

It does fix the unit test, I don't know if this is what you intended.

Or, a smaller fix:
self.assertQuerysetEqual(Reporter.objects.all(), ['Tintin'], 
transform=str)

Which at least doesn't require thinking of a variable name (and it might
be easier if the objects are not created by the surrounding code, I
haven't checked if this happens often or not).

Or, did I take the wrong side of the stick and you intended the fix to be
different?

Have a good weekend,

-- 
Carles Pina i Estany
https://carles.pina.cat

-- 
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/20201010225834.GA32053%40pina.cat.


Re: Help needed to fix hundreds of failing tests

2020-10-10 Thread Hasan Ramezani
Hi Peter,

Thanks for your effort there. I can take it and continue working on it.

Best regards,

Hasan

On Sat, Oct 10, 2020 at 9:23 PM Peter Inglesby 
wrote:

> Hi folks,
>
> I've authored PR 12417 
> (Fixed 31235  -- Updated
> assertQuerysetEqual to compare querysets directly) which has added a new
> RemovedInDjango41Warning... which causes hundreds of test failures.
>
> Unfortunately I have no spare time at the moment to resolve these.  Would
> anybody on this list like to take the PR off my hands?
>
> Thanks!
>
> Peter.
>
> --
> 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/CAENJrPnduNHNB9Fr7_5m40LD7%2B_P%3D8f45BuK6dx3cEROE2_jYQ%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/CAMJpA2Xh1GxqRs0m9%2BnqvrBtit%2BgaZFuG9TqV-%3DR1sS2vEFnZA%40mail.gmail.com.


Help needed to fix hundreds of failing tests

2020-10-10 Thread Peter Inglesby
Hi folks,

I've authored PR 12417  (Fixed
31235  -- Updated
assertQuerysetEqual to compare querysets directly) which has added a new
RemovedInDjango41Warning... which causes hundreds of test failures.

Unfortunately I have no spare time at the moment to resolve these.  Would
anybody on this list like to take the PR off my hands?

Thanks!

Peter.

-- 
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/CAENJrPnduNHNB9Fr7_5m40LD7%2B_P%3D8f45BuK6dx3cEROE2_jYQ%40mail.gmail.com.


Re: Review help with GSoC Mypy plugin project.

2020-07-28 Thread jhabar singh
sir I have forked the mypy package and Once I get thoroght with It's doc I
will set it up on my system and start  doing what you told.

On Tue, Jul 28, 2020 at 5:14 PM Kacper Szmigiel 
wrote:

> Hi!
>
> Thank you Carlton for mentioning this.
> There's not that much knowledge on the Django Stubs project required, but
> experience with writing Mypy plugins is. I'll appreciate all kinds of help.
> Please contact me directly if you want to participate :)
>
> Kind regards,
> Kacper
>
> wt., 28 lip 2020 o 10:05 Carlton Gibson 
> napisał(a):
>
>> Hi all.
>>
>> This is just a quick note, with a request for input, if you have an
>> interest typing with Django.
>>
>> Kacper is doing a GSoC project to improve the django-stubs Mypy plugin.
>>
>> It's going well, but as ever, extra reviewing capacity is always handy.
>>
>> Current PR is here:
>> https://github.com/typeddjango/django-stubs/pull/427
>>
>> There's a discussion thread on the forum too:
>>
>> https://forum.djangoproject.com/t/gsoc-2020-django-stubs-mypy-plugin/2513/8
>>
>> If you know about such things, and have capacity to give it a run and dig
>> in a bit, that would be great.
>>
>> Thanks.
>> 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/12f711fc-1625-4419-9b9b-de381538f829o%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-developers/12f711fc-1625-4419-9b9b-de381538f829o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAFfZ%2Bb46%2BcspJHvRkO4P6%3DYhFG0EHYA4%2BnLSekFJxU5VQEp0bA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-developers/CAFfZ%2Bb46%2BcspJHvRkO4P6%3DYhFG0EHYA4%2BnLSekFJxU5VQEp0bA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAJ1QTgnq-M%2BQVv4P-YwTzcorinPbt7c5deS%3D7V%2BZE%3DTx-bHQ9w%40mail.gmail.com.


Re: Review help with GSoC Mypy plugin project.

2020-07-28 Thread Kacper Szmigiel
Hi!

Thank you Carlton for mentioning this.
There's not that much knowledge on the Django Stubs project required, but
experience with writing Mypy plugins is. I'll appreciate all kinds of help.
Please contact me directly if you want to participate :)

Kind regards,
Kacper

wt., 28 lip 2020 o 10:05 Carlton Gibson 
napisał(a):

> Hi all.
>
> This is just a quick note, with a request for input, if you have an
> interest typing with Django.
>
> Kacper is doing a GSoC project to improve the django-stubs Mypy plugin.
>
> It's going well, but as ever, extra reviewing capacity is always handy.
>
> Current PR is here:
> https://github.com/typeddjango/django-stubs/pull/427
>
> There's a discussion thread on the forum too:
> https://forum.djangoproject.com/t/gsoc-2020-django-stubs-mypy-plugin/2513/8
>
> If you know about such things, and have capacity to give it a run and dig
> in a bit, that would be great.
>
> Thanks.
> 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/12f711fc-1625-4419-9b9b-de381538f829o%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/12f711fc-1625-4419-9b9b-de381538f829o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAFfZ%2Bb46%2BcspJHvRkO4P6%3DYhFG0EHYA4%2BnLSekFJxU5VQEp0bA%40mail.gmail.com.


Review help with GSoC Mypy plugin project.

2020-07-28 Thread Carlton Gibson
Hi all. 

This is just a quick note, with a request for input, if you have an 
interest typing with Django. 

Kacper is doing a GSoC project to improve the django-stubs Mypy plugin. 

It's going well, but as ever, extra reviewing capacity is always handy. 

Current PR is here: 
https://github.com/typeddjango/django-stubs/pull/427

There's a discussion thread on the forum too: 
https://forum.djangoproject.com/t/gsoc-2020-django-stubs-mypy-plugin/2513/8

If you know about such things, and have capacity to give it a run and dig 
in a bit, that would be great. 

Thanks. 
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/12f711fc-1625-4419-9b9b-de381538f829o%40googlegroups.com.


Re: Resume app designing need help

2020-07-09 Thread Arvind Nedumaran
Hi,

You have reached the mailing list for discussing the development of the Django 
framework.

I think you're looking for help with using Django which is a different mailing 
list (django-users). Or check out the forum at forum.djangoproject.com

Best,
Arvind

Get Outlook for Android<https://aka.ms/ghei36>


From: django-developers@googlegroups.com  
on behalf of Kranthi Kotagiri 
Sent: Thursday, July 9, 2020 9:53:02 AM
To: Django developers (Contributions to Django itself) 

Subject: Resume app designing need help

I'm a student in the USA. I want help to complete the assignment I was really 
in trouble in the deadline. I need really less time from you. I attach my 
project source code if you run the code in vs studio you get and template. and 
I attach the other resume file. Can Someone help me with this?
I want the working_resume app to change like a resume-full stack. Changing only 
the template.

Please help me!
Thank you

--
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<mailto:django-developers+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/874dd3c5-e004-4727-bb54-0e7e5e2967cdo%40googlegroups.com<https://groups.google.com/d/msgid/django-developers/874dd3c5-e004-4727-bb54-0e7e5e2967cdo%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/BYAPR14MB29182FD1D3664F71E9E0A2DFA3640%40BYAPR14MB2918.namprd14.prod.outlook.com.


Re: help For GSoC Proposal (Improve Admin Filters)

2020-02-25 Thread Debaditya Mohanty
ya still searching for the theme to work upon


On Tue, Feb 25, 2020 at 4:34 PM Carlton Gibson 
wrote:

> Hi all.
>
> Yes, as Adam says, there's a good amount of info on the Wiki page to get
> you started.
>
> See the Contributing docs and the Advice for new contributors to begin.
> https://docs.djangoproject.com/en/dev/internals/contributing/
>
> https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/
>
> And yes, the forum is a good channel too, but both here and there, allow
> some time for replies. :)
>
> Ref the project, you'll need to find an area of Django you're at least
> happy with… — from there it's the quality of proposal we're looking at.
> There is an example linked on the wiki. Once you get started on it we can
> provide feedback.
>
> HTH.
>
> 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/8cf62f71-2ff9-44b1-818a-b8e761db72f6%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/CADEq1%3D5khqKhO3OLyV72j4ZE%3D3BbKOhLtgOw9THWzNrZ8duuWA%40mail.gmail.com.


Re: help For GSoC Proposal (Improve Admin Filters)

2020-02-25 Thread Carlton Gibson
Hi all. 

Yes, as Adam says, there's a good amount of info on the Wiki page to get 
you started. 

See the Contributing docs and the Advice for new contributors to begin. 
https://docs.djangoproject.com/en/dev/internals/contributing/
https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/

And yes, the forum is a good channel too, but both here and there, allow 
some time for replies. :)

Ref the project, you'll need to find an area of Django you're at least 
happy with… — from there it's the quality of proposal we're looking at. 
There is an example linked on the wiki. Once you get started on it we can 
provide feedback. 

HTH. 

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/8cf62f71-2ff9-44b1-818a-b8e761db72f6%40googlegroups.com.


Re: help For GSoC Proposal (Improve Admin Filters)

2020-02-24 Thread Sanskar Jaiswal
I too am interested in GSoC. I made 2 PRs around 3 days ago, which are
still being reviewed. I am still trying to work on more PRs, but I am
having a hard time choosing a component, as I feel like my proposal should
be centered around the component I am most familiar with. Should I post my
concerns on the mentorship channel on Django forum?

On Mon, 24 Feb 2020 at 21:14, Adam Johnson  wrote:

> Hi both,
>
> Have you seen:
>
> * The wiki page: https://code.djangoproject.com/wiki/SummerOfCode2020
> * Recent responses on the mailing list on GSoc (search it) e.g.
> https://groups.google.com/d/msg/django-core-mentorship/_GO8rLu881k/V6mYQKmMCAAJ
>
> Keshav: you made a great first PR. Searching for other issues around the
> admin would be a good approach. If you haven't developed your own site
> using the Django admin, that would also be worth it. You could start with
> the official tutorial and expand from there. Also worth investigating the
> popular third party admin packages, some of which have filter extensions:
> https://djangopackages.org/grids/g/admin-interface/
>
> Thanks,
>
> Adam
>
> On Mon, 24 Feb 2020 at 11:53, Bryan Andia Llerena <
> bryanandialler...@gmail.com> wrote:
>
>> Hello,
>> Im interested in participate too, but I don't have much experience. Can
>> you tell me more about what do you want to do please?
>>
>> Thank you
>>
>> El dom., 23 feb. 2020 6:46 a. m., keshav kumar 
>> escribió:
>>
>>> Hello,
>>> I want to participate in GSoC with Django. And I want to work on
>>> 'Improve Admin Filters' Project.
>>> Here I am planning to work on issues related with filters which are not
>>> taken by anyone . Is this good approach ?
>>> Is there something more that would be helpful or needed which I can add
>>> as well , please mention it.
>>>
>>> --
>>> 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/9da51a2b-f2bf-46a3-a0c0-0849bca4026d%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/CAAW9J%2B8x54RNU%3DBub_-iDGFpeKTX1MUsxpvp2yTw7YvMZ7ajsg%40mail.gmail.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/CAMyDDM1ev-ppM7NHti7j%3DyzGA1_ckH85UjNCKqfeSAiqK89-%3Dw%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/CACzaa%3DG6QFztwCV7WL8%2BBKx9HebKWROSen3Fo8%2BNJOUCAzXxJw%40mail.gmail.com.


Re: help For GSoC Proposal (Improve Admin Filters)

2020-02-24 Thread Adam Johnson
Hi both,

Have you seen:

* The wiki page: https://code.djangoproject.com/wiki/SummerOfCode2020
* Recent responses on the mailing list on GSoc (search it) e.g.
https://groups.google.com/d/msg/django-core-mentorship/_GO8rLu881k/V6mYQKmMCAAJ

Keshav: you made a great first PR. Searching for other issues around the
admin would be a good approach. If you haven't developed your own site
using the Django admin, that would also be worth it. You could start with
the official tutorial and expand from there. Also worth investigating the
popular third party admin packages, some of which have filter extensions:
https://djangopackages.org/grids/g/admin-interface/

Thanks,

Adam

On Mon, 24 Feb 2020 at 11:53, Bryan Andia Llerena <
bryanandialler...@gmail.com> wrote:

> Hello,
> Im interested in participate too, but I don't have much experience. Can
> you tell me more about what do you want to do please?
>
> Thank you
>
> El dom., 23 feb. 2020 6:46 a. m., keshav kumar 
> escribió:
>
>> Hello,
>> I want to participate in GSoC with Django. And I want to work on 'Improve
>> Admin Filters' Project.
>> Here I am planning to work on issues related with filters which are not
>> taken by anyone . Is this good approach ?
>> Is there something more that would be helpful or needed which I can add
>> as well , please mention it.
>>
>> --
>> 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/9da51a2b-f2bf-46a3-a0c0-0849bca4026d%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/CAAW9J%2B8x54RNU%3DBub_-iDGFpeKTX1MUsxpvp2yTw7YvMZ7ajsg%40mail.gmail.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/CAMyDDM1ev-ppM7NHti7j%3DyzGA1_ckH85UjNCKqfeSAiqK89-%3Dw%40mail.gmail.com.


Re: help For GSoC Proposal (Improve Admin Filters)

2020-02-24 Thread Bryan Andia Llerena
Hello,
Im interested in participate too, but I don't have much experience. Can you
tell me more about what do you want to do please?

Thank you

El dom., 23 feb. 2020 6:46 a. m., keshav kumar 
escribió:

> Hello,
> I want to participate in GSoC with Django. And I want to work on 'Improve
> Admin Filters' Project.
> Here I am planning to work on issues related with filters which are not
> taken by anyone . Is this good approach ?
> Is there something more that would be helpful or needed which I can add as
> well , please mention it.
>
> --
> 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/9da51a2b-f2bf-46a3-a0c0-0849bca4026d%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/CAAW9J%2B8x54RNU%3DBub_-iDGFpeKTX1MUsxpvp2yTw7YvMZ7ajsg%40mail.gmail.com.


help For GSoC Proposal (Improve Admin Filters)

2020-02-23 Thread keshav kumar
Hello,
I want to participate in GSoC with Django. And I want to work on 'Improve 
Admin Filters' Project.
Here I am planning to work on issues related with filters which are not 
taken by anyone . Is this good approach ?
Is there something more that would be helpful or needed which I can add as 
well , please mention it.

-- 
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/9da51a2b-f2bf-46a3-a0c0-0849bca4026d%40googlegroups.com.


Re: New to Open Source Contribution Need Help With Setting Up Environment For Channels to Reproduce Issues After Cloning From Git

2019-11-28 Thread Adam Johnson
Hi Suvodeep,

Did you see this documentation page?
https://channels.readthedocs.io/en/latest/contributing.html

If you use the command:

pip install -e .

You can install your cloned channels copy in a virtual environment and use
that as normal in a channels app.

Afraid I haven't worked on it myself but the instructions seem pretty
complete. I don't think there are many people working on Channels itself
right now though.

Thanks,

Adam

On Tue, 5 Nov 2019 at 05:49, Suvodeep Dubey  wrote:

> I have cloned channels repo in my local. I was going through the bugs but
> was unable to set-up the environment to reproduce the bugs.
>
> I have the following understanding:
>
> 1. Rather than `pip install channels` clone the channels from git
> 2. Execute the channels parallel to your application and make them talk
> and see the errors in application and logs in channels.
>
> I am unable to build and run the channels and configure it with a dummy
> Django app to reproduce the bugs.
>
> --
> 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/ddd5f084-7797-471d-889f-456c83df8b28%40googlegroups.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/CAMyDDM2UNk3vZU2dUBmEo5C7cH%2B57fzP_PdiNfSDZUXDS%2B9UDg%40mail.gmail.com.


New to Open Source Contribution Need Help With Setting Up Environment For Channels to Reproduce Issues After Cloning From Git

2019-11-05 Thread Suvodeep Dubey
I have cloned channels repo in my local. I was going through the bugs but 
was unable to set-up the environment to reproduce the bugs.

I have the following understanding:

1. Rather than `pip install channels` clone the channels from git
2. Execute the channels parallel to your application and make them talk and 
see the errors in application and logs in channels.

I am unable to build and run the channels and configure it with a dummy 
Django app to reproduce the bugs.

-- 
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/ddd5f084-7797-471d-889f-456c83df8b28%40googlegroups.com.


Re: I need help

2019-08-14 Thread Pavlos Georgiadis
Hi Fadi,

This is the developers mailing list dedicated to development of django
itself. Questions like this should be addressed to the users mailing list.


P.S: Do a search for "django model property decorator" (there is also a
cached_property decorator). It will help you find a solution.

--
Pavlos Georgiadis



On 14/08/2019 05:22, 'Fadi Haddad' via Django developers (Contributions
to Django itself) wrote:
> Hi, 
>
> I have created a table called dataset
>
> I put the age as integer e.g. 34, 23, 10, 47 
>
> I need to create Age range for the age column. I need the age to be
> displayed as [1-10], [11,20], [21-30] ... etc. Can this happen by
> replacing values or do I have to create another column for this? The
> goal is to anonymize my dataset therefore if it is possible to replace
> values (age) rather than creating new column would be excellent.   
>
> Can anyone help me how to code this in SQL? Would be appreciated if
> code is included in the response 
>
> Regards
>
> Fadi
> -- 
> 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
> <mailto:django-developers+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/79b8a25a-ce6b-4a73-9be2-d67c7d78e2ff%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/79b8a25a-ce6b-4a73-9be2-d67c7d78e2ff%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/bc6be538-ae87-3ada-800f-a37020cc12ba%40georgiadis.eu.


I need help

2019-08-14 Thread Become a Physicist
You can create a drop down menu for this.

AGE_CHOICES = (
('11-20','11-20'),
('21-30', '21-30'),
)

class MyModel(models.Model):
  color = models.CharField(max_length=6, choices=AGE_CHOICES, blank=True, 
null=True) 

Hope this helps... 😊 
With regards, 
Shubham Gupta 

-- 
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/dbb7403f-37d8-4f34-aa86-9f0861382964%40googlegroups.com.


Re: I need help

2019-08-14 Thread Adam Johnson
Hi!

I think you've found the wrong mailing list for this post. This mailing
list is for the development of Django itself, not for support using Django.
This means the discussions of bugs and features in Django itself, rather
than in your code using it. People on this list are unlikely to answer your
support query with their limited time and energy. Read more on the mailing
lists at https://www.djangoproject.com/community/

For support, please use the django-users mailing list, or IRC #django on
Freenode, or a site like Stack Overflow. There are people out there willing
to help on those channels, but they might not respond if you don't ask your
question well. Stack Overflow's question guide can help you frame it well:
https://stackoverflow.com/help/how-to-ask .

Also if you haven't read it, please take a look at Django's Code of
Conduct: https://www.djangoproject.com/conduct/ . These are our "ground
rules" for working well as a community, and will help you get the most out
of Django and our fantastic community.

On your question - I think you want the SQL CASE and WHEN which are mapped
in the Django ORM as the Case and When functions:
https://docs.djangoproject.com/en/2.2/ref/models/conditional-expressions/

Thanks for your understanding,

Adam

On Wed, 14 Aug 2019 at 03:22, 'Fadi Haddad' via Django developers
(Contributions to Django itself)  wrote:

> Hi,
>
> I have created a table called dataset
>
> I put the age as integer e.g. 34, 23, 10, 47
>
> I need to create Age range for the age column. I need the age to be
> displayed as [1-10], [11,20], [21-30] ... etc. Can this happen by replacing
> values or do I have to create another column for this? The goal is to
> anonymize my dataset therefore if it is possible to replace values (age)
> rather than creating new column would be excellent.
>
> Can anyone help me how to code this in SQL? Would be appreciated if code
> is included in the response
>
> Regards
>
> Fadi
>
> --
> 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/79b8a25a-ce6b-4a73-9be2-d67c7d78e2ff%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/79b8a25a-ce6b-4a73-9be2-d67c7d78e2ff%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
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/CAMyDDM10uV0Lfx2rAzFN3K95F-KwUC3TC5dsQvcehNpTtXYTwA%40mail.gmail.com.


I need help

2019-08-13 Thread 'Fadi Haddad' via Django developers (Contributions to Django itself)
Hi, 

I have created a table called dataset

I put the age as integer e.g. 34, 23, 10, 47 

I need to create Age range for the age column. I need the age to be 
displayed as [1-10], [11,20], [21-30] ... etc. Can this happen by replacing 
values or do I have to create another column for this? The goal is to 
anonymize my dataset therefore if it is possible to replace values (age) 
rather than creating new column would be excellent.   

Can anyone help me how to code this in SQL? Would be appreciated if code is 
included in the response 

Regards

Fadi

-- 
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/79b8a25a-ce6b-4a73-9be2-d67c7d78e2ff%40googlegroups.com.


Re: help with this migrations error the site is running i cant drop the database

2019-06-04 Thread Adam Johnson
Hi!

I think you've found the wrong mailing list for this post. This mailing
list is for the development of Django itself, not for support using Django.
This means the discussions of bugs and features in Django itself, rather
than in your code using it. People on this list are unlikely to answer your
support query with their limited time and energy. Read more on the mailing
lists at https://www.djangoproject.com/community/

For support, please use the django-users mailing list, or IRC #django on
Freenode, or a site like Stack Overflow. There are people out there willing
to help on those channels, but they might not respond if you don't ask your
question well. Stack Overflow's question guide can help you frame it well:
https://stackoverflow.com/help/how-to-ask . Posting only a stack trace is
*not* very easy to respond to.

Also if you haven't read it, please take a look at Django's Code of
Conduct: https://www.djangoproject.com/conduct/ . These are our "ground
rules" for working well as a community, and will help you get the most out
of Django and our fantastic community.

Thanks for your understanding,

Adam

On Tue, 4 Jun 2019 at 07:52, Fastmobile Fastmobile 
wrote:

> python manage.py makemigrations Traceback (most recent call last): File
> "manage.py", line 15, in  execute_from_command_line(sys.argv)
> File
> "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py",
> line 381, in execute_from_command_line utility.execute() File
> "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py",
> line 375, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv) File
> "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/base.py",
> line 316, in run_from_argv self.execute(*args, **cmd_options) File
> "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/base.py",
> line 353, in execute output = self.handle(*args, **options) File
> "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/base.py",
> line 83, in wrapped res = handle_func(*args, **kwargs) File
> "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/commands/makemigrations.py",
> line 103, in handle loader.check_consistent_history(connection) File
> "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/db/migrations/loader.py",
> line 297, in check_consistent_history 
> connection.alias,django.db.migrations.exceptions.InconsistentMigrationHistory:
> Migration django_comments.0001_initial is applied before its dependency
> ogbam.0001_initial on database 'default'.
>
> --
> 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/be454c98-e20e-4e08-9beb-1cf901ac1056%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/be454c98-e20e-4e08-9beb-1cf901ac1056%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
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 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/CAMyDDM2YtdZcTTkPbpxmXg8-J_4F5fLem20QvAhS_epHa0qcZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


help with this migrations error the site is running i cant drop the database

2019-06-04 Thread Fastmobile Fastmobile
 python manage.py makemigrations Traceback (most recent call last): File 
"manage.py", line 15, in  execute_from_command_line(sys.argv) File 
"/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py",
 
line 381, in execute_from_command_line utility.execute() File 
"/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py",
 
line 375, in execute self.fetch_command(subcommand).run_from_argv(self.argv) 
File 
"/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/base.py",
 
line 316, in run_from_argv self.execute(*args, **cmd_options) File 
"/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/base.py",
 
line 353, in execute output = self.handle(*args, **options) File 
"/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/base.py",
 
line 83, in wrapped res = handle_func(*args, **kwargs) File 
"/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/commands/makemigrations.py",
 
line 103, in handle loader.check_consistent_history(connection) File 
"/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/db/migrations/loader.py",
 
line 297, in check_consistent_history 
connection.alias,django.db.migrations.exceptions.InconsistentMigrationHistory: 
Migration django_comments.0001_initial is applied before its dependency 
ogbam.0001_initial on database 'default'.

-- 
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/be454c98-e20e-4e08-9beb-1cf901ac1056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help wanted reviewing applications for the DSF internship

2019-05-12 Thread Elad Yaniv
Sure... just pick m  😂

i would offer my help, but as i am interested in that internship i believe
it wouldn't be fair play

best of luck !

On Sat, May 11, 2019 at 3:53 PM Jacob Kaplan-Moss 
wrote:

> Hi folks -
>
> I'm looking for some folks to help me review applications for the
> internship to build a new DSF membership app. If you have experience hiring
> junior developers and can devote around 10+ hours over the next few weeks.
>
> Background: the DSF put out a CFP
> <https://www.djangoproject.com/weblog/2018/nov/04/individual-membership-system-cfp/>
>  for
> a new membership app. I won this contract and am fulfilling it in a novel
> way: instead of doing the work myself, I'm hiring an intern to do the work
> with my support. I put out a call for interns
> <https://www.djangoproject.com/weblog/2019/apr/24/internship-opportunity-dsf-app/>
>  a
> couple weeks ago. The response was overwhelming: just over a thousand
> people applied!
>
> So, I need some help reviewing applications. I'm looking for people who
> already have experience hiring junior devs (normally I'd love to offer to
> train some folks to help, but I don't have time). If this is you, LMK!
>
> Jacob
>
> --
> 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/CAK8PqJFjSX2_uZNKqoAUwe96eASb9XqWfn1zM%2BpKqAb1wUKhQg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-developers/CAK8PqJFjSX2_uZNKqoAUwe96eASb9XqWfn1zM%2BpKqAb1wUKhQg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/CAO3nhSv5pbAdny70hYAuCLhH3tnPj2pfHZy5my52w_TtjaJmqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Help wanted reviewing applications for the DSF internship

2019-05-11 Thread Jacob Kaplan-Moss
Hi folks -

I'm looking for some folks to help me review applications for the
internship to build a new DSF membership app. If you have experience hiring
junior developers and can devote around 10+ hours over the next few weeks.

Background: the DSF put out a CFP
<https://www.djangoproject.com/weblog/2018/nov/04/individual-membership-system-cfp/>
for
a new membership app. I won this contract and am fulfilling it in a novel
way: instead of doing the work myself, I'm hiring an intern to do the work
with my support. I put out a call for interns
<https://www.djangoproject.com/weblog/2019/apr/24/internship-opportunity-dsf-app/>
a
couple weeks ago. The response was overwhelming: just over a thousand
people applied!

So, I need some help reviewing applications. I'm looking for people who
already have experience hiring junior devs (normally I'd love to offer to
train some folks to help, but I don't have time). If this is you, LMK!

Jacob

-- 
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/CAK8PqJFjSX2_uZNKqoAUwe96eASb9XqWfn1zM%2BpKqAb1wUKhQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help for GSoC proposal (Formset improvements)

2019-04-08 Thread PARTH PATIL
I researched a bit on FormWizards, and what I felt is that it is 
oriented more towards the idea of multiple form submission similar to that 
of Google forms where we have multiple pages. 

I was thinking of creating a *FormSetContainer* which would be like a 
collection instance of different Forms, FormSets. or FormSetContainers 
themselves. It would be oriented more towards how we handle it in the 
backend, like the saving process, validation, etc rather than the 
frontend side. And the FormWizard View may be revived to display the 
FormContainer.

This would be another level of abstraction over the FormSet and can be 
helpful in the case where the user needs to get data for different model 
objects at once.

Please comment on need and feasibility of this. 


On Monday, April 8, 2019 at 11:54:57 AM UTC+5:30, Carlton Gibson wrote:
>
> Hi Parth. 
>
> Well, the wizard (&co) got moved out to it's own app 
> https://django-formtools.readthedocs.io/en/latest/
> But yes, there's no reason why this sort of thing wouldn't potentially in 
> scope. 
>
> Kind Regards,
>
> Carlton
>
>
> On Sunday, 7 April 2019 23:47:23 UTC+2, PARTH PATIL wrote:
>>
>> (Sorry I typed the incomplete message in the last post)
>>
>> I came across this ticket while going over the feature list of Forms and 
>> Formsets (# 18830 )
>>
>> Feature requested in this thicket is something like
>>
>> *FormWizard:*
>> * It will be like a container which can have forms, formsets, and 
>> formwizards itself.*
>>  
>>
>>1. Is this kind of feature still required?
>>2. Will this be a good addition to the Form?
>>3. Should I mention this in my proposal, as there is few time left 
>>for the final submission I may not be able to draft it properly?
>>
>> The possible use of this will be to attach different forms in an HTML and 
>> this form wizard will handle saving, etc of the forms. I was thinking of 
>> keeping something like a management form similar to formset which will 
>> handle the individual object and ensure which fields correspond to which 
>> form/formset element within the wizard.
>>
>>
>>
>> On Tuesday, March 26, 2019 at 11:26:56 PM UTC+5:30, PARTH PATIL wrote:
>>>
>>> I was planning  to do the "Formset Improvements 
>>> " 
>>> project in GSoC. I would need some more explanation on what is expected as 
>>> nothing was clearly mentioned there.
>>> You can link the related tickets or elaborate on what is needed that 
>>> would be helpful.
>>>
>>> I dug a little bit deeper into this. and found some related issues 1 
>>> 
>>>  
>>> | 2. 
>>> 
>>>
>>> I'm planning to add a request variable in the BaseFormSet Class 
>>> 
>>>  
>>> and then handle it such that it will be available within every form (not 
>>> completely polished till now).
>>>
>>>1. Is this a good approach?
>>>2. Will this solve the problem? (If not please mention the problems 
>>>which will not be solved
>>>
>>> I am also looking for some additional features that maybe added to 
>>> formset so am open for suggestions.
>>> I'm currently in middle of making the abstract so before moving forward 
>>> i would like to get some confirmation that this is correct approach. Thank 
>>> you
>>>
>>

-- 
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/1fbb3ac2-c66a-413b-b409-ba0856fa1cb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help for GSoC proposal (Formset improvements)

2019-04-07 Thread Carlton Gibson
Hi Parth. 

Well, the wizard (&co) got moved out to it's own 
app https://django-formtools.readthedocs.io/en/latest/
But yes, there's no reason why this sort of thing wouldn't potentially in 
scope. 

Kind Regards,

Carlton


On Sunday, 7 April 2019 23:47:23 UTC+2, PARTH PATIL wrote:
>
> (Sorry I typed the incomplete message in the last post)
>
> I came across this ticket while going over the feature list of Forms and 
> Formsets (# 18830 )
>
> Feature requested in this thicket is something like
>
> *FormWizard:*
> * It will be like a container which can have forms, formsets, and 
> formwizards itself.*
>  
>
>1. Is this kind of feature still required?
>2. Will this be a good addition to the Form?
>3. Should I mention this in my proposal, as there is few time left for 
>the final submission I may not be able to draft it properly?
>
> The possible use of this will be to attach different forms in an HTML and 
> this form wizard will handle saving, etc of the forms. I was thinking of 
> keeping something like a management form similar to formset which will 
> handle the individual object and ensure which fields correspond to which 
> form/formset element within the wizard.
>
>
>
> On Tuesday, March 26, 2019 at 11:26:56 PM UTC+5:30, PARTH PATIL wrote:
>>
>> I was planning  to do the "Formset Improvements 
>> " 
>> project in GSoC. I would need some more explanation on what is expected as 
>> nothing was clearly mentioned there.
>> You can link the related tickets or elaborate on what is needed that 
>> would be helpful.
>>
>> I dug a little bit deeper into this. and found some related issues 1 
>> 
>>  
>> | 2. 
>> 
>>
>> I'm planning to add a request variable in the BaseFormSet Class 
>> 
>>  
>> and then handle it such that it will be available within every form (not 
>> completely polished till now).
>>
>>1. Is this a good approach?
>>2. Will this solve the problem? (If not please mention the problems 
>>which will not be solved
>>
>> I am also looking for some additional features that maybe added to 
>> formset so am open for suggestions.
>> I'm currently in middle of making the abstract so before moving forward i 
>> would like to get some confirmation that this is correct approach. Thank you
>>
>

-- 
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/519108f2-4030-49d3-8ce8-137f32a48743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help for GSoC proposal (Formset improvements)

2019-04-07 Thread PARTH PATIL
(Sorry I typed the incomplete message in the last post)

I came across this ticket while going over the feature list of Forms and 
Formsets (# 18830 )

Feature requested in this thicket is something like

*FormWizard:*
* It will be like a container which can have forms, formsets, and 
formwizards itself.*
 

   1. Is this kind of feature still required?
   2. Will this be a good addition to the Form?
   3. Should I mention this in my proposal, as there is few time left for 
   the final submission I may not be able to draft it properly?

The possible use of this will be to attach different forms in an HTML and 
this form wizard will handle saving, etc of the forms. I was thinking of 
keeping something like a management form similar to formset which will 
handle the individual object and ensure which fields correspond to which 
form/formset element within the wizard.



On Tuesday, March 26, 2019 at 11:26:56 PM UTC+5:30, PARTH PATIL wrote:
>
> I was planning  to do the "Formset Improvements 
> " 
> project in GSoC. I would need some more explanation on what is expected as 
> nothing was clearly mentioned there.
> You can link the related tickets or elaborate on what is needed that would 
> be helpful.
>
> I dug a little bit deeper into this. and found some related issues 1 
> 
>  
> | 2. 
> 
>
> I'm planning to add a request variable in the BaseFormSet Class 
> 
>  
> and then handle it such that it will be available within every form (not 
> completely polished till now).
>
>1. Is this a good approach?
>2. Will this solve the problem? (If not please mention the problems 
>which will not be solved
>
> I am also looking for some additional features that maybe added to formset 
> so am open for suggestions.
> I'm currently in middle of making the abstract so before moving forward i 
> would like to get some confirmation that this is correct approach. Thank you
>

-- 
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/0e6fe881-ea44-41b4-99e5-190841e66e20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help for GSoC proposal (Formset improvements)

2019-04-07 Thread PARTH PATIL
I came across this ticket while going over the feature list of Forms and 
Formsets (# 18830 )

Feature requested in this thicket is something like

*FormWizard:*
* It will be like a container which can have forms, formsets, and 
formwizards itself.*




On Tuesday, March 26, 2019 at 11:26:56 PM UTC+5:30, PARTH PATIL wrote:
>
> I was planning  to do the "Formset Improvements 
> " 
> project in GSoC. I would need some more explanation on what is expected as 
> nothing was clearly mentioned there.
> You can link the related tickets or elaborate on what is needed that would 
> be helpful.
>
> I dug a little bit deeper into this. and found some related issues 1 
> 
>  
> | 2. 
> 
>
> I'm planning to add a request variable in the BaseFormSet Class 
> 
>  
> and then handle it such that it will be available within every form (not 
> completely polished till now).
>
>1. Is this a good approach?
>2. Will this solve the problem? (If not please mention the problems 
>which will not be solved
>
> I am also looking for some additional features that maybe added to formset 
> so am open for suggestions.
> I'm currently in middle of making the abstract so before moving forward i 
> would like to get some confirmation that this is correct approach. Thank you
>

-- 
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/b5ed1b63-84f7-4acc-8633-6c72336f2f82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help for GSoC proposal (Formset improvements)

2019-03-28 Thread PARTH PATIL
Thanks for your 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 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/ad7f8ce0-454a-45a0-9401-df3a17e50848%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help for GSoC proposal (Formset improvements)

2019-03-28 Thread Carlton Gibson
Hi Parth, 

Yes, something along those lines will be right. 

First-off, what are the existing work-arounds (i.e. how are people handling 
this in the wild: overriding `__init__()` methods etc...) — can these be 
summarised and documented, where worth recommending?

Then, API changes to improve on that situation, like passing in request 
objects. (From experience with DRF and django-filter, making the request 
available solves **most** issues for **most** users — "But I need X! — But 
that's just `request.X`" 9 times out of 10.) 

THEN, look at open accepted issues on Forms 
.
 
There are ≈70. Begin with FormSets issues, then spread out. Which are 
related? (#10403?) Which can you target? You don't have to solve them all 
(!) but a good goal for a 12 week project would be to become a total expert 
on django.forms, and to have handled a number of issues as part of that. 

HTH.

Kind Regards,

Carlton


On Tuesday, 26 March 2019 18:56:56 UTC+1, PARTH PATIL wrote:
>
> I was planning  to do the "Formset Improvements 
> " 
> project in GSoC. I would need some more explanation on what is expected as 
> nothing was clearly mentioned there.
> You can link the related tickets or elaborate on what is needed that would 
> be helpful.
>
> I dug a little bit deeper into this. and found some related issues 1 
> 
>  
> | 2. 
> 
>
> I'm planning to add a request variable in the BaseFormSet Class 
> 
>  
> and then handle it such that it will be available within every form (not 
> completely polished till now).
>
>1. Is this a good approach?
>2. Will this solve the problem? (If not please mention the problems 
>which will not be solved
>
> I am also looking for some additional features that maybe added to formset 
> so am open for suggestions.
> I'm currently in middle of making the abstract so before moving forward i 
> would like to get some confirmation that this is correct approach. Thank you
>

-- 
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/739596dd-772d-42ac-808e-32c670b8b683%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help for GSoC proposal (Formset improvements)

2019-03-27 Thread Dmitriy Sintsov
It would be nice to have paginated formsets when there are lots of one to 
many relationships in the inline form, otherwise such rendered formset is 
slow and huge.

On Tuesday, March 26, 2019 at 8:56:56 PM UTC+3, PARTH PATIL wrote:
>
> I was planning  to do the "Formset Improvements 
> " 
> project in GSoC. I would need some more explanation on what is expected as 
> nothing was clearly mentioned there.
> You can link the related tickets or elaborate on what is needed that would 
> be helpful.
>
> I dug a little bit deeper into this. and found some related issues 1 
> 
>  
> | 2. 
> 
>
> I'm planning to add a request variable in the BaseFormSet Class 
> 
>  
> and then handle it such that it will be available within every form (not 
> completely polished till now).
>
>1. Is this a good approach?
>2. Will this solve the problem? (If not please mention the problems 
>which will not be solved
>
> I am also looking for some additional features that maybe added to formset 
> so am open for suggestions.
> I'm currently in middle of making the abstract so before moving forward i 
> would like to get some confirmation that this is correct approach. Thank you
>

-- 
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/4aa66060-b6a0-465d-acbf-9b31ac6a69a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Help for GSoC proposal (Formset improvements)

2019-03-26 Thread PARTH PATIL
I was planning  to do the "Formset Improvements 
" 
project in GSoC. I would need some more explanation on what is expected as 
nothing was clearly mentioned there.
You can link the related tickets or elaborate on what is needed that would 
be helpful.

I dug a little bit deeper into this. and found some related issues 1 

 
| 2. 


I'm planning to add a request variable in the BaseFormSet Class 

 
and then handle it such that it will be available within every form (not 
completely polished till now).

   1. Is this a good approach?
   2. Will this solve the problem? (If not please mention the problems 
   which will not be solved

I am also looking for some additional features that maybe added to formset 
so am open for suggestions.
I'm currently in middle of making the abstract so before moving forward i 
would like to get some confirmation that this is correct approach. Thank you

-- 
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/09458146-224c-44c5-8bb3-2560f47350e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: help regarding google summer of code

2019-03-18 Thread Confi Yobo
Sincerely, i really think django should have an integration for
frontend frameworks just like laravel(which with just eject you have
switched framework) or ruby. because the work around  is really
stressfull and sometimes hard to deploy.

On Sat, Mar 9, 2019 at 2:48 PM Muhammad Faraz
 wrote:
>
> in it its not clear that weather its worth working and also i agree to point 
> that django is lacking in integration  with frontend frameworks like laravel 
> and ruby and also i am not focusing on only vuejs it was only because right 
> now i have worked only on vuejs so what are your thoughts on this idea and a 
> little favor can i get guide to be accepted in django part of google summer 
> of code
>
> On Saturday, March 9, 2019 at 2:30:44 PM UTC+5, Carlton Gibson wrote:
>>
>> Hi Muhammad.
>>
>> There was a thread about this the other day:
>>
>> https://groups.google.com/d/topic/django-developers/KVAZkRCq9KU/discussion
>>
>> Have a read. (Check out Aymeric's blog post series linked in that thread.)
>>
>> Work around Django's staticfiles app would be good. It would ideally be 
>> general purpose, rather than just targeting one JS framework. (i.e. not just 
>> Vue.)
>>
>> Kind Regards,
>>
>> Carlton
>>
>>
>> On Saturday, 9 March 2019 04:05:56 UTC+1, Muhammad Faraz wrote:
>>>
>>> i am taking part first time in any open source project using summer of code 
>>> and i was think would the idea of integration django with front ends like 
>>> vuejs will it be acceptable front end support especially  for vuejs is 
>>> great in laravel due to watch package so i was thinking would proposal of 
>>> creating module that make the integration of font end frame works with 
>>> django easy will it be acceptable ?
>
> --
> 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/5240ab50-ad65-4128-808c-4c60110b482c%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/CAD9uRzd7rOdKqjWzGLQanMbfxVSn1ukCvkciyS3Acnr23Q9-Qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: help regarding google summer of code

2019-03-09 Thread Muhammad Faraz
in it its not clear that weather its worth working and also i agree to 
point that django is lacking in integration  with frontend frameworks like 
laravel and ruby and also i am not focusing on only vuejs it was only 
because right now i have worked only on vuejs so what are your thoughts on 
this idea and a little favor can i get guide to be accepted in django part 
of google summer of code  

On Saturday, March 9, 2019 at 2:30:44 PM UTC+5, Carlton Gibson wrote:
>
> Hi Muhammad.
>
> There was a thread about this the other day: 
>
> https://groups.google.com/d/topic/django-developers/KVAZkRCq9KU/discussion
>
> Have a read. (Check out Aymeric's blog post series linked in that thread.) 
>
> Work around Django's staticfiles app would be good. It would ideally be 
> general purpose, rather than just targeting one JS framework. (i.e. not 
> just Vue.) 
>
> Kind Regards,
>
> Carlton
>
>
> On Saturday, 9 March 2019 04:05:56 UTC+1, Muhammad Faraz wrote:
>>
>> i am taking part first time in any open source project using summer of 
>> code and i was think would the idea of integration django with front ends 
>> like vuejs will it be acceptable front end support especially  for vuejs is 
>> great in laravel due to watch package so i was thinking would proposal of 
>> creating module that make the integration of font end frame works with 
>> django easy will it be acceptable ?
>>
>

-- 
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/5240ab50-ad65-4128-808c-4c60110b482c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: help regarding google summer of code

2019-03-09 Thread Carlton Gibson
Hi Muhammad.

There was a thread about this the other day: 

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

Have a read. (Check out Aymeric's blog post series linked in that thread.) 

Work around Django's staticfiles app would be good. It would ideally be 
general purpose, rather than just targeting one JS framework. (i.e. not 
just Vue.) 

Kind Regards,

Carlton


On Saturday, 9 March 2019 04:05:56 UTC+1, Muhammad Faraz wrote:
>
> i am taking part first time in any open source project using summer of 
> code and i was think would the idea of integration django with front ends 
> like vuejs will it be acceptable front end support especially  for vuejs is 
> great in laravel due to watch package so i was thinking would proposal of 
> creating module that make the integration of font end frame works with 
> django easy will it be acceptable ?
>

-- 
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/2659c56f-5374-466b-b25c-86fba4397325%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


help regarding google summer of code

2019-03-08 Thread Muhammad Faraz
i am taking part first time in any open source project using summer of code 
and i was think would the idea of integration django with front ends like 
vuejs will it be acceptable front end support especially  for vuejs is 
great in laravel due to watch package so i was thinking would proposal of 
creating module that make the integration of font end frame works with 
django easy will it be acceptable ?

-- 
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/5e238355-57f2-43bc-9283-37ec6be4b823%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help needed on Django-Guardian.

2019-02-04 Thread Carlton Gibson
Excellent. 

The place to follow up is on the Guardian repo. (Make PRs that close issues!)

I’m sure from there you can work out with Adam the best way forward (be that as 
a collaboration or Jazzband or ...). 

Here I’m just passing on the need for help. Thanks for the positive response 
all! 

Sent from my iPhone

> On 5 Feb 2019, at 07:21, Asif Saif Uddin  wrote:
> 
> Hi Carlton,
> 
> If needed I could be a collaborator of that. I get some monthly payment for 
> my open source python works :)
> 
>> On Monday, February 4, 2019 at 3:01:38 AM UTC+6, Carlton Gibson wrote:
>> Hi all. 
>> 
>> Adam Dobrawy who runs Django-Guardian, could do with some help maintaining 
>> there. 
>> 
>> The project seems to be in good shape. (It's up to date) But needs a bit of 
>> help keeping on top of the issues, dropping old-versions, and the rest of 
>> it. 
>> 
>> I see the project has some regular contributors. If you're one of them, do 
>> you have a small amount extra to help with the maintenance?
>> 
>> If you're not a contributor but use it, would you be able to lend a hand? 
>> 
>> As ever, first step if hanging out on the repo and helping with any incoming.
>> 
>> https://github.com/django-guardian/django-guardian
>> 
>> Thanks. 
>> 
>> 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 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/fdb10e33-ab6a-466b-b209-4cbed1bdc7df%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/94D0F687-0649-495B-B661-6300804F9898%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help needed on Django-Guardian.

2019-02-04 Thread Asif Saif Uddin
Hi Carlton,

If needed I could be a collaborator of that. I get some monthly payment for 
my open source python works :)

On Monday, February 4, 2019 at 3:01:38 AM UTC+6, Carlton Gibson wrote:
>
> Hi all. 
>
> Adam Dobrawy who runs Django-Guardian, could do with some help maintaining 
> there. 
>
> The project seems to be in good shape. (It's up to date) But needs a bit 
> of help keeping on top of the issues, dropping old-versions, and the rest 
> of it. 
>
> I see the project has some regular contributors. If you're one of them, do 
> you have a small amount extra to help with the maintenance?
>
> If you're not a contributor but use it, would you be able to lend a hand? 
>
> As ever, first step if hanging out on the repo and helping with any 
> incoming.
>
> https://github.com/django-guardian/django-guardian
>
> Thanks. 
>
> 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 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/fdb10e33-ab6a-466b-b209-4cbed1bdc7df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help needed on Django-Guardian.

2019-02-04 Thread sibasish mohanty
Hi,
I will go through the code base and try to contribute.
Thanks
Sibasish


On Mon, 4 Feb 2019, 2:31 a.m. Carlton Gibson  Hi all.
>
> Adam Dobrawy who runs Django-Guardian, could do with some help maintaining
> there.
>
> The project seems to be in good shape. (It's up to date) But needs a bit
> of help keeping on top of the issues, dropping old-versions, and the rest
> of it.
>
> I see the project has some regular contributors. If you're one of them, do
> you have a small amount extra to help with the maintenance?
>
> If you're not a contributor but use it, would you be able to lend a hand?
>
> As ever, first step if hanging out on the repo and helping with any
> incoming.
>
> https://github.com/django-guardian/django-guardian
>
> Thanks.
>
> 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 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/a33b0fcd-61eb-410f-b30b-37a6234e82db%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/a33b0fcd-61eb-410f-b30b-37a6234e82db%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAPtOTEqO0GTaOm3ciMVPgw%2BKiBsnVv3By1OZpDJ6nmDK-mhCLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Help needed on Django-Guardian.

2019-02-04 Thread Aleksi Häkli
We have had good success in project maintenance with the Jazzband organization 
which collaboratively tends to a number of Django projects. I think that the 
crowd of maintainers could help in the Guardian project infrastructure and take 
care of things like versioning, allowing better focus for issues related to 
functionality.

https://github.com/jazzband

-- 
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/1f716662-96d8-479a-99b9-17b35bb21591%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help needed on Django-Guardian.

2019-02-03 Thread Nasir Hussain
Hi,

Thanks for reaching out to the mailing list. I've stared the repo and will
start contributing from now on.

On Mon, Feb 4, 2019, 2:01 AM Carlton Gibson  Hi all.
>
> Adam Dobrawy who runs Django-Guardian, could do with some help maintaining
> there.
>
> The project seems to be in good shape. (It's up to date) But needs a bit
> of help keeping on top of the issues, dropping old-versions, and the rest
> of it.
>
> I see the project has some regular contributors. If you're one of them, do
> you have a small amount extra to help with the maintenance?
>
> If you're not a contributor but use it, would you be able to lend a hand?
>
> As ever, first step if hanging out on the repo and helping with any
> incoming.
>
> https://github.com/django-guardian/django-guardian
>
> Thanks.
>
> 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 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/a33b0fcd-61eb-410f-b30b-37a6234e82db%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/a33b0fcd-61eb-410f-b30b-37a6234e82db%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAB5Hk3whmEjb9oST%3DfxsANcoGXsoJ0y2uO9HQJEwcrMX4ex%3DHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Help needed on Django-Guardian.

2019-02-03 Thread Carlton Gibson
Hi all. 

Adam Dobrawy who runs Django-Guardian, could do with some help maintaining 
there. 

The project seems to be in good shape. (It's up to date) But needs a bit of 
help keeping on top of the issues, dropping old-versions, and the rest of 
it. 

I see the project has some regular contributors. If you're one of them, do 
you have a small amount extra to help with the maintenance?

If you're not a contributor but use it, would you be able to lend a hand? 

As ever, first step if hanging out on the repo and helping with any 
incoming.

https://github.com/django-guardian/django-guardian

Thanks. 

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 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/a33b0fcd-61eb-410f-b30b-37a6234e82db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: need help to get started

2018-10-28 Thread Tim Graham
Hi Harsh, please read 
https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/.

On Sunday, October 28, 2018 at 9:42:07 AM UTC-4, Harsh Sahu wrote:
>
> Hello There!
> This is Harsh. I'm pursuing master's degree in Computer Science. I'm a 
> intermediate python person and learning full stack 
> development(Flask/Django). Also I'm new to open source and would like to 
> make my contributions to Django. Please help me to get started .
> Thanks in advance.
>

-- 
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/6eedbfca-6ec8-489d-b52d-b6cbca3fbfa9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


need help to get started

2018-10-28 Thread Harsh Sahu


Hello There!
This is Harsh. I'm pursuing master's degree in Computer Science. I'm a 
intermediate python person and learning full stack 
development(Flask/Django). Also I'm new to open source and would like to 
make my contributions to Django. Please help me to get started .
Thanks in advance.

-- 
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/a2f571d4-1d3c-4f06-9a28-a8bbe45ac445%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: hi this is nagarjuna j, i need some help

2018-09-27 Thread Adam Johnson
This mailing list is for the development of Django itself, not for support.
Use the django-users mailing list for that, or IRC #django on freenode, or
a site like Stack Overflow.

Also your question is very unspecified, if you're looking for tutorials on
building django applications with a JSON API, there are many on the
internet.

On Thu, 27 Sep 2018 at 09:10,  wrote:

> hi all,
>  I needs your help guys any one of you,  i want all events data (in json
> format using python requests) to create a meetup app . so please help me .
> i want api of events list .
> thanks in adv
>
> --
> 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/89ad0224-a5b9-4fb5-8229-513ad7d7fb6a%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/89ad0224-a5b9-4fb5-8229-513ad7d7fb6a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
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 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/CAMyDDM175tTGYfB8pdQ%3DaSV9ivCosDG%3Ds9bKbXOQvCaTNNrBuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


hi this is nagarjuna j, i need some help

2018-09-27 Thread nagarjuna . j
hi all,
 I needs your help guys any one of you,  i want all events data (in json 
format using python requests) to create a meetup app . so please help me .
i want api of events list .
thanks in adv

-- 
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/89ad0224-a5b9-4fb5-8229-513ad7d7fb6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help wanted testing proposal for the Migration Graph algorithm

2018-08-30 Thread Carlton Gibson
Hi Dan. 

Super! 

On Tuesday, 28 August 2018 17:28:32 UTC+2, d...@thread.com wrote:
>
> I've run it on our codebase with ~1100 migrations and ~380 apps.
>

Yes! This is what I was looking for. 
 

> There were no exceptions thrown - the script completed cleanly, although I 
> haven't actually migrated with it or checked that the migrations work. I 
> assume the script is enough to ensure consistent migrations? 
>

Perfect. The changes just relate to how the graph of migrations is built. 
This feeds into forward_plan, backwards_plan etc. (The individual 
migrations remain the same; theres no real need to migrate.) 

That the script executes without error on a large project is more or less 
what we want to see here. (There was additional input on the PR confirming 
the same, so that's good.) 

There's a second version of the script that writes the generated plans to a 
file. If you were to run this with v2.1 or master and the PR branch, you 
should find the generated plans to be same (i.e. the files to be 
identical). I'll paste this script at the bottom. If you have time to run 
it, as a extra check, that would be cool.

Around a 3.5% speedup.
>

OK. Perfect.

It looks like the kind of cycles that would lead to worst case performance 
don't really come up. (Most migrations just have a single dependency on the 
previous one, and that's it.) 
As such the performance boost of this patch is not massive. (Still worth 
having, other things being equal.)

We would expect slightly better improvement in real-life, since the script 
here recreates the loader (which regenerates the graph) each time through 
the loop, whereas `migrate` etc re-use the loader (which in the patch, vs 
master, only does the graph validation a single time).

However, still, performance will not be the key issue. 

Currently, with the feedback, my thinking is that the patch is a good 
refactoring (that will likely lead to further improvements). So I'm keen.
I just need to go over the code and tests again. 

Second version of script to follow. 

Thanks for the input. It's really helpful! 

Kind Regards,

Carlton



# Save as e.g. migration_graph.py
# Set DJANGO_SETTINGS_MODULE
# From project dir run: python migration_graph.py
# compare output from v2.1 or higher and PR. 
#
import sys

import django
django.setup()

from django.db import connection
from django.db.migrations.loader import MigrationLoader

f = open('plans-{}'.format(django.__version__), 'w')
print('Writing plans for v{}'.format(django.__version__))

loader = MigrationLoader(connection)
backwards = loader.graph.root_nodes()
forwards = loader.graph.leaf_nodes()

print('Calculating backwards plans:')
for root in backwards:
loader = MigrationLoader(connection)
sys.stdout.write('.')
plan = loader.graph.backwards_plan(root)
f.write(str(plan))
f.write('\n')

f.write('\n' * 3)
sys.stdout.write('\n')

print('Calculating forwards plans:')
for leaf in forwards:
loader = MigrationLoader(connection)
sys.stdout.write('.')
plan = loader.graph.forwards_plan(leaf)
f.write(str(plan))
f.write('\n')

f.close()
sys.stdout.write('\nRun Done\n\n')

 

-- 
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/24ad1be0-c2a4-4a24-9b6c-24a748a09dcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help wanted testing proposal for the Migration Graph algorithm

2018-08-28 Thread dan
Hi Carlton,

Adam asked me to take a look at this. I've run it on our codebase with 
~1100 migrations and ~380 apps.

Running on Django 2.1, the results of this script (the updated version) are:

> 1min 23s ± 1.1 s per loop (mean ± std. dev. of 7 runs, 1 loop each)


Running on the branch, installed with [1], the results are:

> 1min 20s ± 524 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

There were no exceptions thrown - the script completed cleanly, although I 
haven't actually migrated with it or checked that the migrations work. I 
assume the script is enough to ensure consistent migrations? Around a 3.5% 
speedup.

I hope this is what you were looking for, apologies if I've got something 
wrong - I'm lacking full context on this. Hope this helps!


Dan


[1]: pip install 
https://github.com/monoidal/django/archive/optimize_migrations.zip




On Monday, 20 August 2018 10:54:29 UTC+1, Carlton Gibson wrote:
>
> Making the script less noisy here I commented out the actual work.
> (So it didn't function as a test.) 
> (No comment. 😐)
>
> Corrected version:
>
> ```
> import sys
>
> from django.db import connection
> from django.db.migrations.loader import MigrationLoader
>
> loader = MigrationLoader(connection)
>
> backwards = loader.graph.root_nodes()
> forwards = loader.graph.leaf_nodes()
>
> print('Calculating backward plans:')
> for root in backwards:
> loader = MigrationLoader(connection)
> sys.stdout.write('.')
> plan = loader.graph.backwards_plan(root)
> #print(plan)
> sys.stdout.write('\n')
> print('Calculating forward plans:')
> for leaf in forwards:
> loader = MigrationLoader(connection)
> sys.stdout.write('.')
> plan = loader.graph.forwards_plan(leaf)
> # print(plan)
>
> sys.stdout.write('\nRun Done\n\n')
>
> ```
>

-- 
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/cab6baa9-bb5f-42c7-be8b-0223b36cf826%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help wanted testing proposal for the Migration Graph algorithm

2018-08-20 Thread Carlton Gibson
Making the script less noisy here I commented out the actual work.
(So it didn't function as a test.) 
(No comment. 😐)

Corrected version:

```
import sys

from django.db import connection
from django.db.migrations.loader import MigrationLoader

loader = MigrationLoader(connection)

backwards = loader.graph.root_nodes()
forwards = loader.graph.leaf_nodes()

print('Calculating backward plans:')
for root in backwards:
loader = MigrationLoader(connection)
sys.stdout.write('.')
plan = loader.graph.backwards_plan(root)
#print(plan)
sys.stdout.write('\n')
print('Calculating forward plans:')
for leaf in forwards:
loader = MigrationLoader(connection)
sys.stdout.write('.')
plan = loader.graph.forwards_plan(leaf)
# print(plan)

sys.stdout.write('\nRun Done\n\n')

```

-- 
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/981a90ea-fa4a-4c6f-8e78-198d5a3751a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help wanted testing proposal for the Migration Graph algorithm

2018-08-14 Thread Carlton Gibson
Thanks Jeff. Super. 

(PR is fine 🙂)

-- 
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/47b62016-c689-41fe-a66f-d64b8b43e711%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help wanted testing proposal for the Migration Graph algorithm

2018-08-14 Thread Jeffrey Yancey
Hi Carlton, 

I think I have a reasonable candidate for this and will try to find some 
time to do the comparison this week. I'll post results on the PR, or here 
if you prefer, upon completion.

Jeff

On Thursday, July 26, 2018 at 7:45:45 AM UTC-6, Carlton Gibson wrote:
>
> Hi all.
>
> Do you have a project with a slow and complicated migration history?
>
> If so, any chance you could lend a brief hand testing?
>
> See https://github.com/django/django/pull/9804 
>
> This refactors the migration graph algorithm and in principle should make 
> it significantly faster. 
> (More or less linear vs currently exponential.)
>
> Two questions: 
>
> 1. Is it correct with very complicated histories?
> 2. Is it a lot quicker? 
>
> To answer this could you profile the following script on your complicated 
> project against the PR vs against master
> (or any recent version of Django really)?
>
> Are there any errors with the PR that you don't see otherwise? 
> What's the speedup, if any?
>
> Thanks for your help! 
>
> Kind Regards,
>
> Carlton
>
>
>
> The scipt: 
> ===
>
> All it does is calculate the full forwards and backwards migration plan 
> for 
> each app in your project. It doesn't apply anything. 
>
> Dev environment should be fine. (It's the migrations, not the applied 
> state that's in play.) 
>
> As ever, please read it before running it. You can do anything similar if 
> you want.
>
> I used IPython from `django-admin shell`: 
>
> %timeit %run ./migration_graph_timing.py 
>
> If that doesn't work for you and you want me to make it actually run as a 
> stand-alone, let me know. 
>
> 
> import sys
>
> from django.db import connection
> from django.db.migrations.loader import MigrationLoader
>
> loader = MigrationLoader(connection)
>
> backwards = loader.graph.root_nodes()
> forwards = loader.graph.leaf_nodes()
>
> print('Calculating backward plans:')
> for root in backwards:
> loader = MigrationLoader(connection)
> sys.stdout.write('.')
> #print(loader.graph.backwards_plan(root))
> sys.stdout.write('\n')
> print('Calculating forward plans:')
> for leaf in forwards:
> loader = MigrationLoader(connection)
> sys.stdout.write('.')
> # print(loader.graph.forwards_plan(leaf))
>
> sys.stdout.write('\nRun Done\n\n')
> 
>
>

-- 
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/3849a1e5-2088-4d6d-9261-cded283c930d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Help wanted testing proposal for the Migration Graph algorithm

2018-07-26 Thread Carlton Gibson
Hi all.

Do you have a project with a slow and complicated migration history?

If so, any chance you could lend a brief hand testing?

See https://github.com/django/django/pull/9804 

This refactors the migration graph algorithm and in principle should make 
it significantly faster. 
(More or less linear vs currently exponential.)

Two questions: 

1. Is it correct with very complicated histories?
2. Is it a lot quicker? 

To answer this could you profile the following script on your complicated 
project against the PR vs against master
(or any recent version of Django really)?

Are there any errors with the PR that you don't see otherwise? 
What's the speedup, if any?

Thanks for your help! 

Kind Regards,

Carlton



The scipt: 
===

All it does is calculate the full forwards and backwards migration plan for 
each app in your project. It doesn't apply anything. 

Dev environment should be fine. (It's the migrations, not the applied state 
that's in play.) 

As ever, please read it before running it. You can do anything similar if 
you want.

I used IPython from `django-admin shell`: 

%timeit %run ./migration_graph_timing.py 

If that doesn't work for you and you want me to make it actually run as a 
stand-alone, let me know. 


import sys

from django.db import connection
from django.db.migrations.loader import MigrationLoader

loader = MigrationLoader(connection)

backwards = loader.graph.root_nodes()
forwards = loader.graph.leaf_nodes()

print('Calculating backward plans:')
for root in backwards:
loader = MigrationLoader(connection)
sys.stdout.write('.')
#print(loader.graph.backwards_plan(root))
sys.stdout.write('\n')
print('Calculating forward plans:')
for leaf in forwards:
loader = MigrationLoader(connection)
sys.stdout.write('.')
# print(loader.graph.forwards_plan(leaf))

sys.stdout.write('\nRun Done\n\n')


-- 
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/1632a574-e13d-467c-b0b7-22085f3920ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Partial indexes, PR help

2018-07-23 Thread Christophe Pettus


> On Jul 23, 2018, at 13:05, Christophe Pettus  wrote:
> 
> 
>> On Jul 23, 2018, at 12:20, Mads Jensen  wrote:
>> 
>> Q(published__gt=datetime.date(2017, 10, 1))
>> =>
>> "table"."published" > '2017-10-01'::timestamp;
>> 
>> is unfortunate because it turns the function mutable, and the index can 
>> therefore not be created (exact error message can be seen in the Jenkins 
>> output). 
> 
> I think the issue is that you are mixing TIMESTAMP and TIMESTAMPTZ here [...]

To be a bit clearer, this seems to be in effect a mixing-aware-and-unaware 
timestamp issue, just pushed down into PostgreSQL.

--
-- Christophe Pettus
   x...@thebuild.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 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/E38CA9A0-47E5-48B6-B08A-6759A6429FAA%40thebuild.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   6   >