shubham
what is the difference between in writting 'shop' and 'shop.apps.ShopConfig' in django installed apps, also why the first one is prefered?
shubham
anyone if you can explain, pls explain!!!!
Naman
I have made a html table with the help of model, now I want that when I click on a certain row, it executes some function in my views.py, can anybody help?
Maxim
try changing the function name or the orm object name..both are same now, i am thinking its causing error
>>> def test(): ... test = None ... >>> test() >>> test() >>>
ᕼᗩᑕKᗴᖇ
Hello everyone, I am using Django Framework what i want to do is taks few parameters from users and plot a graph from my existing database I am using Plotly Library for plotting graph, the loading is taking time. Is there any Solution to this any alternative or something so that my graphs load fast from my database ?
ᕼᗩᑕKᗴᖇ
Yeah Queries are optimised I the part where plotly comes in takes time to load all data and plot graph
Complex_101
I have created a django website , now I would like to create an Android app using that site . What could be some useful links for connecting react native to django?
Dev
hi , is there a way i can convert "8.7E-7" to lets say "0.00000943" in Django/python
Dev
i will return the same thing
Dev
same
William
i will return the same thing
How did you use it? Share the code
Michael the wolf 🐺
>>> def test(): ... test = None ... >>> test() >>> test() >>>
thats because test variable inside test function is scoped to that function.
Dev
`num = Decimal(amount) output = "{:.8f}".format(num)`
shubham
what is the difference between in writting 'shop' and 'shop.apps.ShopConfig' in django installed apps, also why the first one is prefered? anyone if you can explain, pls explain!!!!
Dev
yeah it was just for eg
Dev
example purpose
Maxim
same
just read about it
ALTER EGO
example purpose
>>> 8.7e-7 8.7e-07 >>> format(8.7e-7, '13.10f') ' 0.0000008700' >>>
Genemator
hi are you from robocontest
William
>>> 8.7e-7 8.7e-07 >>> format(8.7e-7, '13.10f') ' 0.0000008700' >>>
Just by using a float, I'm getting proper results. Why you are not getting the desired result?
Anonymous
How can I implement https in django
Anonymous
Please let me know
Jerome
How can I implement https in django
It's better to define that from your host, but you can do it directly in your app with SECURE_SSL_REDIRECT=True, in settings. Check the official docs for more info
Anonymous
Just django is enough to become advance in django ?
Riswandi
pattern='(^a$|^b$)' am u wrong?
Anonymous
Hello everybody, I'm struggling with this word counter challenge. I'm using django and a FormView and I want to show de result in the same page of the form. Here is my view: class TextView(FormView): form_class = TextForm template_name = "core/index.html" success_url = "/" def form_valid(self, form): text = form.cleaned_data['text'] word_count = word_counter(text) context = self.get_context_data(form=form) context["counter"] = word_count return self.render_to_response(context) But I'm facing some problems, I cant implemente a button to erase the data after submitted. You guys have an ideia?
licensed
hello. can i use property in list_filter from django admin?
licensed
suppose that I have Person model and city property. I would like to can filter by city property in admin
ᕼᗩᑕKᗴᖇ
Hello everyone, I am using Django Framework what i want to do is taks few parameters from users and plot a graph from my existing database I am using Plotly Library for plotting graph, the loading is taking time. Is there any Solution to this any alternative or something so that my graphs load fast from my database ?
Doragonsureiyā
🚫 ‎Joseph [1871888001] is already banned.
Anonymous
I need to deploy my django project as a container in production environment, can anyone provide me the proper steps for it ?
Rohan
There are tons of resources
shashikant
Hello everyone, I have a custom user model ,where there are different user type(host , customer) ,now I want to create a signup api for Host only. someone tell how should I implement this. Thanks
Anonymous
Hi guys. How to update heroku Django project. that is, how to update changes in the project?
Anonymous
Is django good for portfolio
Сидредин
Anshu
but i get error
What's the error in the log
Anonymous
What's the error in the log
now I'm creating new project
Anshu
now I'm creating new project
Ok, anyway u can follow this tutorial https://youtu.be/kBwhtEIXGII
Fer
Hi guys! I'm trying to send jobs to workers of Celery using RabbitMQ as a message broker through a microservices structure (made with django and docker). I'm trying to decouple the containers and not repeating code, but when I try to send a job from other container to celery worker it receives but deletes and ask me if the message destinatary was right (inside celery worker terminal)
Fer
Do you guys have work with this type of issues? Do you recommend using other stuff than celery?
Fer
(I could give more info, but I think is too much for one message 😂)
Fer
Thank you very much!!
Vishvesh
How I find a job for python developer
Fer
Have a look at Django-Q
Thank you!! I'm having a look and seems to suit my needs 😁
Fer
How I find a job for python developer
cs50.harvard.edu/web/2020/ Mix that up with e.g. udemy and build a little app to "sell yourself" to hr
Arun
Guy I have client asking 200 million of data only 5 fields which involves around 30 char each, with Postgresql. And they have experienced issue with existing .Net app which takes quite some time to load the data. is this doable with Python Django ?
Anonymous
Hi guys
Bhashkar
Hi Guys, Could you please tell me why the bellow code not working properly For mobile when the user submit empty then it save Null on database. mobile = models.CharField(max_length=20, unique=True, null=True, default=None, blank=True) But for email same thing not working, it save empty string in data base but i want to save Null email = models.EmailField(unique=True, null=True, default=None, blank=True)
Doragonsureiyā
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Anonymous
Strange question
Why? I want to make a personal website with a blog and my portfolio in it is django good for that when i search i am getting that django is good for making shopping websites
Rudra
I want to take image as input but when it upload it dudnot show on my django admin page
B120034_Mohammad Asim Khan
I'm a beginner and have some error in saving my user to the data base. I have a button on my login page which directs to the signup page. I want to save the details entered in the signup page form to get saved in my database. Here is the repo link https://github.com/wisdomkhan/wisdomkhan-blog
Sagar
if anyone about how to table list partitioning in django restframework
Sagar
if anyone about how to table list partitioning in django restframework
does anyone know about django list partitioning
Sumit
does anyone know about django list partitioning
https://www.youtube.com/watch?v=Mcn5MExlxGI Hope this will help you
Sumit
Anyone?
https://docs.djangoproject.com/en/3.2/ref/forms/
B120034_Mohammad Asim Khan
Okay Let me check Would anyone like to check for the errirs?
B120034_Mohammad Asim Khan
In my repo i shared above
Sumit
Okay Let me check Would anyone like to check for the errirs?
I hhave checked and found there is no any file like forms.py
B120034_Mohammad Asim Khan