Created
November 7, 2009 01:45
-
-
Save unbracketed/228457 to your computer and use it in GitHub Desktop.
Revisions
-
unbracketed revised this gist
Nov 8, 2009 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,7 @@ alias djdb='dj dbshell' alias djs='dj shell' alias djsp='dj shell_plus' alias djt='dj test' alias djm='dj migrate' alias djsm='dj startmigration' #A common convention for those who aren't keen on the local_settings approach to Django -
unbracketed revised this gist
Nov 8, 2009 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,7 @@ alias djdb='dj dbshell' alias djs='dj shell' alias djsp='dj shell_plus' alias djt='dj test' alias djsm='dj startmigration' #A common convention for those who aren't keen on the local_settings approach to Django #settings overrides often use variations on the play of naming local overrides files -
unbracketed revised this gist
Nov 7, 2009 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,10 @@ alias djt='dj test' #A common convention for those who aren't keen on the local_settings approach to Django #settings overrides often use variations on the play of naming local overrides files #the same as the machine's hostname. Point Django to the correct one here: export SERVER_IDENTIFIER=hostname #For more ideas/inspiration on managing settings across environments see: #http://github.com/tarequeh/django-config -
unbracketed revised this gist
Nov 7, 2009 . 1 changed file with 11 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,12 +4,21 @@ # 1. workon <project name> # 2. djr cd /path/to/site/root #Django command shortcuts alias dj='python manage.py' alias djr='dj runserver' alias djrp='dj runserver_plus' alias djdb='dj dbshell' alias djs='dj shell' alias djsp='dj shell_plus' alias djt='dj test' #A common convention for those who aren't keen on the local_settings approach to Django #settings overrides often use variations on the play of naming local overrides files #the same as the machine's hostname. Point Django to the correct one here: export SERVER_IDENTIFIER=hostname -
unbracketed revised this gist
Nov 7, 2009 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,5 @@ alias djr='dj runserver' alias djrp='dj runserver_plus' alias djdb='dj dbshell' alias djs='dj shell' alias djsp='dj shell_plus' alias djt='dj test' -
unbracketed revised this gist
Nov 7, 2009 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,11 @@ #I usually drop something like this into my virtualenv's postactivate for some #quick and handy shortcuts to common Django commands. #This way dropping in to do some work on any arbitrary project is as easy as: # 1. workon <project name> # 2. djr #cd /path/to/site/root alias dj='python manage.py' alias djr='dj runserver' alias djrp='dj runserver_plus' -
unbracketed created this gist
Nov 7, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ #I usually drop something like this into my virtualenv's postactivate for some #quick and handy shortcuts to common Django commands. alias dj='python manage.py' alias djr='dj runserver' alias djrp='dj runserver_plus' alias djdb='dj dbshell' alias djs='dj shell' alias djsp='dj shell_plus'