django tag

257 questions


1 answers
80 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
46 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
93 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
123 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
45 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

1 answers
52 views
0
I want to develop the web using Janggo.

I'd like to develop the web using a long storage device. I want to use Naver's login.In other words, validation of ID and password is Naver's https://ndim.da.naver.com/sso/auth If you try to do it her...

2 years ago

1 answers
78 views
0
After uploading django to heroku, server error 500 occurs.

I made a simple blog with django now and posted it on heroku. However, server error (500) error occurs on some pages.First of all, the server error (500) error occurs on the Google login page, the e-m...

2 years ago

1 answers
49 views
0
Location of Global Constant to use in Django project

Hi, everyone.Django Wan! I'm a newbie.I'm asking you this question because I'm wondering where to define the constants to be used throughout the project while learning Django.If it's my coding style, ...

2 years ago

1 answers
43 views
0
This is a question related to django. How to insert data for each user.

I'm working on a project through djangoI created a timetable app.If you log in to your super account,Enter the schedule here.If you put in each class, you'll get a timetable I want to have each user w...

2 years ago

1 answers
47 views
0
I would like to refer to another project in django and develop it.

I've implemented a general Python projectI want to create a web server with a long drive and access the project and use function execution or classesHow do I add a project on a different path in a lon...

2 years ago
« - 14 - »

© 2024 OneMinuteCode. All rights reserved.