Muflone
"look at my bike" "there's not any bike here" if you want to show me a bike, then you should take me where the bike is
Yuman
I have the following error: it's saying entegrityerror
Yuman
When I try to add item to a cart the error arises
Muflone
Read the whole error
Yuman
Not null constraint failed:carts_cartitem
Muflone
This is not the whole error but the meaning is clear You're adding something with None or not populating a referenced field where NULL is not allowed
Yuman
Or should I provide the whole trackback?
Yuman
then how can i resolve that error, i have tried everything
Muflone
You're not populating that field
Yuman
alright i get it
XYZ🤠
The question is about Django, I have media/img files saved. I have 0 or 1 coming to my request and I want to make media/img/0/. How can this be done ?
Anonymous
use get_absolute_url
.
Anyone know video or something explain API request and response like booking in hotel how to send request and get the response
Doragonsureiyā
Anyone know video or something explain API request and response like booking in hotel how to send request and get the response
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
.
Thank you guys 🙏😊
$
Can anyone help me with django authentication with keycloak? (Registration, login, social login)
Herman
What would you guys suggest for an advanced Django course?
Manoj
how can i implement multiple user chat in django channels (context:ecommerce chat app)
Manoj
should i have to create multiple dynamic groupname for every customer or what i need to do?
¯\_(ツ)_/¯
Hi could someone help me with setting up an OTP service in django
Dmit
Does anybody know how to override view signup class (when form is not valid need redirect to some page)
Dmit
from django-allauth
Sapna
I need to display dishes till specific count like I want to show only 2 dishes out of 4 i applied for loop but how can we show only 2 dishes , I'm not getting how we can give range here if needed can share the ss of code , any idea about same ?
Sapna
I want to show it in html page and i have used loop this way {% for entry in dishes %}
Sapna
Sapna
I only want to display 2 of them
Erkaboy
I only want to display 2 of them
You can use forloop.counter.
Erkaboy
should i have to create multiple dynamic groupname for every customer or what i need to do?
Create groups with unique names. User who has name can enter group chat
Fab 🌈 🐇🕸
can anybody share their experience with a packaged called django-scheduler? I find it so buggy. Do you recommend anything else for a simple public calendar (to be extended)? (No Google Calendar for privacy concerns)
S.A
Hi I need a solution for this. Need to create an api which accepts multiple json and do a bulk create/update to dB A single json template I have included inside the api . Eg : {a;1,b:2,c:{A:B},D:{a:(1,3),b(2,4))} Like this I have used a sample json with empty values processed it using for loop usinf the key and inserted to dB . But using the above json in thunderclient I can able to process send and test single json at a time. How to do tht for multiple json.pls clarify .
Manoj
Create groups with unique names. User who has name can enter group chat
Can you give me rough on the basis of what should i create unique group names?
부산
Hi eveyrone! Can someone give me a lis of free servers to deploy Django application?
محمد أحمد .
could you give me a roadmap from zero to become backend developer? And what programming language and framework should I learn PHP , Python ,C# or JS ?
محمد أحمد .
No, this group is only for Django, no other languages or frameworks
I know , but I want your advice. Could you tell me why you choose Django and the roadmap to learn it?
Charly
Katerina
could you give me a roadmap from zero to become backend developer? And what programming language and framework should I learn PHP , Python ,C# or JS ?
Start here - it is a well known website with roadmaps, they are pretty good https://roadmap.sh/backend Django is great for beginners. The official tutorial is amazing too. I feel back in love with programming thanks to it.
Jamie
For uploading images, can I use charfield for it on models.py
乙乇刀尺Ծ刀
I am facing so many issues whike installing django it says dango- admin is not recognised as a command
乙乇刀尺Ծ刀
how do I setup that environment variable please someone out there help me please
Doragonsureiyā
how do I setup that environment variable please someone out there help me please
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
HT
Can anyone help, for how API discovery tool will be created to discover API used by company
ricks
Hi is there some specific sites to look for django dev related jobs? Is there anyone recruiting
Prasanth
does anyone know the solution for this error " frozen importlib" and also no module named "my project"
Prasanth
Whenever I'm trying to run the django server after created the project and app in django... This error occurs 👆👆
-
hello everyone, I am new to django, can you help me with choosing between django3 and 4?
Prasanth
make migrations , migrate and run server
i did that bro .. but it didn't work ...
Prasanth
it shows same error after i made migrations
DoT
pip install my project
Prasanth
pip install my project
is it help me to solve that error if i run this command ??
Unknöwn
I am having issues with authenticating a user in my django app. I have created a CustomUser by extending the AbstractUser class. Only the superuser is able to be authenticated. authentication does not work for other users inside the django app. Please how do solve this issue?
Hello World!
Hi everyone, I am facing issue in my code for slider button in frontend. when i disable it still it's printing values.
Hello World!
can anyone please help me out
Hello World!
i have multiple toggle bar in frontend and each toggle bar stores a id in database. when i disable a toggle bar it still stores id in database. i want to resolve it so that it stores none in it or a empty string
Hello World!
can i share my screen with you?
Unknöwn
it may be because of is_active = False
Thank you for your feedback. But the issue still persist even though the is_active attribute is set to True which is the default.
Unknöwn
can u share source code or your class custommanager
class CustomUser(AbstractUser): USERNAME_FIELD = 'username' ..... So I created another class as follows by inheriting the CustomUser model class. Thus ; Employee(CustomUser): home-address = models.CharField (max_lenght=200). .....# rest of my code. What I want to know, is it a bad idea by inheriting the CustomUser model class.
Askat
Good evening, friends. I wanted to ask a question. There is someone who has faced with issue of payment in the online store. My friend and me are implementing one api project, and there we need to revitalise this functionality. Since we create a project for ourselves, it would be cool to make a realistic demo version of payment. I would like to know how to prescribe this logic in the code? We are working with drf
Shear
conn = _connect(dsn, connection_factory=connection_factory, **kwasync) django.db.utils.OperationalError: could not translate host name "db" to address: Temporary failure in name resolution
Shear
yeah db is the real host
Charly
yeah db is the real host
How do you have a host like that?
Charly
ususally are fully domains or IPs