django tag

257 questions


1 answers
49 views
0
When will the attribute error occur...?

I keep getting errors while copying programmers' Janggo class, but I don't know where it went wrong.https://programmers.co.kr/learn/courses/6/lessons/470https://programmers.co.kr/learn/courses/6/lesso...

2 years ago

1 answers
47 views
0
Problems Connecting Django to MySQL

Regarding the API Driver for Django and MySQL connections, Django Tutorial recommends mysqlclient among MySQLdb, mysqlclient, and MySQL Connector/Python, but MySQL Connector/Python is recommended on t...

2 years ago

2 answers
46 views
0
Creating a chat program with django! I have a question!

I'd like to create a chat program on the web, not go to the CHATTING ROOM page and chat, but like chatting on Facebook, I'd like to implement it so that if you press a button on the page you're lookin...

2 years ago

1 answers
135 views
0
Django Primary Key Error Question!

Code (models.py)class UserProfile(models.Model): user = models.OneToOneField(User) schoolid = models.CharField(max_length=5,unique=True,null=False,db_index=True) phone_number = models.CharField(max_le...

2 years ago

1 answers
48 views
0
About the Python super function used in django

As I studied django's class-based view,When overriding a function, the return value is super(class, self)... There are cases where it goes like this. No matter how much I look it up, I can't understan...

2 years ago

1 answers
113 views
0
To change string to datetime format

on the listJun 1 2005 1:33PMAug 28 1999 12:00AMThere are a lot of the same stringsYou want to replace all of this string with datetime format and save it to DB.How do I change a string to datetime?

2 years ago

1 answers
45 views
0
I want to find the IP address of the user in django

Find the user's IP address in django When I run my code, I get an error, but I don't know where the problem is.# Create your viewsfrom django.contrib.gis.utils import GeoIPfrom django.template import ...

2 years ago

1 answers
53 views
0
To change the format of Django DateTimeField

How can I save it in the format I want when I save it in db?(For example, '%Y/%m/%d %H:%M:%S)

2 years ago

1 answers
43 views
0
When making ID in django

Hello, everyoneWhen defining the Django model fieldDefine the primary key id = models.IntegerField()Is there a way to make the ID number automatically increase per row like AutoField?

2 years ago

1 answers
63 views
0
To run from shell to background

I think you're asking a lot of questionsI'm leaving a question because I'm curious about what other people usually do!On Ubuntu Server (Typical Linux Environment)When I played node.js, when I turned t...

2 years ago
« - 19 - »

© 2024 OneMinuteCode. All rights reserved.