django tag

257 questions


1 answers
81 views
0
I want to know how to do bulk REPLACE in Django.

If you know how to run MySQL bulk REPLACE using Python Django's model manager, please let me know.class SpamModel (models.Model): ...SpamModel.objects.bulk_create([] SpamModel (**item) for item in ite...

2 years ago

1 answers
92 views
0
I don't know how to set the initial value of Django ModelChoiceField into DB.

I am thinking of implementing the function of saving the text that users entered in Django in DB and calling out the choices from DB when registering new data.I think there is no problem with setting ...

2 years ago

1 answers
73 views
0
No Vote, but Error Page Does Not Appear

Prerequisites/What you want to achieveI'm working on a tutorial for Django.To create a voting application, visit the following site:https://docs.djangoproject.com/ja/4.0/intro/tutorial04/If you do not...

2 years ago

1 answers
101 views
0
How to Generate Any Number of Forms for Django

When creating a form with Django from django import formsclass SampleForm (forms.Form): Variable = forms.CharField() : I think I'll write like If you want the number of forms specified by the user...

2 years ago

1 answers
121 views
0
Wagtail (Django) does not show blocked images. (Character only)

Question detailsWe are developing web applications using wagtail.For content display, we block names, links, etc., import them into content models, and consider HTML output.Other information such as t...

2 years ago

1 answers
93 views
0
Downloading the Django Server File

Thank you for browsing.I'm afraid this is a very rudimentary question, but let me ask you a question.I am currently developing WebAPI at Django and would like to handle files.Therefore, we are arrangi...

2 years ago

1 answers
110 views
0
How to Change the Page Transition Destination When You Change Password with django-allauth

How do I change the page transition destination when I change the password with django-allauth?Now, if the change succeeds, nothing happens, and if it fails, it seems to be 404.django 3.1.1django-alla...

2 years ago

1 answers
115 views
0
django Manager isn't available; 'auth.User' has been swapped for 'users.User'

django is adding account creation functionality, but the error cannot be resolved.You are using a custom user.I am referring to the information on the Internet.If you understand, please.Internal Serve...

2 years ago

1 answers
87 views
0
Tag start is not closed

Tag start is not closed error occurred <img class=img-responsive src={%static images/{{photo.image}}%}>I wrote in the html file...https://docs.djangoproject.com/en/1.10/howto/static-files/I don'...

2 years ago

1 answers
87 views
0
Customized 404.html does not reflect

Thank you for your help.Let me ask you the following questions.The django version is 3.1.7.What do you want to achieveI want the customized 404.html to be displayed when I get 404 errors.What we've do...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.