Pasha
please tell me what i am doing wrong
Pasha
sorry
Pasha
im done))
SUSHANT
Create static file first in settings
SUSHANT
And then choose path
Mohammad
Hi can someone explain the serializers and also signals in django?
Daniil
there are tons of great material, just google smth like "django signals explained" - usually first 3 links will do the work
Alda
None
I have created a permission group which have permissions to view and change model 'vehicles'. I have add a user 'aduser' to the group. There is a class view to list all the record in 'vehicles' which inherits PermissionRequiredMixin and I have set the permission_required variable to 'Vehicle.view_vehicle'. When I login as 'aduser' to the admin panel Iam able to change and view the records, But when in the view it says 403 forbidden. Can anyone help me with this issue
Aman
Hi, i want to implement a logic where I need to give user access of different features on basis of selected plan. Someone please help me with this.
xyz
Sofia
'bool' object has no attribute '_meta'. This error occurs in put request . who know why?
Rahat
I think you need to use celery in your case.
Mohamed
should i learn CBV first or rest framework ?
Mohamed
None
Артём
Hey, guys, I have a problem. Django doesn’t show any errors, but in the same time it doesn’t add or remove users, who pressed follow/unfollow buttons to the DB. Seems like add() amd remove() methods doesn’t work in my code. How can I fox it? Help me please.
http://linkode.org/#HkfM6pG35YclVyT2TIQ4X3
Milton
Hi guys I’m suffering to install and activate venv to create a new project.
Kindly can you support, how can I run?
IT is my first coding with Django.
Артём
Milton
Sofia
Hi, I wanna use user.id in custom middleware in process_view but request.user.id don't referesh. how I can fix it?
_luca_a___
connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
_luca_a___
i got this error while deploying into aws
_luca_a___
in my computer it works fine
_luca_a___
what to do?
Timur
hello, after installing Django to my host, i get error:
500 Internal Server Error
I'm beginner, maybe you know where might be mistake
Timur
Charly
h
djano.db.utils.IntegrityError: UNIQUE constraint failed:
please help me to fix it 🥲
h
Mirco
then how can i solve it..?
Don't try to save a record with the same value that is unique
Without seeing the code or the right traceback, it's hard to help u
h
Timur
sahajah
yo
sahajah
what’s up
sahajah
i’m newbie with Django, i’ve done a Blog, i tried to redirect the blog on the subdomain blog.domain.com but i got a 502 Bad Gateway, could someone help me please?
sahajah
i’m using a VPS and nginx
Ромко
hello to everyone
how i can use requirments from github django project to my project?
Charly
Ромко
Charly
Ромко
like:iniconfig==1.1.1
packaging==21.0
Pillow==8.3.2
pluggy==1.0.0
py==1.10.0
Ромко
What?
or i need to install all this??
Charly
Ромко
xd
Charly
I mean you haven't shared any context
Ромко
goodluck
Charly
So its impossible to know if you NEED it
Charly
goodluck
You are going to need it ¯\_(ツ)_/¯
Alejandro Alomia
Why when I create a new application in Django with docker-compose I don't have permissions to create new files or edit?
Charly
Alejandro Alomia
I think the problem is with docker-compose
Charly
Alejandro Alomia
When creating a new one with startapp it is created successfully but when editing a file I have to do it with sudo
Alejandro Alomia
I think the problem is with the Volume in docker but I can't find a clear solution I have tried to give it permissions with chmod but it works.
Alejandro Alomia
I have a question about working in Django with docker. When working with docker-compose is it advisable to create a new app on my local machine or create it directly in the container?
Charly
Alejandro Alomia
sahajah
can someone help me?
When i turn the Debug to False to be able to use a custom 404, all my styles’ll off
Raj
how can i send email for activating user
sahajah
Maxim
Raj
no, for making a active user after registering
sahajah
IM~Exynos
https://linkode.org/#eBg6mJcqQlTFtZR3y9zV71
How to write the function without n+1, it's querying 101times,
How can I write within a query via raw or ArrayAgg
Reposted since deleted on both.
Vaibhav
τηεງυς
can anyone help me I am trying to host a django app to railway and couldn't understand how to configure variable in railway
Vaibhav
τηεງυς
tried documentation can't understand
and no youtube video talks about variable
Osama Been Lagging
Hey I'm sending a <p style:red>example</p> from backend to a table
So i want that particular word to be in red so I'm using safe filter
But now it is executing javascript (vulnerable to xss)
Is there anyway to just executive html and not js
Ali
Osama Been Lagging
IM~Exynos
IM~Exynos