- convert .py to .pyx
- use cython to convert .pyx to .c
- compile .c
- Test run
example python file:
script.py
# you can check all the security checks by running | |
# python manage.py check --deploy | |
# set debug to false | |
DEBUG = false #True by default | |
# set allowed host | |
ALLOWED_HOSTS = ["your website url"] # you can only access the application via these hosts | |
# A tuple representing a HTTP header/value combination that signifies a request is secure. This controls the behavior of the request object’s is_secure() method. |
The most simple and working solution i was able to find is removing the config file itself, git will generate it again so its fast and simple.
don't push till the very end.
rm ~/.gitconfig
Note: after doing this git will forget about your username and email so, run this command.
git will prompt this on your first fresh commit anyway, but don't forget to do this. the relation between you signed commit(via email) to account is very important.