Categories
django

Sending Notifications with Django and almost falling into a Trap

I almost fell into a trap… I have been developing a new product that sends emails to certain manager users when certain events happen. I am manually handling these tasks with ye old send_email. I also wanted to  bring in a facebook/twitter style notifications so managers can see things that require their attention when logging […]

Categories
Sports Betting

Recommended South African Sports Betting Sites

Update: August 2020 Top pick: Sunbet and Betolimp (Sunbet has better user experience) Update: December 2019 I’ve been looking at what betting sites offer EFC betting and have added the odds for EFC 82 Du Plessis vs Lesar Update: August 2019 I wanted to do another check to see if any changes were made in […]

Categories
django

Django Moderation and Workflow Tools Reviewed

I have a requirement where entries created by users needs to be approved or rejected. Now this seems to be a common trait you can add to a model and something that needn’t be custom developed, a good use case for django behaviours I digged a bit deeper and found that there are generic workflow […]

Categories
jenkins Uncategorized

Functional Tests failing on Jenkins but not on local computer

Ever struggled with a test failing on jenkins using xvfb, well there are a few things you can do to ensure that both browsers work. Element Not Found Sometimes there is an ElementNotFound error on the server and not on your local. Usually this is because selenium cannot see the element. It is hidden. Usually this happens […]

Categories
django

Sending Emails Asynchronously with Django-Celery-Email and RabbitMQ

Update 2022: I think using celery directly as opposed to having djcelery abstract the implementation away is better. Check the celery docs then look at how to implement celery with django I am using django-registration-redux to register and activate users on my website. It sends emails to users to activate and reset their passwords. Unfortunately […]