Helping search engines. WWW to non-WWW redirect with Nginx and urls.
Read More »
Helping search engines. WWW to non-WWW redirect with Nginx and urls.
Read More »
I have a form with a field that I don’t want to show on the page. In the template I don’t use {{ form }}, but {{ form.field }} where field is every model field that I want to be seen by users.
The problem here is that if you know what to use and you know forms a bit, you will find a solution in no time. Others, join me!
Read More »
Froala provides a great WYSIWYG editor for Django admin, but on page the styles for django-froala-editor didn’t work no matter what I tried. It didn’t look like what I get at all.
At some point, it was clear that providing a quick fix would suffice. I made a short style sheet to make these styles work on Django templates. It is my example that fits my needs. I don’t eliminate the fact that I failed to find an organic solution to this via package files.
Read More »
Let’s go through the checklist found in the official docs and try a few other things.
Read More »
Should I use a ‘through’ table for my Model to Model relation? It was never a question for me two years ago.
Read More »
What can be easier? Populate a slug field, make a get_absolute_url, make a simple view, add a line to urlpatterns. Right? Well guess again.
Here is part four about testing your Celery tasks.
Previous part: Part 3 🥄 Testing the taste
Next part: Part 5 🍱 Pack Linux with Celery Daemon
Following stack: Django + Celery + Nginx
Read More »
Here is a short part three about testing your Celery tasks. Do they even work??
Previous part: Part 2 🍮 Results pudding
Next part: Part 4 🍻 Serving Celery workers
Following stack: Django + Celery + Nginx
Read More »
Here is part two. Let’s make an interface to see what’s going with Celery on right now.
Previous part: Part 1 🥩 Django steak medium rare
Next part: Part 3 🥄 Testing the taste
Following stack: Django + Celery + Nginx
Read More »
When revisiting something gets me to the verge of tears, I know I have to write a small essential guide for myself. Celery is among these things. Here is part one. Contents below!
Next part: Part 2 🍮 Results pudding
Following stack: Django + Celery + Nginx
Read More »