Deleted
{{ query_results_book_is_discard|index:forloop.counter0 }}
Deleted
This var returns {'is_discard': False} in frontend
Deleted
I want to get 'False'
Soham
Then create the super user by "python manage.py createsuperuser" it should be good
Deleted
should I use {{ (query_results_book_is_discard|index:forloop.counter0).is_discard }} or what?
Doragonsureiyā
سلام بچه ها. گروه جاوااسکریپتو داره کسی?
Hi! This group is English-only. Please, translate your message into English and delete the non-english message. Or move to a group speaking your language (type "!ol" to see the list). Thank you.
Say my Name
Django YouTube tutorial that cover all topic with easy explanation ??
manoj
Hi Brothers and sisters how r u, this Manoj kumar , I would like to ask small favour ,if u don't mind can u please send me a real time project to apply in interviews,kindly I need support ,just to apply in interviews only, when I was searching I came to see this is the best group with experts ,so iam sending this message to u ,pls send to deekshithreddy8053@gmail.com
manoj
Pls help me to reach my goal,as a software Engineer
༒•Ⱨ₳Ɽ₴Ⱨ•༒
coder
for heroku deploy got error "error: open("AC-NO "): No such file or directory error: unable to index file 'AC-NO ' fatal: adding files failed "
k
I want to upload media on instagram using django using instabot..but it's showing some ds_user error...is there any other way to do so?
Anonymous
Django in need Blog application
Vxvek
I'm having an valueError in server called day is out of range for month
Vxvek
code?
Exception location is in /usr/lib/python3.8/sqlite3/dbapi2.py
Vxvek
I'm having an valueError in server called day is out of range for month
Is it because of any packages ?? In admin change section also it is showing the same error
Vasantha
Hi, Anyone know about server-timing in django???
Mirco
!paste
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Peter
Hi, I'm trying to populate the admin field directly from the created_by field on save of a group instance though I'm getting error "direct assignment to the forward side of a many-to-many set is prohibited" How can I work around this ? Here's my code https://pastebin.com/xq6uNSVD
VISHNU
I have serializer data like this Order_id{I'd :1 Some data's} Product_id{I'd :1 Some datas} Order_id{I'd :1 Some data's} Product_id{I'd :2 Some datas} How to make Order_id{I'd :1 Some data's} Product_id{I'd :1 Some datas} Product_id{I'd :2 Some data's} Like this From order product model serializer I am getting data from foreign key related with order table and product table .for one order need to show the product.now I am getting the product but order_id is repeating how to make it as one show the products to one order. For more clarity serializer code and response which I have ,and need to get is given in this https://hastebin.com/ajuluramom.kotlin
Priya
Can I read private google sheet in pandas without using API
âshîsh
Can I read private google sheet in pandas without using API
I think Google won't allow. Because it's private and associated to a private account.
LEX
Hello !! I'm now learning RestAPI... I Successful installed... djangorestframework and creating projects ,app all done !! And Including all stuffs in settings/apps all done ...
LEX
But when I used to import serializers in rest_framework means it shows that ...
LEX
Rest_framework not found 🙄
LEX
What will be the problem ?
Bwaks
Hello I have a home.html template ....I want it have data from 1.artist model 2.venue model 3 event model..........how can I pass it to my class based view ...class HomeList(ListView) Model = pages Template_name= home.html
Priya
Rest_framework not found 🙄
It might be possible that you have installed rest Framework package into other environment
LEX
Nope !! In that same env only I done !!
William
Nope !! In that same env only I done !!
Check it by using pip freeze
Aneesh
Iam using paho mqtt. Some times subscription not happening. Rc value is 0. And getting the granted QoS value in on_subscription function. Then also some times not getting the message. Any one know about this?
Bwaks
Check get_context_data
A line that does please ... couldn't figure out
Anshu
A line that does please ... couldn't figure out
Override get_context_method() inside List view subclass and return all the models you want to display in your template as a context
Charanpreet Singh
Hello, this may sound silly but it is happening with my project in real. I built a django rest api and it works successfully on my local machine. Then I deployed the same on heroku, although it deployed successfully but the results that it gives are different from what it gave me lovally, also I tried heroku web local command on heroku CLI and it is produces the results that were expected locally. Any help would be greatly appreciated!
saran
Heloo, anyone implemented jwt token with RSA256 algorithm??
saran
I need to get signed token as return access Token
saran
Anyone?
Doragonsureiyā
Anyone?
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 😊
Vorug
Hi, I'm making editable many-to-many field in list_display of admin section. Was making using this tutorial - https://stackoverflow.com/questions/51325438/how-to-edit-manytomanyfield-in-django-admin-list-display-page It's working, but then I add another editable field to list_editable and to forms, everything looks fine but data I put on this new field is not saving. Anyone knows where could be the problem?
Widso
hi, i have a telegram bot based on telegram api + django. And im need help with him. I can pay someone who helps.
𝑴𝒂𝒔𝒖𝒎𝒆 🦋
Hi django.template.exceptions.TemplateDoesNotExist: detail.html What is my problem?!
Mirco
Hi django.template.exceptions.TemplateDoesNotExist: detail.html What is my problem?!
the template does not exist or you are not well configured the template locations in settings
Mirco
I know,what to do to solve this?!
share your settings file via pastebin
Almaz
Hello, everyone! I want to work as django developer, but I don't have any job experience, because I've never worked as Django developer. I learned django from YouTube. Who can give recommendation where I can get first junior django developer job?
Salohiddin Yoqubov
I would like to change the Select form below to Manytomany when the field above was ManyToMany. It is currently in the Select Mode. How can I do that? Photo: https://ibb.co/tZh85Q6
Prabhakaran
it returns error i pass back_link variable from view
Try {% url back_link %} no single quote
Kool
Hello guys. I have an html template for email with dynamic content as the message, how do I add the dynamic content
Kool
In the template
Kool
From a model
Ola
Hello everyone,I'm working on a django project that requires the application to run a function 10 minutes before a time(this time would've been specified by the user, and it can be any time),i thought of using django-cron and other related libraries but i feel like it'd be too much load on the server,because the server will have to keep running everyday,minutes and seconds to check if the time matches what the user have specified earlier, and i do not thinks it's healthy for the server,please i need help,how do i go about this?
Garcia
You can use the celery beat, a feature of Celery library for schedule tasks
Widso
hi, i have a telegram bot based on telegram api + django. And im need help with him. I can pay someone who helps.
Demetra
how iterate by index in templates, my object list of dicts, I dont set index in dict, Can I get it in template
Nats
Why REST server return content after POST?
Nats
It costs 2 times bandwidth, in and out?
cj
Why REST server return content after POST?
because you need to know whether the POST was successful or not 🤷🏻‍♂
Nats
because you need to know whether the POST was successful or not 🤷🏻‍♂
The result can be got from status code, I means if succeed, the server also return POST data which I have just send to server.
cj
The result can be got from status code, I means if succeed, the server also return POST data which I have just send to server.
if you're creating and object via POST, and you get the object, then that means the POST worked as expected and it's returning the created object, otherwise you'll get the fields and their errors, that's how REST works
Nats
If a resource has been created on the origin server, the response SHOULD be 201 (Created) and contain an entity which describes the status of the request and refers to the new resource, and a Location header (see section 14.30).
Nats
Yep, I see
VISHNU
Share the view function code
Api view is added in this link. https://hastebin.com/akapiyataq.kotlin
Vasantha
You mean time zones??
no its something like this https://github.com/vtemian/django-server-timing