Dear 7Langit & ALL 7Langit team,
happy anniversary for YOU!
thank you for bringing joy and happiness to us and many people.
(also sadness too, but, you know, it's not worth to mention).
my best prayer for YOU.
let's make wishes!
hopefully, we have more chance, to be more happy & useful for God, country, and people!
Just like other code repository, we can use HTTPS or SSH channel.
here's the reference if you want to remote your local git repository using HTTPS and aws cli: http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-...
oh, anyway create your aws cli profile with this reference: http://docs.aws.amazon.com/cli/latest/reference/configure/index.html
this is a great explation from SO post  about HTTP method PUT versus POST which is very good explation and enlighting.
PUT versus POST is not really about replace versus create, but rather about idempotency and resource naming.
I used to use Jinja2 for templating, and it support Math calculation .
Now when try Django template, I can't calculate simple math (only add available via builtin filter), so I have to implement filter by myself, or using django-mathfilters .
What do you need is only install mathfilters with pip then add mathfilters to INSTALLED_APPS on your settings.
There is a rule in Python programming called "it is Easier to Ask for Forgiveness than for Permission" (in short: EAFP). It means that you should catch exceptions instead of checking values for validity.
This is something that I repeatly do after finish install Django, add main page (home page) or simply redirect it to another website.
here's simple example of urls.py inside your Django project folder.
from django.views.generic import RedirectView urlpatterns = [ url(r'^$', view=RedirectView.as_view(url='https://google.com')), ]
This is how you can avoid others to know your (still on debug mode) urls or URL mapping.