Rupali
👀
RIP
Hello everyone ,I want to know if there is a way to check all users in Django if they are online ( close browser, logout are all consider as offline) every minute ?
Jayashree
Hello
Please help me out with one issue.
When I reboot the ec2 instance, at first the django api responses will be in milliseconds. After a few minutes the response will be in 4 to 5 seconds. How can I solve this.?
zmod
how to deploy django app thru wsgi with apache
..
If u get error*
Maxim
what does the documentation say?
C.
Hi. Im using nginx but authenticate is NOT working
C.
So. You mean there is NO Solutions?
C.
view.py:
C.
nginx.conf:
C.
https://dpaste.org/SVoXj
C.
https://dpaste.org/PFLvv
C.
user = authenticate(username=username,password=password)
C.
I'm able to get user but
C.
after login page redirect to home page but authentication not pass to home page
C.
I saw request.user.is_anonymous is become true
Alex
is Django supposed to generate traceback for permission denied ?
Eliphaz
cj
Daniil
Hello. I pass from views to the template with the player a link to play the video. I added a button under the player, by which I want to open the player code (I created the code manually and wrapped it in a pre tag for normal code display). The problem is that the path of a specific video <source src> is not displayed in the template with the player code. Can anyone advise please?
Kritesh
ℭ𝔞𝔱 𝔬𝔣 𝔅𝔞𝔯
will anyone help me?
Doragonsureiyā
will anyone help me?
To get an answer to your question, it is worth to formulate it more clearly, perhaps add more details, perhaps add explanations.
▄︻デռǟɦօʍ══━一
how can i access client side file and uplod it to django server without user input i will give the path in the code and it will upload it to my server pls help me
Hello everyone
Is it right to create a model object inside the save method of another model?
example:
from app_2.models import Model2
class Model1:
...
def save(self, *args, **kwargs):
Model2.objects.create(**some_data)
super().save(*args, **kwargs)
Doragonsureiyā
.
AISHWARYA
can anyone help me with this issue :
Charly
pregnancy_month needs to have a value and you didnt send it
Charly
pregnancy_month is not the same pregnacy_month
Charly
you cant redirect to an unamed url redirect(' ') makes no sense, you ned to put there a url name or url
Chuks 🐋🐋
Who have built a crypto investment site here??
Help a brother 🤲
Martins
Please I need help on how to start a Django project
Krishna
Hi
I am also need help on django project
Anonymous
Doragonsureiyā
Who have built a crypto investment site here??
Help a brother 🤲
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
Adithya
Hii everyone
Could someone help me in how to generate OTP in django...
Please 🙏🙏
Charly
Adithya
I had tried using TOTP package
Adithya
But I am getting error
null
Adithya
Totp has no attribute 'secret_key' is the error
Adithya
How to share code in this group?
Adithya
ok
Adithya
https://linkode.org/#gv3H6ASakx7YYORj7FbYu
Adithya
please check the code what i have written
Adithya
Error is AttributeError: 'TOTPDevice' object has no attribute 'value'
Adithya
Actually what is the way to generate OTP in django?
Acquaintance
http://linkode.org/#S3z9NB0hX1zoRxuETwHoE2
I'd like to use one procedure to check that field is present and show it
Like.. list all the fields and give it to a procedure to render it without too much the same code
Because I have plenty of sub-tables (m2m) and CharFields
Can you please help me with the syntax, how can I loop this output?
P. S. like loop "for loops"
Charly
Adithya
this is the error
Adithya
AttributeError: 'TOTPDevice' object has no attribute 'secret_key'"
Rutya
Plz tell me how Cities fetch
Rutya
City api
Rutya
In django
Rutya
How create API
Charly
Adithya
Rutya
I have already checked
Rutya
Plz any tell me how create django City api
Rutya
I read