django flush sessions on server startup
Shell
#!/bin/sh
# clear django_session table
DJANGO_SETTINGS_MODULE="myproj.settings" \
python -c 'from django.contrib.sessions.models import Session; \
Session.objects.all().delete()'
python manage.py runserver
Also in Shell:
- Title
- how to make maven clean install faster in eclipse
- Category
- Shell
- Title
- linux command to list directory size
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- git rebase
- Category
- Shell
- Title
- setup mysql ubuntu
- Category
- Shell
- Title
- kill process on port
- Category
- Shell
- Title
- git reset keep changes
- Category
- Shell
- Title
- linux c++ from console
- Category
- Shell
- Title
- git gss
- Category
- Shell
- Title
- install spotify ubuntu snap
- Category
- Shell
- Title
- shell script to check the output of a file
- Category
- Shell
- Title
- how to execute a file in ubuntu by double click
- Category
- Shell
- Title
- install ip addr on ubuntu
- Category
- Shell
- Title
- git flow init
- Category
- Shell
- Title
- tab to csv command line
- Category
- Shell
- Title
- connection failed blueman.bluez.errors.dbusfailederror protocol not available
- Category
- Shell
- Title
- centos 7 install docker compose
- Category
- Shell
- Title
- fcm post example curl
- Category
- Shell
- Title
- vim compare 2 files
- Category
- Shell
- Title
- bash list of integers
- Category
- Shell
- Title
- install node ubuntu
- Category
- Shell
- Title
- how use vim in linux
- Category
- Shell
- Title
- revert git add
- Category
- Shell
- Title
- ubuntu bionic docker container install chrome
- Category
- Shell
- Title
- how to change permissions on a file in linux
- Category
- Shell
- Title
- particular screenshot in ubuntu
- Category
- Shell
- Title
- haproxy in centos 7
- Category
- Shell
- Title
- pyaudio python 3.7
- Category
- Shell
- Title
- bash get field from line
- Category
- Shell
- Title
- bash append file
- Category
- Shell
- Title
- gatsby image plugin
- Category
- Shell
- Title
- loop from array bash
- Category
- Shell
- Title
- locate file in same directory linux
- Category
- Shell
- Title
- powershell search array
- Category
- Shell
- Title
- remove git tracking
- Category
- Shell
- Title
- bash find file with text
- Category
- Shell
- Title
- undo git add
- Category
- Shell
- Title
- git checkout someone else's branch
- Category
- Shell
- Title
- grep
- Category
- Shell
- Title
- how to revert back to previous commit in git
- Category
- Shell
- Title
- ould not change directory to "/root": Permission denied
- Category
- Shell
- Title
- set email git
- Category
- Shell
- Title
- upgrade node version
- Category
- Shell
- Title
- increase open file limit linux mac catalina mariadb
- Category
- Shell
- Title
- Run a command in the background witch automatically rerun Raw
- Category
- Shell
- Title
- uninstall cinnamon
- Category
- Shell
- Title
- bash unzip all files
- Category
- Shell
- Title
- dos findstr with plus
- Category
- Shell
- Title
- how to push in git command line
- Category
- Shell
- Title
- ubuntu install apache2
- Category
- Shell
- Title
- git show stashes
- Category
- Shell
- Title
- create github repo without browser
- Category
- Shell
- Title
- unzip gz file linux
- Category
- Shell
- Title
- extract tar.gz ubuntu terminal
- Category
- Shell
- Title
- pip command not found macos
- Category
- Shell
- Title
- ERR_NO_CERTIFICATES: Encountered adb error: NoCertificates. ionic
- Category
- Shell
- Title
- powershell script enable tls 1.2
- Category
- Shell
- Title
- how to push to git hub
- Category
- Shell
- Title
- powershell script to copy mutliple files into a single file
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- Endpoint Security VPN build 986000724 is already installed on this computer.
- Category
- Shell
- Title
- kubernetes auto complete
- Category
- Shell
- Title
- install vue router
- Category
- Shell
- Title
- linux version command
- Category
- Shell
- Title
- exit telnet
- Category
- Shell
- Title
- save android studio home bash_profile
- Category
- Shell
- Title
- yarn change version
- Category
- Shell
- Title
- git command to get the repo url
- Category
- Shell
- Title
- react helmet npm
- Category
- Shell
- Title
- how to uninstall react native cli globally
- Category
- Shell
- Title
- git flow hotfix
- Category
- Shell
- Title
- installing helm v2 and tiller on minikube
- Category
- Shell
- Title
- kill process in windows powershell
- Category
- Shell
- Title
- how to check error logs in linux
- Category
- Shell
- Title
- how to validate a mobile number in shell script
- Category
- Shell
- Title
- install ruby mac
- Category
- Shell
- Title
- terminal delete directory not empty
- Category
- Shell
- Title
- intall docker ubuntu command
- Category
- Shell
- Title
- react native blank screen linux
- Category
- Shell
- Title
- ubuntu fractional scaling
- Category
- Shell
- Title
- is it possible to check with my website if an app is installed?
- Category
- Shell
- Title
- can i go back to bash from zsh mac
- Category
- Shell
- Title
- install pyenv
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- how to download with wget
- Category
- Shell
- Title
- compress folder ubuntu
- Category
- Shell
- Title
- helm add stable hub
- Category
- Shell
- Title
- npm install mongoose error npm ERR! code ENOSELF
- Category
- Shell
- Title
- ubuntu install tree
- Category
- Shell
- Title
- how to upgrade maven in linux
- Category
- Shell
- Title
- comment in shell script
- Category
- Shell
- Title
- npm install package as developer dependency
- Category
- Shell
- Title
- homestead.yaml adding provisions
- Category
- Shell
- Title
- linux head command
- Category
- Shell
- Title
- bash permissions
- Category
- Shell
- Title
- run jar file command line
- Category
- Shell
- Title
- git log display files changed
- Category
- Shell
- Title
- install tmux ubuntu
- Category
- Shell
- Title
- how to make a shell in c for beginners
- Category
- Shell
- Title
- julia install linux
- Category
- Shell