George
Ohk thanks i will look into that more online i guess
you should do that before asking stupid questions
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?
George
😂 calm down bruh
I hate people, 😂
Anders (izzno / gooood) 🇳🇴
I just discovered django-import-export 😁
Rajjix
I just discovered django-import-export 😁
I’m reading about it just now 😂
Anders (izzno / gooood) 🇳🇴
I’m reading about it just now 😂
oh, free tip! "openpyxl>=2.4,<2.5"
Anders (izzno / gooood) 🇳🇴
.xlsx crashes with newer versions
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) 🇳🇴
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
Anonymous
is it good to share it here? I will
Yes, or you can send it to us personally
Денис
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
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
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?
Maz
Can someone help me with django payments, in detail.Please?
Django-payments the app or just payments in django in general?
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
Hi guys! I'm trying to compare user stored password and make_password but it differs
Luis
Why don't use check_password ?
Password must be plain-text... I'm using token, and don't want plain password if anyone b64decode my token
Luis
Ok, I'll check this later... thanks for your time @iFlare3G
Mirco
Yw 😀
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
Kairat
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
I have run collectstatic, my nginx file is server { listen 8000; server_name xxx.xxx.xxx.xxx; location = /favicon.ico { access_log off; log_not_found off; } access_log /nginx-access.log; error_log /nginx-error.log; location /static/ { alias /dinibot/diniadmin/static/; } location / { include proxy_params; proxy_pass http://unix:/dinibot/diniadmin/diniadmin.sock; } }
Денис
seems to be alright
Akshay
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"
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
Akshay
Follow the tutorial.
Ronald
Fixed, just removed guinocorn
gunicorn should run as a service