The
restart all
Rahul
Restart pc?
The
if the problem persists, try installing xamp/ wamp for running local apache server
The
Rahul dm me
Rahul
Ok
Morteza
i always see in tag <ul> ValidationError
this is the default. because maybe there is more than one error and django wants to make sure the errors are placed on each line seperatly. solution: you can put a div around the errors and give it class and style it how you want.
.
HI all...I am using djoser and have enabled SEND_ACTIVATION_EMAIL in settings. This will send activation link after user registration. Does anybody know how to set time expiration limit on this activation link?
rtg
where do you put a django project in ubuntu? www/html/env/djangoprojectclonedfromGit/webproject/manage.py
rtg
is it correct?
Swapnil
Please provide best tutorial for django
Doragonsureiyā
Please provide best tutorial for django
Check out PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
Anonymous
Please provide best tutorial for django
See learn python the hard way pdf
Doragonsureiyā
Link?
8️⃣ No piracy or illegal activity; no asking for/offering hacking, pirated software, pirated PDF, courses or other products.
Alberto
Hi, I'm working on a Django project in which there is an API and a web platform, the API has some open endpoints for users and the platform uses these exact endpoints, showing the output in a more visual way. Until now I have been making requests to the API (as any other user'd do) from the same server to use that data for the platform, but I'm not sure if it would be better to just call the methods implemented in the API thus having less requests to handle on the server, what would you do in this case?
Jaime
Gentlemen someone knows how to show ckrditor in template. how my model should be, my form and at the end to collect it in my template.
Abhinesh
Hi I want to post xml data through postman of specific url and do some stuff in Django can some one send me any link i couldn't find it
Anonymous
Hola buen día, estoy intentando correr mi servidor pero me marca este error !! from django.shortcuts import render_to_response ImportError: cannot import name 'render_to_response' from 'django.shortcuts' ‼️ Y así tengo mi view.py from django.shortcuts import get_object_or_404, render from .models import Blog # Create your views here. def showBlogs(request): blog=Blog.objects return render(request, 'blog/showBlog.html',{'blogs':blog}) def detalles(request, blogs_id): det_blog=get_object_or_404(Blog, pk=blogs_id) return render(request, 'blog/detalle.html', {'blog':det_blog})
Doragonsureiyā
Hola buen día, estoy intentando correr mi servidor pero me marca este error !! from django.shortcuts import render_to_response ImportError: cannot import name 'render_to_response' from 'django.shortcuts' ‼️ Y así tengo mi view.py from django.shortcuts import get_object_or_404, render from .models import Blog # Create your views here. def showBlogs(request): blog=Blog.objects return render(request, 'blog/showBlog.html',{'blogs':blog}) def detalles(request, blogs_id): det_blog=get_object_or_404(Blog, pk=blogs_id) return render(request, 'blog/detalle.html', {'blog':det_blog})
Python groups in other languages ‼️ NOT part of our network ‼️ Amharic @python_amharic Arabic @arabipython Azerbaijani @azepug Chinese @pythonzh French @python_francais German @pythonde Hebrew @pythonisrael Hindi @pyindia Indonesian @pythonid Italian @python_ita @pythonita Kazakh @python_kz Persian @pyfarsi Portuguese @pythonbr Russian @ru_python_beginners @ru_python Spanish @PythonEsp Swahili @python_eafrica Turkish @python_tr Uzbek @python_uz
Jatin
hellow friends help me plzz waht is method overriding
Jatin
if we overriding the method of parent class into child does it men the value of parent class will also change ??
Eilia
Hi 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte This Error appears when i want upload image with api(rest_framework) anyone know how to fix it ?
Firdavs
user = form.cleaned_data.get('username') what is this. It is for the signup form
Peaches
How can I add watermark to images when I upload from django admin panel. I want repeating watermark. Please somebody help.
Mustansir
How can I import a django project to local for testing purpose
Mustansir
?
Mr.TD
Thanks guys. Who supports me when i ask some doubts. And finally done my first project successfully.
Mr.TD
In django
¿
Hi, I deleted all my static files from static directory and static root but still templates using that deleted static file ,How can i fix it not to use old static files?
coder
Hello guys; I got the error of IntegrityError at /api/Consumer/149/ duplicate key value violates unique constraint "NewspaperAPI_consumer_ac_no_b2d3180c_uniq" DETAIL: Key (ac_no)=(944) already exists.
Shivam
I have create a model and make migtations and migrtae successfull but i am running server the programming error table does not exists
Shivam
Will show
Grow
Hi, I deleted all my static files from static directory and static root but still templates using that deleted static file ,How can i fix it not to use old static files?
If you want to test your project without any static files then run your server with the following command : django-admin runserver --nostatic
Sahil
Hey guys, I'm trying to implement soft delete in Django (without using any third party libraries), do anyone have any idea about it, how to implement it???
Артем
how to delete file in .docx with zipfile?
Артем
help me please everyone
Anonymous
I want to press semicolon twice and it change to colon in vscode for django, Like ;; = : Anyone can help please!
sunny
I want to press semicolon twice and it change to colon in vscode for django, Like ;; = : Anyone can help please!
please navigate to "Tools > Options > Text Editor > C/C++ > Advanced", set "Disable Aggressive Member List" to "True" and try again.
Mo
hi, i am trying to connect mongoDB to django but it has this error: 'django.db.backends.MongoDB' isn't an available database backend or couldn't be imported. To use one of the built-i n backends, use 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'postgresql', 'sqlite3' what is the right code for engine part of default database? thanks.
RKumar
How to save multiple questions with same name in django model
Mirco
How to save multiple questions with same name in django model
don't set a unique constraint on the name attribute and you can just create as many questions as you wanna with the same name
Akshay
Can any one know how to create the simple python django crud operation
Akshay
Pls help me i am totaly blank
John
Guys do anyone have an idea how do we build a simple chat application for users using Django rest framework
John
https://photos.app.goo.gl/t5hat3JdiMQdB1pbA
Doragonsureiyā
Anyone please help by suggesting something
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Pramod
Anyone please help me . How to updated api data update in django model .
Mohit
Hey, how can I calculate the cross tab of variables selected in 2 dropdown in Django ???From Excel file?
Maxim
Anyone please help me . How to updated api data update in django model .
you need Django documentation why are you asking us?
Aniesh
return [parser() for parser in self.parser_classes] TypeError: __init__() missing 3 required positional arguments: 'META', 'input_data', and 'upload_handlers'
Aniesh
just read carefully
try many times but i can solve the problem
Aniesh
if parser_classes = (MultiPartParser, FormParser) is passed that problem is occur
Maxim
try many times but i can solve the problem
you cannot use parser() without arguments
Nariman
Hello! #question I'm making a gallery based on this tutorial https://medium.com/ibisdev/upload-multiple-images-to-a-model-with-django-fd00d8551a1c I need the files to be stored in different paths, depending on the model to which the photos are added. But when there are a few models associated OneToOne with Album, an error occurs if all models have the same related_name. Something is clearly missing in this manual. Please advise where to dig? Translated with www.DeepL.com/Translator (free version)
Aniesh
i have post this problem in reddit https://www.reddit.com/r/django/comments/nzl1f6/how_to_upload_image_with_foreignkey_missing_3/ please help
Nariman
i have already try it but can't solve
I am new to Django and have already spent three days looking for the right solution. I've tried many different gallery components, but all had some flaws or bugs. The task does not look difficult, so I decided to write my own component. But today I spent the whole day trying to find an elegant solution how to save files in different folders
R
Somebody please help me out with an error in my project