go tag

327 questions


1 answers
118 views
0
I want to fail over Redis at Django

I'd like to fail over Redis on Django, but I don't know exactly how...Currently, the settings are as follows.Specify Redis as the session backendPrepare two Redis servers for a master slave configurat...

2 years ago

1 answers
125 views
0
When using tensorflow in django, I would like to make it possible to use the model that I built and loaded all the time while starting the application.

I am creating a web application that uses tensorflow in django, but when the learned model performs forward processing on the data entered, it takes time to build the model and load the learned parame...

2 years ago

1 answers
152 views
0
I'm using through in Django's ManyToManyField, but I got an error and I don't know how to improve it.

After creating a program in Windows 10 and verifying its operation, Ubuntu 18 writes the same thing.It works fine with Windows works fine.The model containing the ManyToManyField goes into DB, but doe...


2 answers
91 views
0
.../github.com/mattn/go-sqlite3/sqlite3-binding.c:166752:10: fatal error: 'unicode/utypes.h' file not found

Both Mac and Linux have the following error.go build --tags icu # github.com/mattn/go-sqlite3 .../github.com/mattn/go-sqlite3/sqlite3-binding.c:166752:10: fatal error: 'unicode/utypes.h' file not foun...

2 years ago

1 answers
98 views
0
Pycharm Shows django as Unresolved Browse

You are running pycharm locally, referring to a folder on Vagrant (VirtualBox).If you open a file on pycharm, for example, from django.conf import settingsI have encountered a problem where a red line...

2 years ago

1 answers
82 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
93 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
72 views
0
How to Save a Tiff File of Any Size in Golang

We analyze images using Golang.Currently, we can load the tiff file (input) as Matrix and save the same size file as the matrix as Tiff.However, I think it is possible to save any size of Matrix as ti...

go
2 years ago

1 answers
74 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
102 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
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.