go tag

327 questions


1 answers
90 views
0
I have a question about Django ORM Join.

I'd like to ask you a question about join of Django om.As far as I know, there are two ways to join using querySet.1 model = model.objects.select_related('field_name')2 model = model.objects.prefetch_...

2 years ago

1 answers
98 views
0
This is a question about Form in Django.

I am posting because I have a question on the django regular form.In the book I'm reading now, the content of the model class is class Album(models.Model): name=models.CharField(max_length=50) descrip...

2 years ago

1 answers
46 views
0
MySQLdb connection question in Django.

I started Django, I started with 1.10.I use Python 3.5, but MySQLdb only supports Python 2.So I chose pymysql.However, Django wants to use the session

2 years ago

2 answers
48 views
0
django cannot import * problem

I'm developing a site, but there's an error in the process of creating a login, how do I solve it ㅠ

2 years ago

1 answers
45 views
0
How to migrate if the depth of the Django models folder is not common

Hello, while trying to make a simple web game using django + javascript I'm asking this question because I'm curious about route management.web game project name is lucifer├── lucifer####Client Web Ga...

2 years ago

1 answers
94 views
0
Django External DB Connection

I want to operate the same server code shared by github on two different PCs (A, B). (For testing) But I want to use DB only in A.To import the DB of the APC as it is when you run the server from B to...

2 years ago

1 answers
53 views
0
Hello, I want to know how Jango is_valid works.

if self.is_valid(): return redircet('/')In the above code, is_valid() internally calls clean() of the form to validate it, but in the case of clean(), the return value is dict data called cleaned_date...

2 years ago

1 answers
111 views
0
Test the unit using Python Django.test.Client

I would like to test the web page I made using the class client for unit test provided by Jango.from django.conf import settingsfrom django.test import Clientsettings.configure()c = Client()response =...


1 answers
134 views
0
Questions about Django mail

Hi, how are you?I am a developer who is learning Django hard It's nothing but I'm going to study Django mailHow should I implement what others send me??Even if I look up Google data, there are many th...

2 years ago

1 answers
53 views
0
Janggo Korean file download problem

post = get_object_or_404(Post_Notice, id = id)filename = post.file_attached.name.split('/')[-1] response = HttpResponse(post.file_attached, content_type = 'application/force-download') response['Conte...

2 years ago
« - 20 - »

© 2024 OneMinuteCode. All rights reserved.