Re: [new contributor] Where to find resources to make changes to djangoproject.com ?

2019-12-20 Thread Adam Johnson
This guide may also be useful:
https://docs.djangoproject.com/en/3.0/intro/contributing/

On Fri, 20 Dec 2019 at 14:11, Abhijeet Viswa 
wrote:

> Hey,
>
> You can find the tutorial for Writing documentation here:
>
> https://docs.djangoproject.com/en/dev/internals/contributing/writing-documentation/
>
> The raw document files are basically text files written using
> reStructuredText syntax. You can find the inside the docs folder. Just
> edit the text files and then build the docs and see preview your
> changes. Commit the changes to the text files and make a PR.
>
> Cheers.
>
> On Fri, 20 Dec 2019 at 18:03, Gabriel Augendre 
> wrote:
> >
> > Hello there !
> >
> > I'm not a beginner in software development but I'm a new contributor to
> Django and I took this ticket from Trac :
> https://code.djangoproject.com/ticket/30780
> >
> > I made some progress creating a floating button to link to the FAQ but
> I'm having trouble finding where to edit the documentation pages themselves.
> > After running ./manage.py update_docs, I had some content that looked
> like documentation pages.
> > In data/djangodocs/sources/dev/docs/index.txt, I found some text that
> looked nearly exactly like the index page of the documentation, with the
> exception that in this file there is already a section about where to get
> help and it doesn't appear on the website served by ./manage.py runserver.
> >
> > Could someone show me around, explaining the build process, where to
> edit the pages and what to do in order to see the results ?
> >
> > Thanks in advance for any help :)
> >
> > Cheers,
> > Gabriel
> >
> > --
> > 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/60bf0ace-48aa-42aa-be31-208b200d7d4e%40googlegroups.com
> .
>
>
>
> --
> Abhijeet
>
> --
> 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/CAP1-Yrp%2BW-HZZKLhCYGJvXBR_zX%3DnNWsAAXM%3DBNmVVn_R7hm2w%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/CAMyDDM2Ct_L_XTJ-5LvVgJV_a1GM5LUhbKP9D%3DBMBqZMA%2BMQcA%40mail.gmail.com.


Re: what is the efficient way for Testing and making changes to the code

2019-12-20 Thread Adam Johnson
If you're looking to develop *Django itself* I think you're looking for
this guide: https://docs.djangoproject.com/en/3.0/intro/contributing/

Otherwise - I've pasted my common "wrong mailing list" post below.

Thanks for your understanding,

Adam

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 NEW Django forum at
https://forum.djangoproject.com , 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.

Thanks for your understanding,

Adam

On Fri, 20 Dec 2019 at 17:08, Pratik kumar 
wrote:

> I am just trying to figure how how the different things works in Djnago
> source, so that i can get on with contributing to the code
>
> On Friday, December 20, 2019 at 10:27:38 PM UTC+5:30, Dipankar wrote:
>>
>> Is it related to Django development?
>>
>> On Fri, Dec 20, 2019, 9:25 PM Pratik kumar 
>> wrote:
>>
>>> I used my local copy to create a new project and added some models to it
>>> after now i have made some changes to the local copy, Now how do i test
>>> those changes , do i need to create a new project each time from the local
>>> copy or is there a way around?
>>>
>>> --
>>> 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-d...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-developers/f1c17efa-a1dc-4e07-b0c7-d3b7c7a33284%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/29acfda7-d5ca-48cb-8839-12c8dd48bb7c%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/CAMyDDM3-MoxoZX-5nmocTxybKf2u7uxzKtfDHdyTMoJi_MOykQ%40mail.gmail.com.


Re: what is the efficient way for Testing and making changes to the code

2019-12-20 Thread Pratik kumar
I am just trying to figure how how the different things works in Djnago 
source, so that i can get on with contributing to the code

On Friday, December 20, 2019 at 10:27:38 PM UTC+5:30, Dipankar wrote:
>
> Is it related to Django development?
>
> On Fri, Dec 20, 2019, 9:25 PM Pratik kumar  > wrote:
>
>> I used my local copy to create a new project and added some models to it 
>> after now i have made some changes to the local copy, Now how do i test 
>> those changes , do i need to create a new project each time from the local 
>> copy or is there a way around?
>>
>> -- 
>> 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-d...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-developers/f1c17efa-a1dc-4e07-b0c7-d3b7c7a33284%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/29acfda7-d5ca-48cb-8839-12c8dd48bb7c%40googlegroups.com.


Re: what is the efficient way for Testing and making changes to the code

2019-12-20 Thread Dipankar
Is it related to Django development?

On Fri, Dec 20, 2019, 9:25 PM Pratik kumar 
wrote:

> I used my local copy to create a new project and added some models to it
> after now i have made some changes to the local copy, Now how do i test
> those changes , do i need to create a new project each time from the local
> copy or is there a way around?
>
> --
> 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/f1c17efa-a1dc-4e07-b0c7-d3b7c7a33284%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/CAFdBwp9fxK_cCzbDdCO6S3_LNJJfxGG6PfjkGpJh4W31A1H%3D8g%40mail.gmail.com.


what is the efficient way for Testing and making changes to the code

2019-12-20 Thread Pratik kumar
I used my local copy to create a new project and added some models to it 
after now i have made some changes to the local copy, Now how do i test 
those changes , do i need to create a new project each time from the local 
copy or is there a way around?

-- 
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/f1c17efa-a1dc-4e07-b0c7-d3b7c7a33284%40googlegroups.com.


Re: [new contributor] Where to find resources to make changes to djangoproject.com ?

2019-12-20 Thread Abhijeet Viswa
Hey,

You can find the tutorial for Writing documentation here:
https://docs.djangoproject.com/en/dev/internals/contributing/writing-documentation/

The raw document files are basically text files written using
reStructuredText syntax. You can find the inside the docs folder. Just
edit the text files and then build the docs and see preview your
changes. Commit the changes to the text files and make a PR.

Cheers.

On Fri, 20 Dec 2019 at 18:03, Gabriel Augendre  wrote:
>
> Hello there !
>
> I'm not a beginner in software development but I'm a new contributor to 
> Django and I took this ticket from Trac : 
> https://code.djangoproject.com/ticket/30780
>
> I made some progress creating a floating button to link to the FAQ but I'm 
> having trouble finding where to edit the documentation pages themselves.
> After running ./manage.py update_docs, I had some content that looked like 
> documentation pages.
> In data/djangodocs/sources/dev/docs/index.txt, I found some text that looked 
> nearly exactly like the index page of the documentation, with the exception 
> that in this file there is already a section about where to get help and it 
> doesn't appear on the website served by ./manage.py runserver.
>
> Could someone show me around, explaining the build process, where to edit the 
> pages and what to do in order to see the results ?
>
> Thanks in advance for any help :)
>
> Cheers,
> Gabriel
>
> --
> 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/60bf0ace-48aa-42aa-be31-208b200d7d4e%40googlegroups.com.



-- 
Abhijeet

-- 
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/CAP1-Yrp%2BW-HZZKLhCYGJvXBR_zX%3DnNWsAAXM%3DBNmVVn_R7hm2w%40mail.gmail.com.


Re: Allow overriding smtplib local_hostname

2019-12-20 Thread Tim Graham
Hi, there's already a ticket: https://code.djangoproject.com/ticket/6989

On Friday, December 20, 2019 at 7:33:35 AM UTC-5, David Nolan wrote:
>
> Hey all.
>
> In cloud environments, when using 
> django.core.mail.backends.smtp.EmailBackend, socket.getfqdn() is called 
> to resolve the 'reported hostname' for smtplib. This often resolves to an 
> internal DNS name, not the intended name.
>
> It would be convenient to provide a kwarg to allow overriding this 
> setting, which is currently hard-coded in the open() function.
> See 
> https://github.com/django/django/blob/master/django/core/mail/backends/smtp.py#L53
>
> I’m happy to create a ticket for this but the contribution guidelines 
> advise emailing the list first.
>

-- 
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/b7246683-5f94-4e83-9310-d7ed698fbb82%40googlegroups.com.


Allow overriding smtplib local_hostname

2019-12-20 Thread David Nolan
Hey all.

In cloud environments, when using django.core.mail.backends.smtp.EmailBackend, 
socket.getfqdn() is called to resolve the 'reported hostname' for smtplib. This 
often resolves to an internal DNS name, not the intended name.

It would be convenient to provide a kwarg to allow overriding this setting, 
which is currently hard-coded in the open() function.
See 
https://github.com/django/django/blob/master/django/core/mail/backends/smtp.py#L53
 


I’m happy to create a ticket for this but the contribution guidelines advise 
emailing the list first.

-- 
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/CB488419-0678-471C-A690-6BEDF39E895C%40gmail.com.


[new contributor] Where to find resources to make changes to djangoproject.com ?

2019-12-20 Thread Gabriel Augendre
Hello there !

I'm not a beginner in software development but I'm a new contributor to 
Django and I took this ticket from Trac : 
https://code.djangoproject.com/ticket/30780

I made some progress creating a floating button to link to the FAQ but I'm 
having trouble finding where to edit the documentation pages themselves.
After running ./manage.py update_docs, I had some content that looked like 
documentation pages.
In data/djangodocs/sources/dev/docs/index.txt, I found some text that 
looked nearly exactly like the index page of the documentation, with the 
exception that in this file there is already a section about where to get 
help and it doesn't appear on the website served by ./manage.py runserver.

Could someone show me around, explaining the build process, where to edit 
the pages and what to do in order to see the results ?

Thanks in advance for any help :)

Cheers,
Gabriel

-- 
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/60bf0ace-48aa-42aa-be31-208b200d7d4e%40googlegroups.com.