R
R
R.2017-07-26 22:00:49
Django
R., 2017-07-26 22:00:49

Git: What should I add to gitignor when working with Django?

Hello
The situation is this: there is a small project (created for educational purposes) in django and there is an environment folder that is located in the project folder. On the one hand, as far as I understand, my environment should not be in Gita and it is added to gitignor, on the other hand, Django itself is located in the environment folder, in which I also made changes (the Users application, for example).
Enlighten me on how to act correctly in such a situation and correct me if I'm wrong? Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2017-07-27
@fox_12

Putting anything into the environment folders is a bad idea. For example, your User model can be wonderfully overridden or inherited without touching the django environment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question