Shakthi
Rendering is for html page
jolli
Rendering is for html page
Ok I will do that.
jolli
Hello all. Thank you for both of you. I got it right.
hm
hey y'all I've been working on a e-commerce website today as a beginner but i haven't been able to link the navbar with the templates directory and also add to cart functionality #please help
null
you can include navbar , {% 'shared/navbar.html' %}
null
{% include 'shared/navbar.html' %}
Ak
Any one have dhanjo Videos?
Can you understand Hindi?
Light yagami
How to get into the section id from another page
Ak
You can search geeky geeks .free complete course on YouTube
Shukurillo
if request.user.is_authenticated: customer = request.user.customer order, exist = Order.objects.get_or_create(customer=customer, complete=False) items = order.orderitem_set.all() what does the last line do here?
shiva
{"uid":["uywgt","yetgsj","uuehdg"]} how to validate this data using serializers django
shiva
One field with multiple objects
Maxim
what do you mean?
it gets a list from the database and assigns it to a variable; if this line is the end of the function, the list is not used in any way note that i crossed out part of the text in my previous post, i made a mistake there
Shukurillo
it gets a list from the database and assigns it to a variable; if this line is the end of the function, the list is not used in any way note that i crossed out part of the text in my previous post, i made a mistake there
it is not, the rest of the function passes this list to a template. I just didn't know what that particular line does. Thank you for clarifying :)
EL
Hi everyone ever used django import export?
Vxvek
Hi guys did any know to populate select options depending on another select..(category , subcategorie ) inside django admin
jolli
hello all. this is my views file code from django.shortcuts import render from django.http import HttpResponse import datetime def tellMeTime ( request): time = datetime.datetime.now() return HttpResponse = ("<h1> Hi The time is : +str(time)+ </h1>" # return HttpResponse result I am getting an error as invalid syntax. can any one help with that. thank you.
Bobosher
if request.user.is_authenticated: customer = request.user.customer order, exist = Order.objects.get_or_create(customer=customer, complete=False) items = order.orderitem_set.all() what does the last line do here?
You have OrderItem model which have a foreignkey relationship to Order model. when you call some_order.orderitem_set.all() It returns queryset of all OrderItem objects that are related to some_order. Better way is to use related_name parameter.
Hiku
Hello, good afternoon I display an image more or less like this {% img something="M" %} And it displays image on web with base64 png . The question is How do I download the image? I don't know the path and it changes
Naveen
Can anyone tell me how to get respone by based on screen field in django response
Naveen
Front-end screen
Vxvek
Try django-smart-selects
Thanks bro it worked ♥️
jolli
thank you every one who helped me to fix that error. after I removed the assignment operator it worked well.
Prathmesh
How to create a perfect grid layout in html ?
Prathmesh
With images
Doragonsureiyā
How to create a perfect grid layout in html ?
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Azay
I am new to webdev i just finished learning python. Should I learn DSA before learning Django. Also how much javascript do I need to learn?
MUHAMMED
I am new to webdev i just finished learning python. Should I learn DSA before learning Django. Also how much javascript do I need to learn?
Just complete JavaScript begginer level projects by freecodecamp in youtube. You may also need to know basics of JavaScript before doing this projects
MohammadMahdi
Does anyone know a group where I can ask my questions about Pandas?
Maxim
Does anyone know a group where I can ask my questions about Pandas?
@python you are already in that group Read the rules before you ask such a question next time
Ashish
You can try one of code along tutorials by Corey Schafer or on Real Python
Manavver
You can follow YouTube tutorial
Abdukarim Ubaydullayev
need help writing pagination in django
Doragonsureiyā
need help writing pagination in django
Do you want to hire someone?
Abdukarim Ubaydullayev
Do you want to hire someone?
I'm sorry you didn't understand me I just want to know my mistake I need help with that
Kenechi
How to make sure a particular object in a forloop in django displays first irrespective of the fact that I will keep adding more objects to the data base,, I want a particular object with the name edit to always be the first item in the loop...
Дмитрий
hi everyone. i use celery + django + postgresql. i see many old idle connections. how can close this connections. why django not close idle connections. Can you help me please?
FA
Hello everyone, can we get any response from SMTP mail whether the mail is sent successfully or failed?
FA
Would you please share the code?
Doragonsureiyā
Would you please share the code?
We're not here to do your job for you. This group is to help you on specific issues you have in YOUR code, so you have to show the code you wrote by yourself and explain where and why you are stuck... as simple as that. 🤷🏻‍♂️
FA
I'm not stuck and my code working properly. But I just need to know that I asked before.
FA
Is there is any way ? How can I get that way?
pavan
how to do sum of row values and display in another cell of that row..
pavan
40+50+0+0+10= 100 to be display ,but values are getting dynamically in iterable loop.
tarak
When we compare two excell files how we highlighted that difference
Alex
When we compare two excell files how we highlighted that difference
When you generate a diff, just use css/html to style it
tarak
When you generate a diff, just use css/html to style it
By using pandas I compare but I dnt know to how to highlight with colour
Alex
By using pandas I compare but I dnt know to how to highlight with colour
Pass the diff in a template by context and style it there.
mohd
can we use firebase to store course video on online and can we integrate in Django ?? kindly reply..
.
Can anyone help me with xampp and mysql please ping
Doragonsureiyā
Can anyone help me with xampp and mysql please ping
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.
Mounika
Hi I need some help in coding can u please msg me
Doragonsureiyā
Hi I need some help in coding can u please msg me
Can i send you a private message? No. We do not provide one-on-one tutoring, hire someone if you need it. Questions are better answered in public so that everyone can learn.
Alex
can we use firebase to store course video on online and can we integrate in Django ?? kindly reply..
https://medium.com/@canadiyaman/how-to-use-firebase-with-django-project-34578516bafe
EL
I want to put button for sharing each item to social media how can I be possible
Gaurav
How one can manage Multiple third party integration with HASAPIKEY permission from django_rest_framework_api_key package What i want to do is i have multiple partner setuped let's say Tally Delhivery Bluedart I want to make webhooks for their interaction with us Now i want is let say i created api key for Delivery i don't want that to interact with Bluedart or Tally How can i do this??????
Najim patel
How to get in between two dates from database 2022-01-13 to 2023-02-12 In postman I mentioned this date Date= 2022-03-14
Alex
if a field is DateTime, then you will have to cast it to date https://docs.djangoproject.com/en/4.0/ref/models/querysets/#date
Lucky
We will create country to currencies and it's symbols in django
Lucky
App
Lucky
From country info import CountryInfo From currency_symbols import Currency symbols Def countrycurrency(abc) a = CountryInfo(abc) b = a.currencies() Result = b[0] return Result Def currencysymbol(symbol) c = CurrencySymbols.get_symbol(symbol) return c