django Cheat Sheet
by sebtoga via cheatography.com/67657/cs/17022/
pip3 django-database git
sudo apt install python3-pip python manage.py makemigrations git init
pip3 --version python manage.py migrate git clone /path/repository
git clone username@host:/path/repository
virtualenv django-leaflet
git add filename
sudo apt-get install python-virtualenv virtualenv pip3 install django-leaflet git add
pip3 install virtualenv python manage.py ogrinspect rute.shp -- git commit -m "message"
mapping --multi --srid=4326
virtualenv -p python3 envgv1 git push origin master
source bin/activate git remote add origin server
bower and collecstatic
deactivate git checkout -b rama (create rama)
pip3 install django-bower
git checkout master
django rpm install -g bower
git branch -d rama (delete rama)
python manage.py bower install
git clone git://github.com/django/django django-
git push origin rama
dev pip install django-staticfiles
git pull
pip3 install -e django-dev python manage.py collectstatic
git merge rama
django-admin --version
grappelli git diff source_rama target_rama
django-admin startproject proyect
pip install django-grappelli git tag 1.0.0 1b2e1
python manage.py createsuperuser
pip install django-grappelli-extras git log
python manage.py startapp name
git checkout -- filename
python manage.py runserver
database django git fetch origin
pip install -r requirements.txt
pip install psycopg2 git reset --hard origin/master
python manage.py shell
pip install psycopg2-binary gitk
python manage.py collecstatic
git config color.ui true
git config format.preety oneline
git add -i
By sebtoga Published 13th September, 2018. Sponsored by ApolloPad.com
cheatography.com/sebtoga/ Last updated 13th September, 2018. Everyone has a novel in them. Finish Yours!
Page 1 of 1. https://apollopad.com