Anonymous
tX4326
Thank you
Ted
Hi so I want to add users to a group but I can't save the users because I get this error
'FIELD ID EXPECTED A NUMBER BUT GOT A ()'
Kiarash
🤚 hi
Which course is best for django ?
From youtube, udemy
BHANUPRATHAP REDDY
John
How do we add and display a foreign key or one to one variable in the serializer fields of a related model ??
John
Can anyone help me with this
Dhruv
Anyone who has implemented JWT authentication frontend in react js?
Anonymous
Jaime
Hello Sirs. As I do something similar to what the Django admin has. The activity log. You know that that shows that user changed or added data in the table. In a list ... But I want to put it in a separate template.
LIBIN
How can i make the knox token auth to be authenticated.
Jaime
Do you know how I could achieve that ..?
Anonymous
Hello everyone, so i'm using gitbash for windows, and i need to transfer all my data from the db.sqlite file to postgresql file.. how do i go about that?
Arcanes
hi, please help, how django connect to my postgres database if i just drop this db
Mirco
k9
Daniyal4Real
Can't get you clear
I wanted to add migration, but have trouble with installed apps, it gives an error
Arcanes
my django project connect to db which deleted
k9
Daniyal4Real
How can I send an image?
k9
Poojitha
Can anyone tell me how to draw pie charts based on data from codeforces api..pls
Poojitha
For ex: https://cfviz.netlify.app/ .... i want to do in django can anyone pls help
Lone
request.user is always anonymous how to solve this error
William
Search in google. Somebody has explained in StackOverflow.
William
is_anonymous
https://docs.djangoproject.com/en/3.2/ref/contrib/auth/#django.contrib.auth.models.User.is_anonymous
William
Conditional elector of HRE
Hello everyone! How can I add records to the table in forms.py that the user entered? There is already a script for receiving data from the form. Here is the forms.py code - https://dpaste.com/FA4CUHTET, here is the views.py code - https : //dpaste.com/33UADKB8E, here is the models.py code - https://dpaste.com/AEWRBEVL4, here is the registration.html code - https://dpaste.com/7E488LXGX and here is the test.html code - https://dpaste.com/GLWEBVSH3
Zey
I have deployed my django website on heroku and when I add any product on website it's image is showing but after sometime it's image stops loading
Zey
Sanjay Krishnan
Heroku free version deletes media files after sometime
Zey
William
Ganesh
Zey
Владислав
Guys, I ran into trouble. When you update a post, the author is updated in its fomset for the already added formsets. Can I somehow fix it so that the author does not change in the saved subforms, but is only added for a new one? https://pastebin.com/3Ygenh54
Michael ✨
Has anyone implemented Oxxo pay?
Charly
Doragonsureiyā
Has anyone implemented Oxxo pay?
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
Diya
Does anyone have gfg dsa self paced course?
Diya
Please share with me on DM
mat
Ak
Can anyone tell me how to get screen size using django
Jaime
Hello Sirs. As I do something similar to what the Django admin has. The activity log. You know that that shows that user changed or added data in the table. In a list ... But I want to put it in a separate template.
Dev
Django how to Adminpannel customisation send code
Dev
With login page
Petr
Though it's not easy to setup but its what one can archive
Petr
Media sharing is not allowed in the group so if you need steps to do is DM now
Damodara
Hi Team, post_1= Post(title='title' content='content') note: title and content are fields in model. after using this line of the code I'm getting syntax error could please tell what is the error here
Anonymous
Damodara
Anonymous
Random
Anyone FastApi
Random
Using ?
Jaime
hehe
Resource recommendations to learn django?
.
HI..Does Django's CSRF token get updated during the course of a browsing session?
.
Groot
Hllw
Need help
I am trying to make a mock test application in django
But i don't know much about django
I created model for questions and choices of many categories
Now how can i fetch questions from db one by one according to the category i choosed ?
William
Groot
I am totally noob on django
Groot
Also how can i match the user selected option with correct option
William
!tut
Doragonsureiyā
Here there is the official Python tutorial, to help you learn Python step by step:
https://docs.python.org/3/tutorial/index.html
Владислав
Good morning or afternoon everyone. How do I update the time of the main object that my attachment is attached to? I want the post itself to be updated when adding attachment. class AttachmentFileCreateView(GroupRequiredMixin, SuccessMessageMixin, CreateView):
model = Attachment
template_name = 'modules/files/attachment_create.html'
form_class = AttachmentForm
success_message = "Файл для поста успешно добавлен!"
group_required = ['Администратор', 'Редактор']
# Валидность формы
def form_valid(self, form):
form.instance.created_by = self.request.user
form.instance.file_id = self.kwargs['pk']
print(form.cleaned_data)
return super().form_valid(form)
Anonymous
Hello Dear Mate :
I have face a problem in Django project,
Django runserver hangs at "system check identified no issues (0 silenced)"
Eilia
Anonymous