django tag

257 questions


1 answers
122 views
0
About Python import.external file loading

I want to load an external file and use it, but it doesn't work.Please let me know.environmentCentOS 7Python 3.7Django 2 tree.app1| - aa.py Loaded Files| - bb.py Import Filesaa.py def hoge: print('hog...

2 years ago

1 answers
163 views
0
Django2 Database Settings (ENGINE VALUE) and Heroku Administration Screen Login

I am creating a blog project in Django 2.0.The database was changed from the default SClite3 to PostgreSQL and deployed to Heroku.As I can no longer log in from the management screen on the Heroku sit...

2 years ago

1 answers
107 views
0
Django Tutorial 2: Error in "Try Playing with API"

I'm a Python beginner.I am proceeding with Django's tutorial, but when I call pols in IDLE, I get the following error:>>from polls.models import Question, Choice  Traceback (most recent call las...

2 years ago

1 answers
101 views
0
About Django Narrowing Search

I would like to implement a narrow search on the side menu of https://www.gumtree.com.au using Django.For example, if you click Jobs on the global menu on this site, the side menu displays a subcatego...

2 years ago

2 answers
95 views
0
In Django's Model, enter any value in choices.

I am using the Django 1.6 model.I would like to have multiple selections and any value.I borrowed it from the official document, but With choices, you can select more than one as follows from django.d...

2 years ago

1 answers
119 views
0
Enter HTML in MySQL in Django (Save?)

I'm sorry to bother you at such a busy time.This is my first time to ask you a question.I was creating an application on Django this time, but When creating one page, save each HTML tag in MySQL and W...

2 years ago

1 answers
102 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
116 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
135 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...


1 answers
89 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
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.