257 questions
I'm about to publish a project made with python 3.4, django 1.7 on AWS Elastic Beanstalk.The deployment was successful and I was able to access it with a browser, but the directory containing the stat...
I'm a Python beginner.I would like to display the program I created in Python (simple calculation/mahjong library) in my web browser using the bottle framework.*Partial modificationsPython 3.8 and abo...
I am currently doing a tutorial on Django, but I would like to filter out the values in views.py on the model below, but I don't know how to write the code.Could you please let me know the details?I w...
When I access the upload_save method, only base.html is displayed.Visit view.py to default_save(request): photo_id = request.POST.get(p_id, ) if(photo_id): photoo_obj=Post.objects.get(id=photo_id) el...
The URL where the following json data is returned is http://127.0.0.1:8000/api/v1/I got the response correctly on the simulator, but when I tried it on the actual machine, I couldn't get it. What shou...
I was able to display the image input form on the web page, but I don't know how to use the image attached to the input form.I would like to retrieve the information in the image#view.pyfrom django.sh...
Working in ssh virtual environment. (Migrate and make migration are done in the first environment outside of ssh.)python 3.6.8pip21.3.1You are using virtualenv.In postgresql, roles and databases are a...
We are developing the Django project using VisualStudio 2017.I can't debug the javascript that I'm using.Could you tell me how to enable javascript debugging?I debugged the javascript code with a brea...
I would like to make the following query using the django model.Is it possible to do it in a model class?select *from table twhere (t.col1, t.col2) in ( (hoge, fuga), (foo, bar) )Quoted from https:/...
Sorry for the amateur question, but in the code belowoutput=','.join([q.question_text for qin latest_question_list])I don't know what the part is doing.I thought question_text separated by This was th...
« | - 6 - | » |
© 2024 OneMinuteCode. All rights reserved.