N
Hey, everyone. Does anyone know any good articles/books on Redis + Django? Thanks in advance :)
Abhishek
Hello all, I am new to django (a week) Requirement: Send data from template to view.
Abhishek
Please help me out
Doragonsureiyā
Please help me out
Not until you explain your difficulties.
A.sh
Please help me out
https://stackoverflow.com/questions/14728319/send-data-from-template-to-a-view-django
Abhishek
https://dpaste.org/QP1Ag
Abhishek
Pls go through this link to understand my problem in detail
Nouf
I have an issue with Django countries package it's not shown the flags with country name in the drop down
Doragonsureiyā
Now working
If you need help, don't just say "not working", explain in detail what's not working the way you expect it to
𝙑𝙞𝙯 𝙋𝙖𝙡𝙖𝙨
Now working
How should I just found your problem? Give more details
Виктор
Hello! Can you help me please? I am trying to add a summernote editor. In the admin panel, everything works fine for me. All content outside the admin panel is also displayed. At the same time, the form for editing outside the admin panel is not displayed for me. I am attaching the code: https://pastebin.com/cwyHgkqM https://skr.sh/i/041022/IdT3UPDg.png - my bad result. 😭
Pavel
Hi everybody! Is it possible to create a per-user celery queue? Like queue_user_id
aRi
If it's the view You can call it according to request method ( or everything else ) by dispatch method
Swati
can you elaborate pls
aRi
can you elaborate pls
Something like this: class NewView(View): def dispatch (self, request, *args, **kwargs): if request.method == 'GET': do something... Don't forget to return super of method at last! return super().dispatch (request, *args, **kwargs)
aRi
Oh, i understood your problem wrong, sorry Unfortunately i don't know the answer
Dinesh
Hi, I'm looking help on rasa.ai (rasa.com for chatbot) implementation. Is anyone used this and done frontend development using Angular and store Q&A's in DB? If so, could you please help me.
Alexey
I already did that the static files are displaying,but the media files are not @Telega12345
Then try this https://docs.djangoproject.com/en/4.1/topics/files/
Macaw
Hello everyone I am Sumit. I am beginner in python and Django. Plz help me in coding
Hello Sumit. My advise is first grasp the basics of python language and jump directly to Django and finally DRF
Héctor
Hi everyone, I want to create an ecommerce with Django. Is a good idea use Django-shop?
šяıяαм〘CID〙
Exception Value: Cannot resolve keyword 'phone' into field. Choices are: date_joined, email, first_name, groups, id, is_active, is_staff, is_superuser, last_login, last_name, logentry, password, user_permissions, useracc, username how to solve this issue
Tура
Hello everyone!, Can I use Django admin panel for the real app, which is deployed?
Mirco
Hello everyone!, Can I use Django admin panel for the real app, which is deployed?
Yes but it's not suggested to give access to users It's purpose is much more developer oriented
Tура
I was building an app, and users can post, but it will be shown after the admin approved it
Tура
With superuser
Tура
Honestly, I just started my internship and my coworkers gave this task, they think I am able to do it, but I have no idea
Mirco
I will change the port and only I can enter there
In production the port must be 80 or 443 for https Don't expose the port
Tура
So study better before doing it
Thank you very much for your time and advices
Doragonsureiyā
Ing. Mario Tamayo
Does anyone have experience integrating with Bank of America or Cybersource?+
Pasha
http://linkode.org/#bWsUxxxsGRgga480i7wX
Pasha
AttributeError at /api/v1/medicineslist/ module 'django.db.models' has no attribute 'Medicines'
Pasha
somebody can help?
Akhmadjon Akbarov
Hello! I have a question. How can I sperated services and orders by user type in serializers.
Guna
Whenever I install django my setting.py file doesn't contain "import os "statement by default And if I try to add it shows errors please help me to solve this..
Guna
It starts with the statement from pathlib import Path How should I import os
Guna
?
Guna
Cheshtaaaaaaa
But it is throwing error
What kind of error
Guna
Just write import os in seperate line
Yaa now it's working tnq
Iñaki
Hello i hace Django project with fullcalendar librarte but nota render content un calendar .Any proposal?
ᅠ ᅠ
hi, how split the sitemap file into sitemap-index and setimapsXX files with links to 3000?
Seyi
Hello. I have an issue with s3 bucket and django. When I run collect static. I am getting 0 static files copied and 700 unmodified But when I call my production url, I am getting cors error for a lot of my JavaScript files
Greg
Hey guys, how can I do autofill fields in admin panel? When someone clicks add object button, some fields will already be filled
šяıяαм〘CID〙
I got some fields from the models to usermodel And now I like to pass insert values into these fields through registration How can I do that
...
Hi anyone know about url dispatcher in django
...
Anyone pls
Doragonsureiyā
Hi anyone know about url dispatcher in django
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
Beaty
Good resources for learning django kindly
Doragonsureiyā
Good resources for learning django kindly
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Константин
Hello guys. I extremely need help. How to get current user’s group name at class which inherit from DetailView?
Mirco
Hello guys. I extremely need help. How to get current user’s group name at class which inherit from DetailView?
user is inside request.user so u can do: request.user.groups.all() or filter it
Константин
It tells me that name “request” is not defined
Mirco
the request is inside self.request and inside the get() method
Константин
show the code via pastebin.org
https://pastebin.com/yrRcwNU3
Mirco
https://pastebin.com/yrRcwNU3
u cannot access request there only in methods
Константин
How it must be look?
Mirco
what's your goal ?
Константин
I need to get user’s group name to show it at template
Константин
Ok so use get_context_data method
Thank you a lot, it works
Greg
Hey guys, how can I do autofill fields in admin panel? When someone clicks add object button, some fields will already be filled. I need autogenerate key for that field
...
i want to protect views in django i treid to enter url . Want to be redirected to login page itself (user authentication) any one plz help me with this