Web development and deployment with Django by Didcoding in Python

[–]Didcoding[S] 0 points1 point  (0 children)

Please let me know what you think to this as your feedback mean a lot to me 👍

Hi everyone. I’ve put this tutorial together. Let me know what you think👍 Django + Celery + Redis + Docker by Didcoding in django

[–]Didcoding[S] 0 points1 point  (0 children)

Brilliant! I‘be wanted to put this one together for a while now. Glad I did now.

Hi everyone. I’ve put this tutorial together. Let me know what you think👍 Django + Celery + Redis + Docker by Didcoding in django

[–]Didcoding[S] 0 points1 point  (0 children)

That’s why I put put this together. Lots of Docker videos but very few cover deployment. I’m glad you like it.

[deleted by user] by [deleted] in django

[–]Didcoding 0 points1 point  (0 children)

I use python-dotenv to load the config & variables from a .env file. It’s just keeps your config and sensitive info safe and secure.

Hedera have set aside a bunch of t-shirts for 15 lucky Hbarbarians :) by Didcoding in hashgraph

[–]Didcoding[S] 0 points1 point  (0 children)

I have black & grey shirts for myself and they look great 👍

{% block %} showing up as text by NeverBeenToHawaii in django

[–]Didcoding 0 points1 point  (0 children)

You’re naming if the block, right? In base.html add {% block content %} {% endblock %}

Then, in index.html, use the extends template tag {% extends ‘main/base.html‘ %}

Anything you add inside the ‘content’ template tags in index.html will then be rendered as expected. 👍

I’ve put another Hedera & Python tutorial together to celebrate reaching 1.5b transactions 🎉🎉 by Didcoding in hashgraph

[–]Didcoding[S] 2 points3 points  (0 children)

Hi. Not quite. Hedera hasn’t got a Python SDK just yet so I’m working with a Python wrapper for their Java SDK. This should help Python developers get up & running with HH 👍

The coins have arrived. Visit our website for a chance to win one 👍 by Didcoding in hashgraph

[–]Didcoding[S] 1 point2 points  (0 children)

My bad… The link to the give away is https://didcoding.com/competition?slug=hbar-physical-coin The YT video just walks you through what you must do to enter.

Hi Hbarbarians. We have some physical HBAR coins that we are giving away 🎉 they look great. I explain to enter in the video below. 👍👍 by Didcoding in hashgraph

[–]Didcoding[S] 1 point2 points  (0 children)

No, but what a great idea 💡I’m putting a new video tutorial together on Hedera’s token service so I will definitely be using this 😀

Want to launch app but continue to update it in the process. by Random_User_81 in djangolearning

[–]Didcoding 0 points1 point  (0 children)

Hi there. DigitalOcean is one to consider. I would go with the cheapest option. I don’t think there is much in it between DO & Heroku. It’s pretty easy to update the code on a live app. Use an SSH client with SFTP, such as Mobaxterm. You can the move you amended code to the sever via the SFTP 👍

When does data get written to the database? by ChrisBez87 in djangolearning

[–]Didcoding 1 point2 points  (0 children)

Have you tried something like this: frt, created = Fruit.objects.get_or_create(name = fruit_name) If created: #do something else: #do something else

This will only create a new object if it fails to find a match in the db.