Re: how i use django in blockchain.

2023-03-23 Thread Mike Dewhirst

On 23/03/2023 6:02 pm, Shubham Lahane wrote:
im currently working on my BE project. my project topic is 'secure 
EFIR using Blockchain'. actually im working on wesbite that is 
decentralized in nature. once user fill the FIR form, in backend smart 
contracts will run and i want to show transaction hash to user who 
filled the FIR form. how i can integrate brownie and django so that i 
can show transaction hash to user ??


1. Put the hash into the context dict in your view for example, 
context["hash"] = r"""{0}""".format(hash)


2. Insert the hash in your template somewhere {{ hash }}

Just like any other data you wish to display



.plz help me i have very less time.
--
You received this message because you are subscribed to the Google 
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fffba5d6-005c-42fd-b384-c163e12b0849n%40googlegroups.com 
.



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7c46cbe5-0e28-a273-907b-91482b7c386f%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


how i use django in blockchain.

2023-03-23 Thread Shubham Lahane
im currently working on my BE project. my project topic is 'secure EFIR 
using Blockchain'. actually im working on wesbite that is decentralized in 
nature. once user fill the FIR form, in backend smart contracts will run 
and i want to show transaction hash to user who filled the FIR form. how i 
can integrate brownie and django so that i can show transaction hash to 
user ?? .plz help me i have very less time.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fffba5d6-005c-42fd-b384-c163e12b0849n%40googlegroups.com.