George
Anonymous
Ohk sorry
Anonymous
Hello guys am new to django and I am trying to configure sent mail but I get this error. TypeError: send_mail() got multiple values for arguments 'fail_silently'. Please can someone help me with it
Mirco
Share your code, it's easier to help u
Use tool like pastebin
Mahdi
I have a student database want to connect it to django, should i create seperate models?
Maz
George
Maz
Anders (izzno / gooood) 🇳🇴
I just discovered django-import-export 😁
Rajjix
Anders (izzno / gooood) 🇳🇴
.xlsx crashes with newer versions
Rajjix
Anders (izzno / gooood) 🇳🇴
Does anyone have some advice as to reffering to the same serializer in django-rest-api. I am adding a related "products" field and I want to nest the serializer. The only problem is that in python you can not reffer to the same class in the class.
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
Thanks
Anders (izzno / gooood) 🇳🇴
;)
Rajjix
product of a product ?
Anonymous
What do you recommend to study? I'm lost just with the documentation. I want to use class-based views for authentication, but I want to use my own templates and use my custom form with "attrs" to style with classes.
Rajjix
just add template_name =‘your_template.html’ under every class based view and voila you have your own templates
Rajjix
and i would suggest just to use the templates for customization instead of adding widgets in the form because you’re gonna need more than a class name for optimization anyway, use the forms for validation purposes
Karthik
Anyone have "Django 2 by examples" pdf
Anonymous
Денис
is it good to share it here? I will
Денис
but I'd rather prefer EPUB, as all PDF files I've seen are just converted from it, and code is corrupted (missed linewraps) sometimes.
Karthik
Tysm
Anonymous
Danil
hey there guys
Danil
got this error
Danil
'NoneType' object has no attribute 'delay'
Danil
when run task via admin
Danil
using django_celery_beat
Mirco
celery ?
Danil
yeah
Mirco
mmm share your code
Danil
that's my task
Danil
that's my celery
Danil
soooo
Danil
i can't run task
Danil
idk why
Mirco
next times share your code with tool like pastebin instead of screenshots pls
Danil
Mirco
but where do you call your task with delay ?
Danil
i want to set it as periodical
Danil
in my django admin
Mirco
ook
Mirco
https://stackoverflow.com/questions/33771451/celery-attributeerror-nonetype-object-has-no-attribute-delay
this one could help ya
Danil
oh yeah, i have and idea now
Mirco
good!
ʚɞÇherry Łoveʚɞ
Danil
celery-beat ?
it's okay now. but have some problems with imports
Anders (izzno / gooood) 🇳🇴
product of a product ?
A model that has a many to many field for other objects of the same model. Then I wanted to serialize the same model twice in one serializer, so to speak.
DevilAstra
Guys
DevilAstra
Django-payment documentation is not helpful any other suggestions?
DevilAstra
Can someone help me with django payments, in detail.Please?
DevilAstra
Payments
DevilAstra
In general
Anonymous
Anyone know How can I prepopulate a field of modelformset with a objects of my model, I have a forenkey field in my model and I want use this for prepopulate the field. Thankyou for your help
Luis
Luis
Luis
Hi guys! I'm trying to compare user stored password and make_password but it differs
Mirco
Mirco
Luis
Ok, I'll check this later... thanks for your time @iFlare3G
Mirco
Yw 😀
Anders (izzno / gooood) 🇳🇴
Jimmies San
@PieroRam no spam.
Kairat
Hello guys, I'm noob in Django. I have trouble with deploying Django on server with gunicorn + nginx. The problem in loading css files. It says "Not found"
Kairat
I have already googled, and tried many solutions from stackoverflow, still error
Денис
I'm not into gunicorn, and the only thing I guess is that you either didn't configure static in nginx config or didn't run collectstatic
Денис
seems to be alright
Akshay
Akshay
Follow the tutorial.
Kairat