Zey
code??
https://dpaste.org/FVpx
Sumit
Alexandro
verify the url is an absolute path
Sumit
Alexandro
its working for me
Sumit
The way you are passing the image won't work
Sumit
You have just used img script
Sumit
Like you do normally
Zey
so how to do it?
Alexandro
send an example of the email to this direction
Alexandro
fibalar916@vreagles.com
Alexandro
to check whats happening
Sumit
so how to do it?
https://stackoverflow.com/questions/3787755/django-how-to-send-html-emails-with-embedded-images
Sumit
Read all three answers
Sumit
The answer which has 6 votes will help yyou how to put image reference in img tag
Alexandro
use sendgrid😂
Zey
ok I will try all
Zey
Thanks
Sumit
Hi, I want to know how to pass csrf_token to my mobile_app, I am using graphql as an api and it is not working without csrf_exempt, using csrf exempt is an security flaws, and I don't want this, I know I can retrieve it with django.middleware.csrf.get_token(), but I don''t know how to pass this to my mobile app.
jay
Just have a doubt,
In my (local) django project i use
subprocess
to run commands
Can i use them as it is when i host on Heroku
Acs solutions
From form action I want to pass variable to view how to do
Acs solutions
<form action={%url 'add' parameter=123} method=post">
def add(request,parameter):
-------
path(add/<int:parameter>,views.add,name="add")
Not working please anyone help
Acs solutions
Anonymous
Musa
Hi all
I'm working on a django web app and I would like to ask a user to select their currency location from a map when submitting a form. Any idea how to implement that??
Thanks in advance
Prabhakaran
Mirco
Favas
Which one is better for django deployment
I have a django app which will have to handle many user in same time
Digital ocean
Google cloud
Aws
?????????
Mirco
Favas
Thinking about digital ocean
Prabhakaran
cost wise which one u think its cheap ?
Ngeene
Prabhakaran
Also facing the issue
import requests
res = requests.get('http://ipinfo.io/')
resData = res.json()
loc = resData['loc'].split(',')
print(loc[0])
print(loc[1])
Prabhakaran
this is my workaround as of now
Anonymous
how can i create a product more than one time in one click plz smo knows
Anonymous
tell me
Anoop Pratap
Any resources for learning django?
Mirco
Doragonsureiyā
Any resources for learning django?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Bajaj
Any One have Django material pls send
Mirco
Crabby
https://stackoverflow.com/questions/67105930/i-am-making-a-test-module-in-django-and-it-is-giving-giving-me-different-value-a
Hey can anyone help me with this i think the problem lies with the form submission.
__init__
Hello guys sorry to ask??
Mirco
Doragonsureiyā
Hello guys sorry to ask??
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z"
Just ask about your problem directly! With ~90,000 people here, the probability that someone will help is pretty high.
How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
__init__
how can i do something like this in python???
if (!$cert_store = file_get_contents("/web/sign/clientprivatekey.pfx")) {
echo "Error: Unable to read the cert file\n".\Yii::getAlias('@webroot');
exit;
}
$content = "
<root>
<name>Robbin</name>
</root>
"
//create signature
openssl_sign($content, $signature, $cert_info['pkey'], "sha1WithRSAEncryption");
$signature = base64_encode($signature); //output crypted data base64 encoded
Fred
Best resource to learn Django for e-commerce
âshîsh
Favas
How do I implement date based search 🤔 in my django app
Shahd
How to store table to database in django?
Ghorz
Ghorz
You can login to Mysql or explore the sqlite file
Shahd
I mean a table in html page how can i store it at databse
Shahd
Pass the values of every row of it
^o^
Hi...is it ok to use same database schema for two Django projects? Django's default tables creating on migration will work or not?
Владислав
Guys, how to calculate in a template or make a method for calculating the total number of "loads" for an article? class Attachment(models.Model):
post = models.ForeignKey('Post', on_delete=models.CASCADE, related_name='attachment', verbose_name='Пост')
loads = models.PositiveIntegerField(verbose_name='Скачивания', default=0)
def __str__(self):
return self.post.title
Mirco
Владислав
Владислав
Many thanks!
Mirco
Sai
Sai
Mirco
Doragonsureiyā
Thanks
You're welcome! 😊
Anonymous
why does L12 raise no instance object from vuln when it is? https://dpaste.org/GXts#L12,24
Sai
How I SetUp DRF and channels together
Sai
Anyone had done before or any tutorials to setup and access both at same time
Sai
Anonymous
I got "Cvss2.vulnerability" must be a "Vulnerability" instance.
Sai
vulnerability_index = Vulnerability.objects.filter(cveid=vuln_info["cveid"]).first()
Tryt thos