احمد الغامدي
Any body USING graphene I recive invalid argument for model type every time I make mutation
احمد الغامدي
This is the code in schema
Amjed
I have an doubt. Automatically, How to delete data from database after perticular time.
Peter
API views returns the correct number of object list but inform of empty lists ......i i have defined serializer class inheriting from serializers.ModelSerializer ...... anyone to help in listing the object details as well not just empty stuff ....how do you go about it?
Peter
https://pastebin.com/af1yB8RG
Peter
https://pastebin.com/af1yB8RG
this is the code snippet for the mentioned problem .....any assistance 🙏
Anonymous
hi, can I link google maps with python / django and capture the location in a database?
Anonymous
Thanks
Anonymous
Anyone Knows social social media authentication for twitter and linkedin. I need this help me
M
hi i have a simple for field implemented ( without model ) .. i want to select the second field drop down choice based on first selection .. if anyone can suggest me a simple method for it thank you
😉
Did anyone worked on django Oscar framework? I wants to integrate RazorPay with django Oscar project. Please help me if you know how to integrate
Anonymous
I want when user create a post also select which date and time they want publish their post.how can i do it
Saila
Hi , need your idea to redirect the url to LOGIN_REDIRECT_URL if the year is already logged in, else it will redirect to build in login.html . I want to do this either is urls.py or login.html where my project urls.py has , path('login/', authentication_views.LoginView.as_view(template_name='users/login.html'),name='login')
Saila
User*
Aneesh
When I write to db using create method in serializer. It shows create() missing 1 required positional argument : validated_data . Any one know about this
Aneesh
My create look like this Def create (self, instance, validated_data): Super (tableserializer,self).create(validated_data)
Aneesh
And my serializer contains manytomany relation and foreign key
Francisco
Ok... sorry.
Mirco
if u use built-in LoginView
Saila
Yes I am using the build it loginview
Saila
But I have to add if-- else condition kind of . If user is already logged in , it have to redirect to home page , else login page will shiw
Saila
Show*
Slava
Hi guys, me need help. How i can get name fields from model? id , name, second_name etc
Anonymous
Hey, can yall please help me with a good tutorial about django cuz I am having troubles
Doragonsureiyā
Hey, can yall please help me with a good tutorial about django cuz I am having troubles
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Mirco
Can you explain?
share your code via pastebin, it's better
Aneesh
Ok
Anonymous
Mirco
Any good one, I can't keep up with documentation
it's better u start learning how to get confident with documentation there's no better resource than the official documentation
Rajni
How to append all images and show those images in list?
Mosihere
what's the difference between "app_name" and "namespace" that we use in our main urls.py should we use both of them or what ? Thx for answering .
Doragonsureiyā
Anyone can explain please ?
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 😊
Anonymous
it's better u start learning how to get confident with documentation there's no better resource than the official documentation
I mean I am not geting familiar while learning the basics because i just switched from mongo
Anonymous
I can take mine but people at my work no 😂😋
Mirco
Anyone can explain please ?
URL namespaces allow you to uniquely reverse named URL patterns even if different applications use the same URL names
Mirco
Anyone can explain please ?
different apps can have same namespaces for example but u can be sure called urls are not the same
Rajni
all images of what ?
All the images that a particular uploaded
Mirco
Mirco
thx
!yw
Doragonsureiyā
thx
You're welcome! 😊
Anonymous
choose another team 😁
If I had the chance for sure I would
Mirco
Yes
so basically u can just do something like image_urls = [instance.image_field.url for instance in YourModel.objects.all()]
Abdul Shakoor
which relation describes best relation between user and followers, Many To Many relation or One To Many?
Rajni
I did like def get_img(self,obj): user=obj.user posts=UserPost.objects.filter(user=user) img=[] for post in posts: imges=post.uploaded_image img.append(imges) return img
Maulana
i face this error ValueError at /auth/email-verify/ Field 'id' expected a number but got '<django.db.models.query_utils.DeferredAttribute object at 0x7fadbcab3760>'.
Maulana
how to fix that?
Shubham
How I can accomplish that
Shubham
?
Kms
def str(self): return self.fieldname add like this on your model
Deleted
Hi guys, any tool for auto deploy Django webapp to AWS?
Deleted
Nope, only your skills
I have followed several tutorials,all failed😭
Mirco
You need to have skills also for AWS
Jimmies San
Hi guys, any tool for auto deploy Django webapp to AWS?
if you need something simple use heroku
garrip91
How can I get a database-record for views.py? My incorrect code-part: https://pastebin.com/Ej1fkfsF
Dhanush
How can we develop a live video recording app with django and opencv