cj
cj
you have to give more context
- what OS
- what python version
- what django version
- what terminal
- are you using virtual environment?
etc...
cj
reading minds is not a well paid job nowadays
Anonymous
ok, sorry :D
Wait, i'll give all info
Anonymous
Windows 10 Pro
python 3.7.3
django 2.1.7
any terminal - cmd, powershell, cmder (bash)
i'm using virtialenv
cj
oh... Windows... well... I can't help you here, I haven't used windows since 2004 🤷♂️ maybe there will be anyone else that can help you 🙂
Himanshu
Anonymous
:D Its up on the company I work..(
Anonymous
i prefer linux
.
Anonymous
Well, I can't do it here for some reasons. But I can try to run project on ubuntu later to figure out is it due to OS
.
Anonymous
good idea, i'll try now
@(*_*)@
hi! Please tell me how to make an "id" with the name of the region. I use the following type of presentation in views.py: sef = Items.objects.values ('codeobj__region'). annotate (used = Count ('region'))
In the "Codeobj" table, the link with "region" looks like "region = models.ForeignKey (Region, ...). How to make it so that the result would output not" id "but the name of the region?🤦♂
Code9
Сергей
when I call serialiser.save() I receive in respnose {"izn_ptd_range":["A valid integer is required."]}, how can I prevent this error? A method validate_izn_ptd_range called only when this field without errors, it`s only idea change this field in put method but error arise befor so that put method not caled.
@(*_*)@
@(*_*)@
representation... used: <QuerySet [{'codeobj__region': 52, 'used': 1} , 52 = id,
instead of id, submit the name
Himanshu
Should I use class based views or function based views? I'm building a blog.
Himanshu
Himanshu
Can anyone give me some good side project list using django
.
Himanshu
opensource?
Anything would work I want to build up something so I can present it in my portfolio
.
.
Himanshu
Thank you
.
Thank you
list of useful links
https://github.com/wsvincent/awesome-django
Anonymous
can anyone send me Django 2.2 doc's pdf
Mirco
Anonymous
pdf
Mirco
Yep
Anonymous
also new update
Mirco
Yup
Anonymous
2.2.1
Mirco
Here u go man
Mirco
You can always find the most recent pdf online
Anonymous
Thanks buddy
Mirco
next time type Django + pdf + docs on your search engine 😊
Anonymous
😅
Shubham
Anyboy who needs affordable web hosting with high performance??
Shubham
hello
Shubham
does anybody know can we automate LinkedIn with python?
Rocky
Rocky
Shubham
okay
Rocky
In python
Anonymous
How to compare two json.gz files in Python
Mirco
Anonymous
Ok
Sencer
Hello,
Sencer
I got a task added to celery with this code block:
sender.add_periodic_task(
crontab(minute=0, hour=10), check_aws_sns_for_bounced_mails.s(),
name='check_aws_sns_for_bounced_mails'
)
But the app is not triggered at shcedule. Code is on remote production server and I don't have access.
Is there any interface make admin to install for watch task status?
inchidi
Sencer
Is celery results backend for logging the task states?
Paul
Hi, can you suggest approve/reject/pending system?
Most of them deprecated and were updated many years ago.
Paul
My problem is: user updated profile. i need to keep previous data on site before admin moderation.
Paul
Prosto
Hello djangers! May be someone knows how to work with dates? I build store and i need 2 dates there - Date of Purchase and EndDate. How to make it - Date of purchase + 1 year(This will be EndDate)? May be there is a way to make it from models?
Juris
google "help python timedelta"
Prosto
Juris
Google is your bro :)
Juris
Prosto
Google - anything will be found, Yandex-anything was never lost
Anonymous
Hi to all,
when I want to work with dictionaryField, its show me this problem
model class djangocontrib content type models content type dosen't declare an explicit app label and isn't an application in installed apps
sravan
In python
You can use iris automation tool which is based on python
sravan
Anonymous
Anonymous
i WANT TO STORE A DICTIONNARY INSIDE TEXTFIELD
Anonymous
is that possible?
Anonymous
dic with more than 1500 character
Anonymous
but when I store this dictionnary its show me a /n and /r betwwn arrays
Anonymous
is that a problem when I want to call the numbers inside this dic