This file contains 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 characters
heroku config:set SECRET_KEY=`openssl rand -base64 32` |
This file contains 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 characters
// get the json object in the django template : | |
var data = "{{object|safe}}"; | |
// Parse the JSON data | |
try | |
{ | |
// Use jquery's default parser | |
data = $.parseJSON(data); | |
} | |
catch(e) | |
{ |
This file contains 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 characters
Premièrement si vous n’êtes pas sur du nom du fichier supprimé, vous pouvez le retrouver dans les logs de git ... | |
git log --diff-filter=D --summary | |
Puis retrouvez le dernier commit qui a affecté le fichier | |
git rev-list -n 1 HEAD -- ./path/to/file/ | |
.. on va appeler cela par [NUMERO_DE _REVISION] |
NewerOlder