All Questions
6
questions
0
votes
1
answer
946
views
How fix to upload image from bootstrap modal form in django
I can not find the information how to load image through django modal form. How to upload a file through a django modal form?
my file models.py
class Meal(models.Model):
restaurant = models....
1
vote
1
answer
55
views
Ajax issue of Django user login using bootstrap 3.x modal
My purpose is once modal form submitted, ajax pass the username and password to a view and get back the json info to update the modal form, I trace the djanog code ,and 100% sure the JsonResponse(...
1
vote
0
answers
252
views
django view i get this error Synchronous XMLHttpRequest
went i run this code y get this error in the browser
error browser chrome
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. ...
1
vote
1
answer
3k
views
Display validation errors of a Django Form after submitting via jQuery `.ajax`
General
I have a form inside a modal.
The modals content (the form) is loaded by jQuery .load through $('.modal-content').load('{% url 'edito' q.id %}');. Django returns by this URL through ...
0
votes
1
answer
327
views
Bootstrap Carousel to play mp4 with ajax
I'd like to stream and play videos from my django site, I've already converted them to mp4 and was thinking about using the carousel widget with bootstrap to play them. Of course I would like to only ...
2
votes
1
answer
2k
views
modal dialog not dismissing bootstrap
I have the following modal dialog in a django tempalate
search_results.html
<div class="modal fade " id="search-results" tabindex="-1" role="dialog" aria-labelledby="modal" aria-hidden="true">
...