Alex
https://requests.readthedocs.io/en/master/user/quickstart/#post-a-multipart-encoded-file
Metalcode
Pls I need help with geolocation using geodjango.. Gdal exception
Anonymous
I use ckeditor to write and upload images, but I want to display only pictures, how do I do it ?, because the two are united, if {{post.content | safe}} text will appear too, I just want the picture to appear, please help friends
Anonymous
Did anyone worked with selenium in python?
MG
Alex
Doragonsureiyā
Did anyone worked with selenium in python?
Please 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 51k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
Abhishek Kumar
Hello everyone, i am learning django, going through official documentation i stucked at polls appliction part-4 , here is the link: https://docs.djangoproject.com/en/3.0/intro/tutorial04/, in polls/views.py it showing an error in line : except (KeyError, Choice.DoesNotExist) , and the error is: Class 'Choice' has no 'DoesNotExist' i tried to google it and also tried to use try/except in models.py but failed to resolved the problem. If anyone faced the same issue please reply
inchidi
inchidi
you can always contribute to improve the docs
inchidi
Abhishek Kumar
yup
Abhishek Kumar
i tried to modify on my IDE as i mentioned above
raven
how can i implement notifications on user action like a follow following system in real time . I know it can be done in channels but it's becoming very hard to implement and i don't know how to.
inchidi
the UI made by you or django form (django admin included)?
Bhartiya
How I do email verification using Django?
Juned Khaan
Juned Khaan
There is isValid attribute when data is submitted in back end
Bhartiya
Can anyone please provide references or site
Bhartiya
Thanks lilo for helping me out ❤️
Juned Khaan
Bhartiya
Jai hind
Indian group? Jai hind
Bhartiya
Ashlah
It's used here https://github.com/django/django/blob/master/django/contrib/auth/views.py#L44
Ashlah
Or perhaps you could learn from its source code to implement it yourself
Anonymous
I use ckeditor to upload images in the article, I make two ckeditor in models one to write content, and another specifically for uploading images (photo) This is useful for thumbnails,
I want to display it in bootsrtap which is {{artikel.photos| safe}} then the image does not appear, because I created it in
style = "background-image: url ('{{article.photo | safe}}');", I'm still a beginner in Css, so how to display it, I have to follow the style of the template,
Fuad
Fuad
That means:
style = "background-image: url ({{article.photo | safe}});"
Anonymous
Anonymous
Fuad
no
I mean where is the uploaded image stored?
Anonymous
Fuad
MG
that is media file
Sh
Assalamu alaykum!
I have
class Customer():
.....
class Selling():
customer = models.ForeignKey(Customer, ...)
....
class SellingProduct():
selling = models.ForeignKey(Selling, ...)
like this relationship, how can I get SellingProduct objects by Customer?
Anonymous
Anonymous
Anonymous
Guys pls any php channel anybody can recommend??
Alex
MG
MEDIA_URL = '/media/'
Anonymous
MG
<center><img src="{% static "images/manish1.jpg" %}" ></center>
MG
I put media folder under static folder
MG
and in my case media folder name is images.
MG
STATIC_URL = '/static/'
STATICFILES_DIRS=[os.path.join(BASE_DIR,'static'),]
MG
that is the code of setting.py
Neo
Neo
S
Please guide me
I have knowledge of little bit django
Suggest me some projects
Dev
any one ??
Harsh
Baggy ️️
Guys needed small help
Baggy ️️
I am implementing like dislike on a post
Baggy ️️
Anyone already did similar stuff can help me out
Yash
Which lib is convenient for implementing dynamic graph in Django?
Matplotlib or chart.js
Yash
or suggest any other lib
Zerihune
I suggest I use packages there is one for this case besides it will save you time
Lionel
Could someone point me to MongoDB telegram group?
raven
can i get testdrivenio course on django channels for free
raven
?
raven
anybody knows any such source?
Anonymous
I did basics on django..... But i have not touched MEDIA images.. what should i do?
Mirco
Anonymous
has anyone tried to do webstreaming with django!