See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # -*- coding: utf-8 -*- | |
| """Add permissions for proxy model. | |
| This is needed because of the bug https://code.djangoproject.com/ticket/11154 | |
| in Django (as of 1.6, it's not fixed). | |
| When a permission is created for a proxy model, it actually creates if for it's | |
| base model app_label (eg: for "article" instead of "about", for the About proxy | |
| model). |
| upstream uwsgi { | |
| ip_hash; | |
| server 127.0.0.1:40000; | |
| } | |
| server { | |
| listen 80; | |
| server_name www.domain.com; | |
| root /sites/mysite/; | |
| access_log /sites/mysite/log/nginx/access.log; |