Is there a more nuanced discussion of this issue anywhere? The reasons
stated in the linked PR that it's "not for the project template to provide
configuration for source code management tools" feels more like an opinion
than a fact.

 I know one of the goals that emerged from recent discussions was how to
get more wide adoption of the Django project. This strikes me as one of
those simple little things that helps 95% of beginners and doesn't hurt the
remaining 5%. If you don't want a .gitignore file, then you're also
probably advanced enough to figure out how to build without it, or just
delete it.

I just checked a few other frameworks:

Rails new automatically
<https://gist.github.com/eliotsykes/ace0222174804372b51a> generates a
.gitignore by default, has an option to exclude it
<https://gist.github.com/eliotsykes/ace0222174804372b51a>.
Drupal / composer added it in 2020 <https://www.drupal.org/node/3108432>.
create-react-app <https://github.com/facebook/create-react-app> generates
one.
create-vue <https://github.com/vuejs/create-vue> generates one

Perhaps it's time for Django to reconsider and catch up with the times?

Cory




On Fri, Mar 10, 2023 at 7:03 AM Mariusz Felisiak <felisiak.mari...@gmail.com>
wrote:

> Hi Daniel,
>
>     Adding .gitignore to the project template has been discussed and
> rejected multiple times, e.g. https://github.com/django/django/pull/13847
>
> Best,
> Mariusz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/fd500891-f348-488a-863b-04c372d1bf4bn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/fd500891-f348-488a-863b-04c372d1bf4bn%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/CALojRn_3vXWedquYVAwrv1L0oLXX%3DsmpbK7_TsfJa0nZP0%2BeFQ%40mail.gmail.com.
  • Add... Daniel Azubuine
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
      • ... James Bennett
        • ... Daniel Azubuine
          • ... Arthur Pemberton
            • ... Daniel Azubuine
              • ... Mariusz Felisiak
                • ... Cory Zue
                • ... Mariusz Felisiak
                • ... Cory Zue
                • ... Bogdan Barna
                • ... Tom Carrick
                • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
                • ... Tega Ukavwe
                • ... Arthur Pemberton
                • ... Tega Ukavwe
                • ... Jörg Breitbart

Reply via email to