Rajjix
No
Ty for the helpful no’s xd
Anonymous
Hello guys!
Mirco
Jimmies San
english only. thanks
Rasta
OK wait
Rasta
Please help me solve this. An Apple merchant offers this to his customers. * from 10 to 20 apples, unit price = 100f* * from 21 to 30 apples, unit price = 75f* * from the 31st, the unit price=50f*. Write the javascript code that reads the number of apples purchased and displays the price.
Jimmies San
what's your issue? share the code you did.
Rasta
I want help to solve this homework
Jimmies San
yes but help is "i do this, i try this but nothing works" not "write code for me" :)
Jimmies San
are you serious? 😂😂😂
Rasta
Yes too
Jimmies San
why you study programming if you don't want learn ?
Jimmies San
change hobby.
Jimmies San
"i have this homework programming: i didn't try to solve this but i want a solution from you".
Rasta
But this problem is for now
Jimmies San
and start to learn from this problem
Jimmies San
take your problem, break up in little pieces
Jimmies San
and solve pieces
Jimmies San
then put together
Jimmies San
this problem is really easy: try to read slowly and try to write pseudo code
Jimmies San
not code: pseudo code.
Jimmies San
just put logic inside this pseudo code
Rasta
Pls help me
Jimmies San
i'm helping you
Rasta
I need this JS code now
Jimmies San
i ban you, bye
Rasta
No
Jimmies San
if you want the code, without explanation, you can pay for it [not me. find someone]
Jimmies San
if you want understand how you can solve your problem by yourself: i'm here.
Rasta
Are u there ?
Jimmies San
and start to learn from this problem
read again from here: and write pseudo code. this is the first step of my help.
Rasta
Which is algorithm of this problem ?
Adonis
Hi there
Adonis
Please I am experiencing a weird problem with Django,
Adonis
My app is in prod with nginx as reverse proxy + ssl + gunicorn
Adonis
But csrf verification is failing on the whole app.
Adonis
Does anyone have any idea of why ?? Pleeeaaassseee
Jimmies San
But csrf verification is failing on the whole app.
include {% csrf_token %} inside the form tag in the template
Jimmies San
Adonis
The app is zo working fine if dev mode whitout SSL
None
The app is zo working fine if dev mode whitout SSL
Your forms don’t work correctly and get you csrf error with debug true ?
Adonis
Nope
Adonis
When debug is true the app is working fine but when I turn debug to false it stop working
Adonis
It does that only in prod
None
Without ssl does it work ok?
Adonis
Yep
None
Yep
Maybe your ngnix config has something wrong
Jimmies San
When debug is true the app is working fine but when I turn debug to false it stop working
https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
Anonymous
my password reset form not rendering my templates but admin templates rather
Anonymous
please help
Anonymous
path('password_reset/', auth_views.password_reset,{ 'email_template_name':'accounts/password_reset_email.html', 'subject_template_name':'accounts/password_reset_subject.txt', 'post_reset_redirect':'accounts:password_reset_done', 'from_email':'accounts@django.com' },name='password_reset'
Rajjix
That way it will override the ones implemented in django
Bhupesh
Hey guys can someone share some tutorials for django
Mirco
Hey guys can someone share some tutorials for django
Read the pinned message You'll find a link to some resources to start with Django
Bhupesh
Read the pinned message You'll find a link to some resources to start with Django
I am already a beginner but , facing learning issues with templates in django , Is there any complete guide for it
Combot
Bhupesh Varshney (0) has increased reputation of Mirco (3)
Mirco
👍
Here you can find other examples https://djangobook.com/django-templates/
Anonymous
Hello guys I have questions , can i do front-end with python?
Anonymous
be more specific
Anonymous
Yes
Which framework?
cj
Which framework?
Depends what kind of front-end
cj
You have pyside2, kivy, brython
Anonymous
Thanks👍
Maz
Rasta
Hi here