George
inchidi
technically breakpoint() will only check the class instance but not whats inside db right?
inchidi
eh legit point actually, technically when bool(task.id) your data stored in db already
Knight
Knight
inchidi
inchidi
unsafe HTTP operations are requests that will make changes on user data. GET and OPTION operations considered "safe" because it (should be) "read only"
Knight
Shihasz
Shreehari
Im getting this exception when im reloading view in my django proj.
https://del.dog/rettestarr.txt
Shihasz
Shihasz
Anyway it will work
Shreehari
Thank you
Shihasz
inchidi
Anonymous
In Django, How can I allow the user to enter paragraphs of data in TextFields? How can I preserve the whitespace that the user may have entered?
Rendering of textfield and charfield chomps out extra whitespace (Django/Python)
inchidi
Shreehari
S
These are my urls and views files. It is not logging in it is redirectinig to same page. Please help
S
https://pastebin.com/bzSEKaK7
S
https://pastebin.com/jxHCWPvb
Udasi
S
I have logged out. Still it is the same
Vikas
i get an error *Class 'Post' has no Objects member pylint(non-member)*. I have go through some stakoverflow solutions but it didn't work And did changes in my settings.json file And am using VS code editor
isa
https://hastebin.com/vutamixovu.sql
I fetch data from an API and convert a date as str. I write the date but following error occured despite its recorded as str.
for x,y in stat_days_dict.items():
print(x)
if x=="results":
for a in y:
dt=a.get("date")
dt=str(dt[0:4]+"-"+dt[8:10]+"-"+dt[5:7])
print(dt)
print(type(dt))
stat_days_kayit = Statistic_days(
date = dt,
views = a.get("views"),
clicks = a.get("clicks"),
ctr = a.get("ctr"),
ecpc = a.get("ecpc"),
ecpm = a.get("ecpm"),
cr = a.get("cr"),
isa
Anybody help please ?
Rahul
Anyone idea about get file from request and stored in to temprory location..as i am getting like *seek of close file*
Rahul
Help me please
Hernan
in model Statistic_days change:
def str(self):
return self.date
to:
Hernan
def str(self):
return str(self.date)
Hernan
or any string result
isa
oh yes . You are right. Thank you bro :)
Hernan
👍
Anonymous
i try to make sitemap.xml in django
does anybody know what does it mean?
Reveverse not found. Is not a valid view function or pattern name.
shekhar
can anyone help me how to read google fit sleep data
charlie
Anonymous
everything all right
ジェフ・
Anonymous
i have found mistake
charlie
👍
shekhar
Kims
Hello there. Anyone has built a referrals system before? I need some help. I tried pinax-referrals but I'm dead lost
Anonymous
Could anyone tell me from where to start , any resource to follow for Django
Aaditya
Error:manager isn't accessible via judge
Court case management system
Holla
To get alert dialog when button clicked do I need the bootstrap scripts files or the Css files to doest the job
Ghorz
Ghorz
Ghorz
Or you attach an event listener to the button
Anonymous
may i read, line by line, text stored in some variable!? without save it to one file
Ferrum
hello guys
please i need help
been working on this for almost 48 hours
i need to turn the data from .xlsx file to fill the database
here is my views.py
but makemigratoin is not reading a new migration
what am i doing wrong?
Ferrum
https://pastebin.com/2cxVCdWr
Ferrum
https://pastebin.com/5XBcrAEy
models.py
Raffaele
someone can send me a guide to upload my django web app on heroku?
Raffaele
I have the 7$ plan
Lelouch
YouTube dude
Raffaele
thanks
Nematullah
How can i upload the files with non latin alphabet in django on server
Nematullah
for example Фаил.jpeg
Nematullah
🙏
Nematullah
Do you have any example please because i used two hour with this
Nematullah
Mr @GilObradors
Gil
Gil
Are you wishing the filename with this charset at filesystem level? Or you want this filenames to be downloaded for users? You understand me?
Nematullah
for filesystem level
Gil
Charset name?
Nematullah
yes
Nematullah
Before uploading the file i changed its name with urllib.parse.quote(filename)
Nematullah
but the file didnt save
Gil
Charset name?
Gil
For example, this isnt utf-8
Nematullah
russian
Nematullah
but i am try to upload on server