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
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.
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 ?
cj
should i learn CBV first or rest framework ?
whichever you want ¯\_(ツ)_/¯ one is not a blocker for the another
Артём
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.
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
Charly
hello, after installing Django to my host, i get error: 500 Internal Server Error I'm beginner, maybe you know where might be mistake
Well, installing Django would not generate any error like that, that's because of the setup you did with your webserver and app server
Charly
thank you, I'll ask this question to technical support
I mean did you configured the webserver?
h
djano.db.utils.IntegrityError: UNIQUE constraint failed: please help me to fix it 🥲
Mirco
djano.db.utils.IntegrityError: UNIQUE constraint failed: please help me to fix it 🥲
The error explains itself You have a unique statement on a field and the record with that value is already inside the db
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
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
hello to everyone how i can use requirments from github django project to my project?
What? why would you use other migrations different that your project ones?
Ромко
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??
Ромко
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
Doragonsureiyā
Why when I create a new application in Django with docker-compose I don't have permissions to create new files or edit?
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Alejandro Alomia
I think the problem is with docker-compose
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
Doragonsureiyā
When creating a new one with startapp it is created successfully but when editing a file I have to do it with sudo
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
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?
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
Raj
no, for making a active user after registering
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.
τηεງυς
can anyone help me I am trying to host a django app to railway and couldn't understand how to configure variable in railway
τηεງυς
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
Why when I create a new application in Django with docker-compose I don't have permissions to create new files or edit?
Hey, same for me about 2 weeks ago And I solved it with adding: user=1000:1000 in docker-compose web service which I used to run my project
IM~Exynos
https://linkode.org/#hAxPdO0fXE6IA671mtYBR5 Try this Is that what you are doing?
Syntax error: expression cannot assignment, perhaps you meant "=="?
IM~Exynos
https://linkode.org/#hAxPdO0fXE6IA671mtYBR5 Try this Is that what you are doing?
Double == gives attribute error bool object has no attribute 'split'