Rajan
What is best web server for development
Rajan
Django
Rajan
Thank you
Anonymous
I recently started learning Django / Python. My First Code to create a User Sing in Page is giving an error and need help to understand where I am going wrong. See Error using the following link https://dpaste.com/4XNQX8BGW
Ariel
Pytest with Django?
Anonymous
Pytest with Django?
I will try this. thanks
Ejas
https://pypi.org/project/django-easy-paginate/
Anonymous
gunicorn + nginx
Using docker
Nateq
Hey everyone, finally done with Blog website after completing Corey Schafer course, what should be my next project?
Ariel
I'm working with pickle to get cookies. Is it better to store it as a django Binary Field or as a File Field?
Shubham
hey everyone , i deployed a project on heroku and i cant turn debub = false , it shows server error 500 , this error goes away when i add '/' behind every static file url but then it does not serve static files . Please help
Rangubha
Anyone can help me for makemigration
Rangubha
django.db.utils.OperationalError:FATAL: password authentication failed for user "postgre"
Nateq
Get some clients and work for them
from where i can get clients?
Aneesh
How to convert a model object to json
Aneesh
Please help
Future
hi there has anyone ever applied repository pattern with django application? i'm willing to make a repository class, and some concepts say that it should not return QuerySet or something like that which gives access to modify objects on database. would it be better if we return objects as class objects or just dict objects? any kind of thughts, ideas are welcome and appreciated )
Syanty
How to convert a model object to json
Are u using Django rest api??
Aneesh
Yp django
Aneesh
It shows the object type model is not json serializable
Aneesh
I have tried json.dumps also
Aneesh
It s also not working
Future
It shows the object type model is not json serializable
find that field which is causing the error and convert it into one of these: string, integer, None, list, bool
Future
that might be datetime or date field
Dan
It s also not working
Use django Rest framework, make a Serializer and everythg gonna be allright😜
Aneesh
Yp.bro it's not working .iam trapped🤣
Sweetie
Anyone using djstripe in their project? I am stuck at the payment view setup, the docs does not have enough details. It's unclear where to add plan_id and customer id while creating payment_intent
Dan
Hmm, every field I made serializes as I see in my study project. Try "Django for API" book, there everything is clear for understoodying
Aneesh
Issue is that this project is done by another person .I have to do the rest of the pjt.to do nxt task I want to convert that data comming from the class api get_object to json .bt I don't know why that is not possible for me.
Dan
Oh, man, I didnt make serialization via functions only via drf. So cant help you with it :(
Anonymous
hello, how can I share my open source django project with community?
Anonymous
hi I have a open source project about using single file components like .vue or .jsx in django template system(every html page gets rendered twice, first in server side with django then in client side with vue.js or react.js) I would appreciate it if you check it out. https://github.com/usefss/django-packer
Shekhar
Show me your code
Actually I am not able to install pandas and openpyxl libraries in django. It is giving me an attribute error _ _ name __ error
Anonymous
How to efficiently use tailwindcss with django templates ?
Anonymous
efficient in the sense, without having to fight both framework setups
Armstrong
Please how can I use pure vanilla JavaScript Ajax for a Bootstrap modal to submit a form. Please I'm using class-based views..e.g createview for submitting the form but I want it to be a bootstrap modal
KP
Can we do data visualization in django
KP
If anyone aware about it pls DM me I need help
Fe{iron}
How can we know the duration of online of any user in django?
Adonis
HI everyone. Is there a way to add database to django application at runtime ? Even with a trick or something
Adonis
i am in a case of a multi tenant application with AWS
Mirkənan
[URGENT] is heroku postgres — eu amazon server down??
Rohan
HI everyone. Is there a way to add database to django application at runtime ? Even with a trick or something
Yes, use mysql connector and pass credentials to create a connection in the view itself
Adonis
Yes, use mysql connector and pass credentials to create a connection in the view itself
humm good point also... but as i will have to make query to that db in a lot of place how can i shre connection informations ?
Adonis
can i store it into the main db and retrieve them via a middlewre which will alter the db connection per request ?
Anonymous
i have a strange problem. when i use modle viewset my serializer returns data for image with url with host name
Anonymous
but when i call the serializer manually and pass instance i get only path name
Rohan
You can connect to multiple DBs at once
Adonis
Why? Just do that in main settings
no i mean creating a new DB at runtime... i am in a SaaS application where new customer have new db (for strict data isolation)
Shubham
hey everyone , i deployed a project on heroku and i cant turn debub = false , it shows server error 500 , this error goes away when i add '/' behind every static file url but then it does not serve static files . Please help
Ujjwal
Someone plz suggest good advanced projects of django where I am able to use my ml knowledge as well . Plz dm me if u have
Ram
How to integrate paytm payment gateway in django ?
Anonymous
Just settings ?
yup share it here https://dpaste.org/
Shubham
Shubham
i deployed a project on heroku and i cant turn debub = false , it shows server error 500 , this error goes away when i add '/' behind every static file url but then it does not serve static files . Please help
Anonymous
Hey Django Courses?
Anonymous
Hi any body having pdf of "build a website with Django 3 by Nigel George "
R
Hi anyone deployed on pythonanywhere here ..need help please ...
Shubham
Did u check the ALLOWED_HOST entry ?
Yes ALLOWED_HOSTS = ["kapurthalanews.herokuapp.com","localhost", "kapurthalanews.in"] ​
Anonymous
Nah course's man
R
Yes ALLOWED_HOSTS = ["kapurthalanews.herokuapp.com","localhost", "kapurthalanews.in"] ​
Check ur wsgi.py ,manage.py the key DJANGO_SETTINGS_MODULE should be pointed to the right settings file
R
Cool bro