saran
saran
Invalid form data ?
null
Anonymous
Hii
Anonymous
I stuck in my project,so can anyone help me, here I'm unable ot not allowtto send photos
Anonymous
Kindly Reply me so I can DM you personally my error
cj
▀▄▀▄▀▄___🅃🅁🄼__▀▄▀▄▀▄
Any good resource to start with django book preferably
cj
Tushar
I am getting an error while trying to use cryspy forms
It's saying
TemplateDoesNotExist at /emp/
bootstrap4/field.html
Игорь
People kind, please help me, I can't understand at all. I set up a django project, ready-made, setting up the environment, testing the project, everything is cool.
Then I install daphne, configure it, try to run it and see this problem:
(flatinn_env) [user@box-725864 ~]$ sudo systemctl status gunicorn
● gunicorn.service - gunicorn daemon
Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-03-02 09:33:11 MSK; 21s ago
Process: 4735 ExecStart=/home/user/project/flatinn_env/bin/gunicorn --workers 3 --bind unix:/home/user/project/flatinn/core.sock core.wsgi:application (code=exited, status=203/EXEC)
Main PID: 4735 (code=exited, status=203/EXEC)
From the logs and the error code, I understood that I simply do not have core.sock in the project folder. I googled that it should be created when the project is first launched, but why it is not there.... Can you tell me why this can be and what settings depend on it?
donc3
Hi all, I'm new in Django, I have written an app and I want to serve it with gunicorn + Apache. If I configure static and media folders in Apache and Django as /static and /media works fine. But if I do it in /test/media , /test/static the files can't be found. Can anyone help me?
Akash
You have any idea how to deploy django project with help of docker
Artyom
donc3
donc3
And media files with an alias in Apache
SantiU
is there any way to make the images sent by rest framework api have smaller size?
SantiU
but that url returns a 1mb image, and it is very heavy.
cj
Anonymous
capt. Levi
Does anyone has knowledge about knox token
capt. Levi
Generation
capt. Levi
I m not able to generate token when user register himself
capt. Levi
It throws error
capt. Levi
"authtoken.user" must be a "user" instance.
Hello everyone
How can I logout user with JWT without using simplejwt blacklist?
capt. Levi
virat kohli
How to add server logs into database in django
Can anyone give me proper example and code
virat kohli
virat kohli
Anyone part from this
RAG
Any best resource to learn Django
Doragonsureiyā
Any best resource to learn Django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
enansi
How?
I want to logout user without using blacklist
If you have very short-lived JWT tokens, and then on the endpoint you use to issue a refresh token, you just have some functionality/middleware that checks which user is requesting a REFRESH token and you either issue one or don't based on some flag on the User object (like is_active = True/False)
Vasea
Hi Guys,
Can sombody help me with an advice.
I have a django project with mysql database which is containing users and user data like firstname and lastname are rendered in template.
The problems is when i add a new user in database or delete it (from django-admin) and i reload the page to see that user is added in template
it is not added and not deleted until i restart server, i use Django version 4.1.7
Thanks in advance!!!
Ilgiz
Is it a good solution to use celery to zip videofiles/extract audio from video?
Soumyadeep
i can't migrate my app using Django.the error they are showing is " argspec = inspect.getargspec(receiver)
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?" what should i do now?? Thanks in advance
Aryas
Hi there. I have deployed a django+React project on "pythonanywhere" but it doesn't render the project even without an error. Could you help me with that, please?
Baba
Hi, my static files are not showing during production.
Pls help
Thanks
Maxim
0x01
Baba
Yeah, it thrown me an error "function not implemented"
Мark
Is it possible to host django app on 4host?
Rajeev
Can django handle 50000 transaction parallel at the same time
Игорь
Can django handle 50000 transaction parallel at the same time
Yes, Django is capable of handling large numbers of transactions in parallel. However, it is important to note that the actual performance of the system will depend on the underlying hardware, software, and network infrastructure. Additionally, it is important to consider the scalability of the application, as the number of requests increases.
Rajeev
Yazan
how can i don't let anyone to access the django api links in the browser?
Yazan
like kinda "lock" it
null
cj
FOR YOU
hi! Maybe you can help me with upload files.. I want serialize FileField from request, receive FileField from validated_data, but dont save in model (this column(FileField) doesnt exist in model), only read data from file. How can i do this?
Someone
like kinda "lock" it
You can't do much about it, but that's why we have authentication and authorization systems. They can open the url in the browser, but can't do much with it.
Yazan
another question
in admin panel:
I have:
country model
material model
subject model
it's one to many "foreign
key" from top to bottom
for example if I have 2 materials same name but different parent "country"
in subject when I want to choose a material how to know what is the parent without re open the parent once more
FOR YOU
Meme
R
Anyone knows how to add the phone number field to the django default table
Christo
from phonenumber_field.modelfields import PhoneNumberField
class Client(models.Model, Importable):
phone = PhoneNumberField(null=False, blank=False, unique=True)
Ilgiz
Can someone help with django celery? Is it ok to have a celery task which add files to zip or delete them? Is there good practices to look for?
Chayeb
Mazin
Why should i use django over other technologies?
Maxim
Mazin
Doragonsureiyā
Thanks😃
¯\_(ツ)_/¯