Django middleware for the rescue!
Finally, I can have a better working middleware which can catch HTTP status errors, make a redirect-response to the main page and also save a visitor.
Now I can also …
I finally made the comments at this site.
Please use the comments form below any post.
Or leave feedback on the Feedback page if you want to ask a general question.
I use Disqus for comments, you might …
Raspberry 5 test-to-speech using Piper
I wanted to make my Raspberry tell me about power outages and air alerts near my location.
The setup is pretty simple and described ar the repo:
I didn't …
Installing NUT - Network Ups Tool Notifications and emails
Notifications and email
Just a simple work log of installing NUT and configuring email notifications from it.
- Start here: Installing NUT
Simple
Go to file:
sudo vi …
Test design and implementation.
Test design
Our test system has a pretty simple configuratio…
!-->!-->!-->!-->!-->!-->Python - Django Celery - кейс длиною в вечность.
Вкратце: когда добавляешь пачку тасок на Celery worker'ы, случается так, что парочка из них отвалив…
Обновление Radio trianglesis
Итак, radio trianglesis снова ожило, все настройки на местах, веб сайт обновлен и добавлены всячес…
vSphere Datastore usage on disk - alert
Yo! Check this out and try to understand why this happens? Alerts saying there is less than 8Gb fre…
WSGI mod, Python, Django, Celery and a nice fella virtualenv
Here I'll show how to use Python (3.8.0 in the current example, but legit for latest 3.+ versions…
!-->How to convert an OVA virtual machine to VHD
This is "How to convert an OVA virtual machine to VHD" guide link
My approve for this guide, it's …
ИБП Powercom + VMware ESXi 5.5
Сейчас передо мной стоит задача заставить работать связку ИБП Powercom + VMware ESXi 5.5 В качестве…
Django fast hints
Here some fast hints to remember: Migration:
cd ~/myproject python manage.py makemigrations pyth…
Update Redmine 2.5.2
Обновляю Редмайн на новую версию, вроде как ничего нового с 2.5.1 не появилось, "работает не трогай…
Вначале ты...
Вначале, ты решаешь поучить Python, начинаешь немного углубляться... ... и приходишь в себя в тот м…