diff options
author | luxagraf <sng@luxagraf.net> | 2015-07-21 14:26:19 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-07-21 14:26:19 +0000 |
commit | d964debb5a3e0814c1b3249bcc4616742e85bae5 (patch) | |
tree | 3f1971e6cb97484deba6525313b749a9c862ace8 | |
parent | b00a2d9657c5ef40421f7320073aa71da3ff3d59 (diff) |
fixed a couple typos and bugs
-rw-r--r-- | app/blog/models.py | 1 | ||||
-rw-r--r-- | config/django.ini | 7 | ||||
-rw-r--r-- | design/templates/archives/homepage.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/app/blog/models.py b/app/blog/models.py index 8e85bfe..03fb306 100644 --- a/app/blog/models.py +++ b/app/blog/models.py @@ -27,7 +27,6 @@ def extract_images(s): soup = BeautifulSoup(s) imgs = [] for img in soup.find_all('img'): - print(img['src']) imgs.append(img['src']) return imgs diff --git a/config/django.ini b/config/django.ini index 328de80..9fbe980 100644 --- a/config/django.ini +++ b/config/django.ini @@ -2,8 +2,9 @@ [uwsgi] # maximum number of processes -processes = 3 - +processes = 4 +max-requests = 5000 +enable-threads = true # the socket (use the full path to be safe) uid = www-data gid = www-data @@ -21,7 +22,7 @@ module =config.wsgi # the virtualenv home = /home/lxf/apps/luxagraf/venv -buffer-size =32768 +buffer-size =65535 plugin=python limit-as = 2048 # clear environment on exit diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html index 9c08876..de79894 100644 --- a/design/templates/archives/homepage.html +++ b/design/templates/archives/homepage.html @@ -41,7 +41,7 @@ <div class="homepage--about homepage--section"> <h3 class="homepage--arc-header">About Luxagraf</h3> <p>Luxagraf is my notebook. Something that, in an earlier age, I would have long ago lost in the backseat of a taxi. </p> - <p>Or something like that. It could just be a website. Except that I don’t do lists. And I’m not trying to make money of it.</p><p>Whatever it is, whatever brought you here, I hope enjoy it.</p> + <p>Or something like that. It could just be a website. Except that I don’t do lists. And I’m not trying to make money off of it.</p><p>Whatever it is, whatever brought you here, I hope enjoy it.</p> </div> <div class="homepage--section"> <section class="archive homepage--archives"> |