Giter VIP home page Giter VIP logo

Comments (5)

mohitkh7 avatar mohitkh7 commented on September 6, 2024

I will list following files and folders

db.sqlite3
shorturl/migrations
shorturl/pycache
shortweb/pycache

from shortweb.

modihere avatar modihere commented on September 6, 2024

And the settings.py file as well. Better to upload settings.py.example while uploading. Anything else needed according to you?

from shortweb.

mohitkh7 avatar mohitkh7 commented on September 6, 2024

No Settings.py might get frequently updated and changed during the course of development as the project & codebase will expand.
I don't think so that we should add settings.py file.
We can add wsgi.py file.

from shortweb.

modihere avatar modihere commented on September 6, 2024

Yes that is what i am saying. People will change the settings.py according to their wishes and everyone will have his own settings.py in his or her PR. Sometimes the settings.py contains important information. So better create an example file providing the barebones of the whole thing and omit the original settings.py file while doing git push.
Another thing is that when you do a git pull from remote the settings.py may get changed creating confusions.

from shortweb.

mohitkh7 avatar mohitkh7 commented on September 6, 2024

Yes, got your point. we should include settings.py file also.
So the proposed list of files and folders in .gitignore is
*.sqlite3
migrations/
__ pycache __ /
shortweb/settings.py
shortweb/wsgi.py

from shortweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.