Skip to content

Instantly share code, notes, and snippets.

@alexche8
alexche8 / run_tests_on_production_base.txt
Last active November 21, 2017 11:02
Django: Run tests on production/local database. Keeps database structure and data after.
# DJANGO VERSION: 1.10.7
@alexche8
alexche8 / init.vim
Created October 12, 2018 07:13
Show available django urls in project for vim
command! Mpu execute ":tabe | 0read ! python manage.py show_urls | grep -v 'admin'"
map <F3> :Mpu <CR>