Shubham
What is best or easiest way to extend or customise the User model if I just want to add one extra field to it.?
Austin
Shubham
Ghorz
Yan
Hello! I'm trying to do an automatic action for Django but the cron does not execute the script. I try The cron creating a task that adds a line every 2min in a .txt and works, but does not run "python manage.py runcrons" and I do not see a log to know what the error is. Any ideas? Am I missing something? Permissions for The cron? Needless to say, I'm using an image of pyrhon3 in docker
George
Yan
hi george you are duplicated!!
Yan
Jajajaja
George
cj
¯\_(ツ)_/¯
Anonymous
how to create update profile django rest API with method based view and class based serializer
Rajjix
A function is not a method if it’s not part of a class or an object, and why would you want to trouble urself with that, if rest-framework already provides you with a cb update view, all you need to do is read some source and understand which methods you need to override in that class to serve your purpose.
Rajjix
That said rest_framework also provides you with an api_view decorator if you insist on using function based views
수경
hi i have a question. when i run python shell and import models, there is an error:
"django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings."
What is DJANGO_SETTINGS_MODULE?
Arulmurugan
Rajjix
It’s settings.py in main dir
Ghorz
Maz
Maz
Anonymous
Please guys, how do I upload and serve media files on gcloud with django, the documentation is out of point
Rajjix
U ought to check the django-storage library it’s actually highly recommended for any production-grade django
Anonymous
Checked but I don't understand it, it's not working, kindly send a code snippet or nice article
Rajjix
I’m literally currently reading an article about lists in python, what do you expect from me 😁
Rajjix
I suggest checking the docs before reading any other article it’s almost always more useful than small case use article, good luck 🍀👍
Narek
Could you please help me resolved this issue . Django no 'access-control-allow-origin' header is present on the requested resource
Mirco
Needs CORS imho
https://github.com/ottoyiu/django-cors-headers/blob/master/README.rst
Narek
Thanks a lot
Anonymous
Hey guys, I am getting an error No reverse match found, while I am trying to submit my form via a post request. I googled why it occurs but could not infer the reason in my case. These are my code snippets
Anonymous
https://dpaste.de/iiq6
https://dpaste.de/fCxx
https://dpaste.de/snL6
Shubham
Hello guys I am getting the object has no attribute 'cleaned_data' as I already validate the form
cj
also please don't post photos of screen, use a proper code sharing service like hastebin, pastebin, etc
Shubham
Shubham
ibrahim süren
Hello, in django rest framework, i need to post "question_id" and "question_answer" to view and i need to get answer is it the true answer or not. So, what generic view i should use? How can i do that?
cj
Kamran
Hello everyone can I use hostagor for django?
Kamran
Yes they support it
Kamran
But VPS is better?
cj
Kamran
Thanks !
Amit
If form.save() is store in form variable that reason generate error
Amit
Where to use django site(not consider pythonanywhere)
Shubham
Mirco
Anonymous
Is there any way to perform demonization on herokuapp to run celery as daemon task ? ( I mean go get the root privileges)
Max
Eu
Hello guys
Eu
Would ask you a precise thing
Eu
How would you build an advices web site using django?
Eu
I know is plenty of frmework about a lot of aspect of web developing like blog, forums, etc but what about advices sites
Eu
Tell me if you need sites exemplars
Rajjix
are you asking for help or offering help?
Rajjix
Tell me if you need sites exemplars
Austin
hey guys any packages for dealing with spam email subscriptions? I just made my own blacklister, but wondering if there are any packages people suggest
Austin
here's a gist if people are interested:
https://gist.github.com/DoomPatrol/6e0608b333a271d9d76fa650516db3f9
Rajjix
email hunter is good as well
Rajjix
it’s a service not a package though
Austin
oh, this is more for anti-spam. I was getting spammers signing up for my email list it was weird
Rajjix
well it helps you validate spam email addresses, just hook it up with subscription form, if that’s what you are looking for 🤷♂️
Anonymous
can any one send me django ecommerce site tutorials
Eu
Eu
Has anyone worked with it?
Rajjix
Well for one it’s called a consultation website if i understood you correctly.
Eu
I meant doing like a house selling advices web site, (or whatever advice site) in django
Anonymous
Eu
Probably the way is using forum models
Anonymous
Anders (izzno / gooood) 🇳🇴
https://django-mysql.readthedocs.io/en/latest/
Anyone used / have experiance with this? (Would you use it in production?)
I am perticulary interested in the JsonFields, but...
It seems like it has many NiceToHave features.
Anders (izzno / gooood) 🇳🇴