⍣ ᏗᏝᎥ ⍣
⍣ ᏗᏝᎥ ⍣
Charly
Charly
An simple example of what do you mean
⍣ ᏗᏝᎥ ⍣
⍣ ᏗᏝᎥ ⍣
Please wait, I'll see how best to ask
Muflone
i can't
Chances to receive help reduced by 99%
Not a wise choice
⍣ ᏗᏝᎥ ⍣
Well then we can't help.
We have products, these products receive some information from the user, these fields in which information is filled, are defined separately for each category of products.
⍣ ᏗᏝᎥ ⍣
Charly
⍣ ᏗᏝᎥ ⍣
When a user wants to buy a product, for example, a dress, the information he must fill in is different.
Charly
Muflone
⍣ ᏗᏝᎥ ⍣
Charly
Yes 👍
Like what attributes
Muflone
A dress could have size and color
A CPU could have model, frequency
Muflone
Charly
It usually is made by using a Model that has attribute name and value as fields, and the product can have many of htem
⍣ ᏗᏝᎥ ⍣
Km
Charly
Charly
Leonardo
Anyone help me solve this problem, please.
https://github.com/LBarros77/multiple-servers/issues/1#issue-1941126004
Km
Both
Well noted, thank you for your response.
Charly
2200090087_Shaik imran rasool
simple vehicle management system using django.how to implement
Alex
Q
Hi, can someone properly explain the difference between the coded sending rabbitmq messages to celery and simply connecting rabbitmq to url celery?
Maxim
Hoshyar read the rules
Nazda
How to install Django
Doragonsureiyā
How to install Django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Nazda
Jay
Hi @here
Question:
When I send a PATCH request using:
curl --location --request PATCH 'http://127.0.0.1:8000/mobile/forms/update/f46f10e4-77b5-4a57-9459-4a12b752105c' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic YWRtaW46dGVzdA==' \
--data '{"is_accepted":3}
'
But I get error:
"Method \"PATCH\" not allowed
The view uses Django rest_frameworks api view
@api_view(['PATCH'])
What could be the reason for this?
Deepak
Best source for learning drf?
Mirco
Doragonsureiyā
Best source for learning drf?
Are you looking for Django REST Framework documentation?
Here you have it: https://www.django-rest-framework.org/
Deepak
!drf
Fast way to learn drf ?
Deepak
Mirco
Issa N'golo
I have two models Mutualist (full_name, phone number) and Sms (content, mutualists) which are connected by a ManyToMany relationship and the foreign key is in the Sms model through the mutualists key. What I want to do is when I record an SMS in the administration, I want the names of the mutualists to be in alphabetical order. I thought of the get_queryset method but I don't know how to use it in this case, where the objects (mutualists here) are in another model (Sms here)
Doragonsureiyā
• Use a backtick (`) on both ends of your single line:
print("hello world")
• For more lines, use three backticks (```) before the first line, and after the last:
def hello(name):
print(f"hello {name}")
• You can also select text when typing, and select markdown formatting.
Maxim
Alex
Issa N'golo
@incdev_225
I do not understand very well 😅
Ilya
Hi, guys
I have a question about django and how to properly launch a kafka consumer in it? I tried to run consumer with celery shared task, but there was some problems with fault tolerance. Could you give me some more variants, how can I do it, please? Because I didn't find something interesting on the Internet
2200090087_Shaik imran rasool
Add urls and deploy
How to store data for available parts and mechanic in django
Swapnil
Does any one knows how to write a django orm query for json field?
Doragonsureiyā
Anonymous
Hello everyone I have AWS free tair acces I am looking to deploy my django app in ec2 instance
Anonymous
I know manual process but how to automate when the code changes in GitHub automatically in ec2 also need to redeploy
Anonymous
In elastic beanstalk ,pipelines, container services I know but I have free tair access only
Anonymous
So if any one have idea about it please help me.
Thankyou🙂
Anonymous
Please I need help in my rest API I created two models and it's query like wise the serializer but I want to merge the query in such a way that the create will contain the fields of the two models please can any one help thank you
Rihanna
Sarah
Hi! I am creating a leaked credential search engine and i am trying to develop a robust search functionality allowing users to query based on various criteria (Email:password). Anyone willing to help me?
Doragonsureiyā
Sarah
I'm not sure how to implement this search functionality or in which files I should make these changes. I was hoping to get some guidance or suggestions from someone with expertise in this area.
If you have any insights or recommendations on how to approach this, or if you can point me in the right direction in terms of which files and code structures I should be looking at, I would greatly appreciate your assistance.
2200090087_Shaik imran rasool
how to store and retrieve data from postgressql for django
Muhammed
Hi
I have a problem to make voice chat app, I saw the YouTube and other but none of them worked so please help me.
Thanks a bunch
Elilooli
hi I've started my first project in django and I can't get access to the "first project" localhost server,
I use manage. py runserver it successfully runs it and give a link but the link gives "timedout" error.
here's what I did to try and fix it but it did not:
turned off firewall and proxy
tried some different ports
changed IPv addresses
flushed DNS cashe
deleted security policy for that server in my browser
pinged the IP (it was working)
I have no idea what else to do
Muflone
Arsenii
hey guy, i faced an error, that django orm can't handle, is anybody have faced the same problem?
https://stackoverflow.com/questions/77289815/why-django-count-on-m2m-field-returns-wrong-value
Elilooli
Anonymous
Hi I am devloped frontend with react and backend with django rest project is completed and it is working fine at local mechine
Anonymous
But I am trying to deploy it on AWS ec2 instance