Channel name was changed to ยซDjango and Python| Tips and utilitiesยป
Create a PDF from a blog post using Django Template Framework and xhtml2pdf.
Interested?
Check the live code: https://github.com/ramiboutas/englishquiz
Check the demo: https://www.englishstuff.online/blog/advanced/25-phrasal-verbs-with-get/
Interested?
Check the live code: https://github.com/ramiboutas/englishquiz
Check the demo: https://www.englishstuff.online/blog/advanced/25-phrasal-verbs-with-get/
I am proud of what I created with Django and htmx! :)
https://www.englishstuff.online/
There is still a lot of to do, but it is (for me) enough to be proud of.
https://www.englishstuff.online/
There is still a lot of to do, but it is (for me) enough to be proud of.
โค2
If you need to change a virtual environment variable from your .env file, you can use this code.
Place it under utils/env.py or in a similar module.
#django #python #djangotricks
Place it under utils/env.py or in a similar module.
#django #python #djangotricks
โค1
Group your Django apps in a directory.
If you are curious, check how:
https://www.ramiboutas.com/articles/django-group-your-apps-in-a-directory/
If you are curious, check how:
https://www.ramiboutas.com/articles/django-group-your-apps-in-a-directory/
โค1
I wrote some time ago about how to translate your Django text fields with the DeepL API.
Check it out: https://ramiboutas.com/translations-with-deepl-api-in-a-django-project/
Check it out: https://ramiboutas.com/translations-with-deepl-api-in-a-django-project/
Ramiboutas
Translations with DeepL API in a Django project
Expect to learn about programming and engineering
Send an email using python.
I wrote an small article. With an example of using Outlook.
Check it out: https://ramiboutas.com/send-an-email-using-python/
I wrote an small article. With an example of using Outlook.
Check it out: https://ramiboutas.com/send-an-email-using-python/
Write text in an image with Python.
Choose a template image to write on it and generate the output image. If you want to learn more, read my article.
https://ramiboutas.com/write-text-in-an-image-with-python/
Choose a template image to write on it and generate the output image. If you want to learn more, read my article.
https://ramiboutas.com/write-text-in-an-image-with-python/
Adam Johnson collects in his blog some Django-related deals for this Black Friday (24th Nov) and Cyber Monday (27th Nov), including my his own stuff.
Check it out here: https://adamj.eu/tech/2023/11/20/django-black-friday-deals-2023/
Check it out here: https://adamj.eu/tech/2023/11/20/django-black-friday-deals-2023/
Deployment is a very tedious task.
Sometimes when I get involved in it, I just want to kill myself. There are too many things going on: Linux processes, Gunicorn, web servers, network processes, domain resolving and more.
Luckily there are some solutions like Appliku that are very affordable and make our lives easier.
Now they have a discount because of Black Friday. If you are interested, check it out: https://appliku.com/?via=rami
Sometimes when I get involved in it, I just want to kill myself. There are too many things going on: Linux processes, Gunicorn, web servers, network processes, domain resolving and more.
Luckily there are some solutions like Appliku that are very affordable and make our lives easier.
Now they have a discount because of Black Friday. If you are interested, check it out: https://appliku.com/?via=rami
I created a SaaS with Htmx with Django backend
I have being learning web development for 3 year in order to build a SaaS.
Now I can say it is done, or mostly done.
I faced too many changes. For example: I started using Ajax, but it was awful... I have to learn more. I also used celery, but it was too complicated, and sometimes it stopped working (specially celery-beat) without any reason. So I switch to huey (which is amazing).
Over the last months, I simplified the source code and the business logic, making it more maintainable. If the code is more maintainable, I am less to fall into procrastination (which is my worst enemy).
I hope you like it. Happy 2024!
Rami.
I have being learning web development for 3 year in order to build a SaaS.
Now I can say it is done, or mostly done.
I faced too many changes. For example: I started using Ajax, but it was awful... I have to learn more. I also used celery, but it was too complicated, and sometimes it stopped working (specially celery-beat) without any reason. So I switch to huey (which is amazing).
Over the last months, I simplified the source code and the business logic, making it more maintainable. If the code is more maintainable, I am less to fall into procrastination (which is my worst enemy).
I hope you like it. Happy 2024!
Rami.
Pricing based on GDP per capita.
I implemented a pricing model in my SaaS that is based on the GDP per capita of the country's visitor.
Now I need to test it, so I need a favor.
Could you please check the next link and send me a screenshot?
https://nicecv.online/plans/
๐๐ผ Send me the screenshot to my account: https://t.me/ramiboutas
I implemented a pricing model in my SaaS that is based on the GDP per capita of the country's visitor.
Now I need to test it, so I need a favor.
Could you please check the next link and send me a screenshot?
https://nicecv.online/plans/
๐๐ผ Send me the screenshot to my account: https://t.me/ramiboutas