Comments (5)
I will list following files and folders
db.sqlite3
shorturl/migrations
shorturl/pycache
shortweb/pycache
from shortweb.
And the settings.py file as well. Better to upload settings.py.example while uploading. Anything else needed according to you?
from shortweb.
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.
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.
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)
- Can HTTP 302 redirect which is being used now be changed to HTTP 301 redirect? HOT 2
- Pressing the Enter key doesn't click the submit button. HOT 1
- Add a check for proper URL in the address bar. HOT 10
- Add a clear button to clear the text box.
- Update readme file to setup settings.py HOT 1
- Create a QR code for the shortened URL and display it along side the shortened URL. HOT 7
- Create custom alias HOT 4
- Add a copy button to copy the link to the clipboard.
- Discussion on how to check if a URL is already shorted and stop it from shortening again. HOT 5
- SITE_URL always points to http://127.0.0.1:8000 irrespective of the port number at which it is started.
- Writing Test cases
- Add more URL shortening services
- Track usage of URLs used
- Alias Clashing
- Alias Clashing HOT 1
- Port to Django 1.11 HOT 4
- Make a good looking UI. HOT 12
- Save the Shortened URL. HOT 4
- Plural name of urls in admin section HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shortweb.