bahaa eddine
when I try to store data from a form it give me server error 500
bahaa eddine
with debug=false
Anonymous
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Anonymous
try this
utkarsh
bahaa eddine
no I want to deploy it
bahaa eddine
utkarsh
Michael
I want to change my Dyno from free to hobby ok heroku but I'm not being promoted to pay ...when I select hobby its just being selected without me paying or so
I'm confused can someone help me out
Rahul
Can you help me sir, what is difference between int and int() in python
Rahul
Because map(int,input(). split()) is right but map(int() ,input(). split()) is wrong but map() always except one argument function
Rahul
Then why wrong int() help me
Luis
Rahul map(func, *iterables) int is a function and int() is a call to a function. Not the same thing.
Any doubt, please refer to python docs. This is not Django related.
cj
Peter
What is this.?
This is a python tutorial site, all videos are paid, but it having a great content.. site : realpython.com
Rajesh
Rajesh
Then why wrong int() help me
i think int() is casting function and here we need to to pass parameter. But int is function address. So int is correct
Rajesh
Rajesh
Michael
Can someone please guide me on how to install an SSL certificate on heroku
OUHBOY
@Anonymous0M have you tried googling first?
Anonymous
Can anyone tell me
Anonymous
Why I am facing key errors
Anonymous
KeyError at /landingpage
'first_name'
Request Method: POST
Request URL: http://localhost:8000/landingpage
Django Version: 3.0.7
Exception Type: KeyError
Exception Value:
'first_name'
Exception Location: /home/santanu/.local/share/virtualenvs/Employee-yK2ifdlO/lib/python3.8/site-packages/django/contrib/sessions/backends/base.py in getitem, line 64
Python Executable: /home/santanu/.local/share/virtualenvs/Employee-yK2ifdlO/bin/python
Python Version: 3.8.3
Python Path:
['/home/santanu/Desktop/Employee/employee',
'/usr/lib/python38.zip',
'/usr/lib/python3.8',
'/usr/lib/python3.8/lib-dynload',
'/home/santanu/.local/share/virtualenvs/Employee-yK2ifdlO/lib/python3.8/site-packages']
Server time: Wed, 1 Jul 2020 09:21:23 +0530
Anonymous
I am trying to render a html page to pdf
Anonymous
but first i need to make that html page dynamic
Michael
@Anonymous0M have you tried googling first?
Yes ....I've not been able to understand it perfectly
And what's confusing me is that my heroku account when I choose the hobby dynos it's not providing space to pay its just selected
Anonymous
this is my django views.py
Gk
Fail to push some refs to
Anonymous
Can I inbox you?
Gk
M getting this error while using gir new to it can anyone help
Anonymous
Q.L django
Gk
Yes
Gk
Git*
Nirupam
What does this error means, has no attribute 'get _extra_actions'
Frank Florentino 🇵🇪
I have a error with django and google cloud storage
Frank Florentino 🇵🇪
Yi app not set url path credentials
Frank Florentino 🇵🇪
When run django . Show me cant find dile credentials but in default path moto
Pankaj
Guys I want to make an e-commerce site on django
Pankaj
Suggest me some tips
Pankaj
And your opinion
Pankaj
Bunty chhatri wala..
Pankaj
Bral Bral
Guys, i want set default value in my model like : month = models.DateField(default=timezone.datetime.now().replace(day=1)). But calling now() is wrong because is a time of server start. And right way is using now instead now() . But it gives me error like : 'builtin_function_or_method' object has no attribute 'replace'. Is there easiest way get toStartOfMonth from django.utils.timezone.now ?
Maxim
Bral Bral
Roman
Hi guys, how can I run method on the first save in mode? I want to add slug based on my titlte but if title changes slug remains the same, how can I do so ?
Maxim
Roman
That's my question
Maxim
cj
Maxim
dont forget to call original save()
Anonymous
Guys how to insert date in sql through python code
Anonymous
String format work if converted into string?
Mirco
Mirco
If not move the question to @python
Anonymous
Oh thanks
Rajesh
Anonymous
Did you solved?
You are a visionary you should have got it solved.😜. Don't take offense
Rajesh
Anonymous
Best resources to learn django for beginnrrs any help pls
Maxim
Anonymous
Anonymous
As i am a beginner and its tough for me to read and learn once i get the basic done that i can start the documentataion
Maxim
Learning is always difficult. if you do not want to read, who can make you write code?
Anonymous
Ojas
Documentation and articles are the best thing to learn stuff from :)
Ojas
If u know programing basics
Gk
Why font awesome icon just loading in Django template
Vikas Singh
Vikas Singh
i am new in djnango how i expert in python django
Vikas Singh
please guide me
Ghorz
i am new in djnango how i expert in python django
Many a person post meta questions here. I believe you all should first ask yourself which area to focus on, then Google about it, start working on something. Only ask a question here when stuck in code related issues.
Vikas Singh
okay
Gk