Ashlah
Serializer?
Anonymous
how can i integrate 2fa authentication into my django project?
ASK
How to make a website using python?
Cesar
Mirco
Vladimir
Hello! Tell me the resources or books on which you have honed your Django skills ... Thanks in advance
Anonymous
I want to work on website which give a tutorial and I am stuck on how to implement the relationship i wanted.
The course have chapters and each chapter have subtopics and the subtopics may have multiple page ... My question is how can I handle this kind of relationship anyone can help, or ideas to help me using Django obviously?
Lugano
I need to store 2017-04-07096 its a registration number,should i use CharField() or PositiveIntergerField() ?
Cesar
Cesar
Lugano
Lugano
It can be 2016-04-11777
Cesar
Cesar
Not a sequence
I would use char so I don't have to deal with masks
Nicolas
Hey, I need to learn how to make a blog, where I can put one image or more, where I can format the text... Etc... Like the new york times page, or google blogspot
Vladimir
Good day everyone! Can sombody help me please? In my Django project i have 2 modeis Post and Group.
They are connected through M2M relationships and when I save new post group returne me trace "post needs to have a value for field "id" before this many-to-many relationship can be used". How can i
override create method (i guess) to fix this? Or maybe i need to use something else?
Cesar
Vladimir
I have to save the post twice (
Cesar
Well, what can i say..... you can not add relationship if there is no ID on the database
Cesar
it is pretty clear in the documentation
Cesar
I have to save the post twice (
https://docs.djangoproject.com/en/3.0/topics/db/examples/many_to_many/
'You can’t associate it (with a Publication) until it’s been saved'
Vladimir
Thanks for attention
Anonymous
Hello
Can anyone explain me how to link two view's on a same page
Lets suppose i want to load Blog created on admin site which has a view bloglist, and blog-detail and on same blog template in a side bar i want to load Instagram feeds if anyone can help me with it pleaz
Yegor
Anonymous
Hey guys do you know how I can make API requests from my web app and receive responses from an API
Yegor
KALEAB
Mysql or postgres is suitable for django???
Yegor
Anonymous
I'm lost. I need something like postman but in my program
Yegor
Anonymous
KALEAB
Is it possible to encrypt my data in postgres to protect it from hacker
Michael the wolf 🐺
KALEAB
What type of security is better for django to encrypt backend data
Jimmies San
Michael the wolf 🐺
Didnt notice version
Michael the wolf 🐺
First google link and i copied
KALEAB
Best django admin customizer
KALEAB
What are the main point i must be focused on when i want to develop website as a professional
Jimmies San
V
So I am making a new app in django can some one tell me easy way for custom django
V
Login logout signup
Anonymous
Saw
Hello. Who will be able to help me with a pseudo code Django-Ajax
V
Ok
JK
Hello this is JK from Afghanistan I am heppy to be here 🙂
Anonymous
I am new to django. Can anyone provide me a roadmap for learning django??
Cesar
Moon
Anonymous
Anonymous
I just wanted some suggestions
Moon
https://django.fun/docs/en/3.0/intro/tutorial01/
Moon
Anonymous
How can i send data from ESP32 to a Django web server?
Can someone explain the process.
Alex
Please, give us the full context. Where is it from?
Jimmies San
seriously?
Jimmies San
😂😂😂
Alex
I guess you can find answer via this link
https://ccbv.co.uk/
Jimmies San
https://stackoverflow.com/questions/44823132/diference-between-get-context-data-and-queryset-in-django-generic-views?rq=1
MG
t=int(input())
for i in range(t):
d, n=int(input().split())
lis=list(map(int,input().split()))
p=[]
for i in range(d,n):
p.append(lis[i])
for i in range(0,d):
p.append(lis[i])
for i in range(len(p)):
print(p[i],end=" ")
print()
MG
can anyone tell, how to take multiple input in python3
MG
I do this but showing error
MG
line number 3
Alex
line number 3
use multiple input calls or put everything in a single input and parse the data
MG
can you write the code
MG
MG
Alex
how to parse the data
It depends on the data. For example, if it is an array of numbers like 1,2,3 you could .split(',')
Valery
If you want some additional data not from db then use get_context_data. get_queryset = data from your db
Mirco
get_queryset is related to the default data you get into that view from the model you wanna use in that one ( one of the most common stuff is to override the default one to add some filter/order bla bla )
get_context_data allows you to work on the context passed to the template you render via that view, so the simplest thing you can do is to provide new context variable to be used into the template and this variable can contain the result of your self.get_queryset
MG