Anonymous
You I created venv
Try to describe your problem as written here:
https://stackoverflow.com/help/how-to-ask
Lui
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pillow
Running setup.py clean for pillow
Failed to build pillow
ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects
Lui
cj
Lui
Aby
user is getting logged out as soon as he is redirected to Login component
I am using react
The code was working perfectly in html , but when I integrated it with react , the issue start
Link:
https://github.com/AbyvargheseMandapathel/django-jwt-auth/blob/react/jwt_auth_app/views.py
Doragonsureiyā
Drey
Are you having issue relating with static?
Can you please explain better what you want to achieve so we can help you?
Drey
Okay, is bootstrap currently added to your app? Have you tested any other bootstrap class to see if it’s working?
Drey
Are you trying to use the data-bs-toggle class for a drop down?
Drey
Yes
The Inspired
Mahesh
Please suggest best Python with django online class
K
Hello Django Experts,
I want to filter the queryset by the id and details column. The details column is a list of dictionaries in which there are dates. How do I get a specific id and dictionary for the last date?
Mani
django project setup or the file structure setup ?
Mani
what will be the file structure setup for django project ?
<\Hany>
Hello
How should we have access to requests in signals?
Masta
Hello community,
I want to be able to update the quantity of product in stock whenever items are received or sold.
Have anybody implemented this before or have an idea on how to do it?
(If possible without using signals.)
Thank you very much for your feedbacks.
𝔸𝟙𝕕𝕪𝕟
Helin
I noticed such a problem that when I simply get something from my api, the response comes in the region of 200 ms, but if I connect to the web socket and start asking, the response time increases to 1000 ms
Is my PC weak, or is it a problem in the code?
if I start 4 connections to the web socket, the response time is 4000ms
the web socket code is asynchronous, the request to the database is only once when connected, and then it is wrapped in a method with the decorator @database_sync_to_async
start asgi Uvicorn
.
give me code for category wised display product in django
Doragonsureiyā
give me code for category wised display product in django
We're not here to do your job for you.
This group is to help you on specific issues you have in YOUR code, so you have to show the code you wrote by yourself and explain where and why you are stuck... as simple as that. 🤷🏻♂️
ERMIA
The Inspired
V
I have get error when I send message to another , I get connection refused error, if someone sort out this issues
Danny
Hello good morning, I have a query: I have a complete website made with django, which includes the possibility of registering and entering a user area, and I have another project also made in djago for a social network. The question I have is... how could these two projects be combined? So that when the user registers and enters with his login, instead of the user's page, the web takes him to the social network Theoretically is it possible? If someone can explain to me in theory how it should be done
<\Hany>
Katerina
The Inspired
The Inspired
usually the reason is there
Ahmad
Code:
class Profile(models.Model):
...........
............
............
photo = models.ImageField(upload_to=user_directory_path, null=True, blank=True)
..................
.......
I specify null=True and blank=True.
But it is still giving me ( the 'photo' attribute has no file associated with it)
I don't have custom forms for it.
Kindly if someone knows then help me.
Thanks in advance.😇
ERMIA
José Jorge
Hi, how I Can install PostgreSQL in a VPS with Ubuntu in A2 Hosting. I received this error: The server must be started under an unprivileged user ID to prevent
possible system security compromise. See the documentation for
more information on how to properly start the server.
Doragonsureiyā
José Jorge
Federico
What is the right way to reset every migration? Even losing all the data
Federico
I'm having a lot of problems with those
Charly
Federico
Charly
Why not?
Because losing all the data is not something ytou want to do in a production environmente and migrations are supossed to run there
Federico
Charly
Federico
Anyway sorry I have another question... What is the correct way to extend auth_user data?
Muflone
Muflone
Mitsubishi
Good evening, there is no link to the formset solution on creating 3 FK models
Type Test - Questions - Answers
It doesn't work, I wanted to see what solutions there are)
Federico
Charly
Charly
Federico
Muflone
Federico
Correct
AttributeError: type object 'GymUser' has no attribute 'USERNAME_FIELD'
Why this?
Charly
Federico
Muflone
Charly
Federico
Oh no sorry I solved, I just had to estend AbstractUser and not AbstractBaseUser 🙏
Federico
Federico
I've tried and it doesn't create any custom User class:
class GymUser(AbstractUser):
pass
( I have added no fields for now but basically this is the code )
Muflone
Federico
Federico
Sorry, I meant it doesn't create any table of my custom class.
No migration is created
Muflone
Muflone
Add some fields and run migrations
Muflone
Where's your code?
Federico
Muflone
Federico
MyApp -> MyApp -> models.py
Muflone
Show the code