Shivangi
Hello friends , Anyone please tell me how can i draw pictograph bar chart using python?
Shivangi
Yes but how to write the code?
анатолий
Yes but how to write the code?
https://www.shanelynn.ie/bar-plots-in-python-using-pandas-dataframes/ like this?
анатолий
i'm not sure what is pictograph bar though.
Shivangi
Thanks but how add icon in bar section?
William
Aman
can anyone suggest me what library or module should i learn to start django
John
Hi guys. Anyone here hosting a Django app with python anywhere?
Aman
Django itself
but i saw some videos tutorial they were using requests, path,include etc idk what are they use for?
Genemator
Aman
then i should go for django directly
Aman
thank you
Infobeginner
Hi is there anyone who can help me in creating a prototype of metodffice.gov.uk/research/climate/maps-and-reginal-series#yearOrdered
T
how can i learn django?
Doragonsureiyā
how can i learn django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
T
can i get video links for learning django
Anonymous
Anyone help me out for deploying django application on aws?
Is it the aws ec2 instance you want to use among Amazon service for your django project deployment ? Give feedback.
Kuntal
How to use multiselet field when use postgres
Anonymous
Pls can I get help on how to set up and build a simple app in Django using Virtual studio code. Thank you
Do search on google or YouTube video .That way will help you help a lot
Kuntal
I used like this category=ArrayField(models.CharField(max_choices=3,choices=cat, default=['code']))
Anonymous
Please help 🥲
Wait .I will get back you soon
Fernando
I need to do a manual select in html to my options from select
Fernando
What is the best way to do it ?
Tanguy
Hello every one
Tanguy
please what any sample of best project structure with django 3 + jinja 2 (for front and backend project)?
Anil
please what any sample of best project structure with django 3 + jinja 2 (for front and backend project)?
https://studygyaan.com/django/best-practice-to-structure-django-project-directories-and-files
Anonymous
Hello new in django please recommend me good learning resources for django 3.2.8
Doragonsureiyā
Hello new in django please recommend me good learning resources for django 3.2.8
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
null
Hi, How to handle django with videos lagging more than a minute for a 100 mb file , currently I media route url , is there any other options.
Roman
Hello! Anybody use custom prometheus metrics in django (not simple orm and request, but with complex business logic)? Can you show example.
Roman
What complex business logic do you need?
For example i want to know there are no new clients not registered last day. Or one type of operation among all is more 50%
Roman
I want to show example in code if you have it
Vishal
Hey everyone, I'm stuck with one problem can someone help me out with that. Just take a look at: https://stackoverflow.com/questions/70133109/django-data-is-not-rendering-as-saved-in-model
𝑴𝒂𝒔𝒖𝒎𝒆 🦋
Hi. I wanted to learn how to use redirect
𝑴𝒂𝒔𝒖𝒎𝒆 🦋
Can anyone help me?
William
I want to show example in code if you have it
I don't have anything like that. If you have any share them here.
Mirco
Hi. I wanted to learn how to use redirect
Import redirect from Django shortcuts and just pass a URL via reverse function
MeHDI_rh ∞
a foreign key on the child model and a property on the parent model
Why property? You can access the child set from parent instance Just define verbose_name on FK
Rutherford
How do I cache specific pages. I've read about the cache decorator from the docs. But going through the docs, the middleware you add caches the entire site. I don't want that, I just want to cache a specific view with the cache decorator.
Rutherford
Nope only what you decorate
Should I add the cache middleware? I think that's what's caching the entire site.
Mirco
Should I add the cache middleware? I think that's what's caching the entire site.
Which Middleware you are talking about ? The documentation is clear about you just have to set CACHES setting
Mirco
The one about the Middleware is cache per site
Mirco
Not cache per view
Mirco
You are reading the wrong section
Mirco
https://docs.djangoproject.com/en/3.2/topics/cache/#the-per-view-cache This is the proper one For this one you need to setup only the setting CACHES
Mirco
Cache per site needs the Middleware and the entire site is cached
Rutherford
Cache per site needs the Middleware and the entire site is cached
Oh okay. I set up UpdateCacheMiddleware and FetchFromCacheMiddleware I guess ill remove them and only use the cache decorator.
Mirco
You just need CACHES setting configured properly And then use the decorator
Doragonsureiyā
Thanks a ton.
You're welcome! 😊
Najim patel
Difference between Rest API and Fast API Why we use Rest API? Why we use Fast API?
Doragonsureiyā
Difference between Rest API and Fast API Why we use Rest API? Why we use Fast API?
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Kuntal
How to use multiselet field when use postgres
Kuntal
Without using forms
M***
Which is best way to create category, sub category and sub sub categories in django.
Alireza
Which is best way to create category, sub category and sub sub categories in django.
You can create a category model with a parent field which has a 1 to many relation with itself. Also it must be nullable for the main categoty
Alena
Hello everyone! Need advice: how best to check if an object exists in the database using QuerySets? Im using try, except with QuerySets.objects.get(id=N) but not shure if this best choise. Thank you
.
U can use filter without try/catch, which returns None. Its more efficient