257 questions
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...
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...
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 =...
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...
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...
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...
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...
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, ...
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...
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...
« | - 14 - | » |
© 2024 OneMinuteCode. All rights reserved.