Rohan
He can also creat cart with javascript easily 😁
That would be horrible for a system that needs to scale and save user prefs.
Rajat
I had give him logic about how to create cart in backend 😄
Hello
Pls help me in code
Hello
I am passing image link in views which will vary and image is in static folder so how can I show that passed image URL in templating
Hello
Please help me
Hello
I am passing image link in views which will vary and image is in static folder so how can I show that passed image URL in templating
Doragonsureiyā
I am passing image link in views which will vary and image is in static folder so how can I show that passed image URL in templating
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Michael the wolf 🐺
did anyone worked with django cas ?
Rahkmanuly
Hello there! Does any have an experience with converting any format of documents (docx, pdf and etc) to html template?
coder
Any DRF expert?
Doragonsureiyā
Any DRF expert?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Doragonsureiyā
🚫 ‎Riyadh [921254445] is already banned.
Vanita
Hii to ol members I am new to django....plz help me as i want to render my html file but that file is on processing on localhost but if i use HttpResponse then it works but not rendering html template. Anyone can help me to figure out my problem TIA
Vanita
I am doing the same using class like class Login(View): return render(request, "sigin.html")
Nani
Thank you so much
It's my pleasure
âshîsh
I am doing the same using class like class Login(View): return render(request, "sigin.html")
Then u have to change in your urls.py because you are using View based classes. path('index', views.Login.as_view())
Zaid
i craete a store procedure usinf postgress db store procedure name is emplist2
Zaid
im not able to call my store procedure
Zaid
class EmployeeViewset(viewsets.ModelViewSet): queryset = models.Service.objects.raw("call emplist2()") serializer_class = serializers.ServiceSerializer
Zaid
please help me
âshîsh
I habe also done this change in urls.py
You have not created function inside your class. If your request type is get the you have to define a get function inside your class. Ex- class Login(View): def get(self, request): return render(request, "sigin.html")
Vanita
class Login(View): def get(self,request): return render(request,"lookcare/signin.html")
Vanita
this is the definition of my class
Nazrul Islam
hi everyone
yusof
Anyone work with swagger ui?
Jitendra Kumar
How to custom Auto increment that start from 1000 ?
Jitendra Kumar
Please anyone
can anyone please solve this question write a python program function that takes an integer 'n' as input and calculate the value of following series: 1! + 2! 3!+..... n!
its urgent
kuzmich
How to custom Auto increment that start from 1000 ?
@property def custom_id(self): return self.id + 1000
Jitendra Kumar
Then
Kiran
Hello Django Community, I'm Kiran Maharana from TCET, Mumbai and Secretary of ACM-IT. We are organizing an Event on Latest Trend in Web Technology and we are searching for resource person to deliver lecture. If you are interested in delivering as Resource Person. So, you can contact me for further details. Thank You, waiting for your positive reply.
tushar
hello how i handel this eror if we dont have sheet_id in session otp1=request.session['sheet_id']
Hanif Dwy
hello how i handel this eror if we dont have sheet_id in session otp1=request.session['sheet_id']
otp1 = request.session.get("sheet_id", None) if otp1 == None: # code # code
Abhijeet
Urgent... I have a godaddy linux hosting Can i host django in cpanel of godaddy If anyone has any experience or knowledge please pm me.
Allan
Hello Django Devs, do we have anyone how has used django -tenants, cause I want to start a project and it will require me using it.
Anonymous
Is there any way to use the django or python as the backend for the android and iOS app . In simply I want to say that I have a an website in django Can I create the app from it by using same database. Like by using flutter or react native but related to python or django I hope you understand what I want to say . I am going to start app development.
Anonymous
and consume it using your ios/android clients
Anonymous
How can I create an app Please give me suggestions like react native or android studios or flutter to use that api
Javohir
youtube.com/watch?v=VnztChBw7Og
Chikal
my OneToOneField is a dropdown , I want to make it like common inputfield, how to do it ?
Vasilii
what does localizations/translations mean? If you wish to use localizations/translations, simply add rest_framework_simplejwt to INSTALLED_APPS
Kasheef
NoReverseMatch at / Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s) tried: ['(?P<pk>[^/]+)/$']
Kasheef
Can someone help me in this error
RaxorRombo
django entire pdf
RaxorRombo
i needed
RaxorRombo
sry ppt
RaxorRombo
simple to identify
Anonymous
Hi guys I have four try blocks How can we execute finally block if we having multiple try and except block with out using return
Almaz
Hello, everyone! Please, who can help me? https://dpaste.org/BZni#L7
Veeru
template_name
Almaz
template spelling wrong
Where is my mistake?
Veeru
For line 62 you can write path('about/', TemplateView.as_view(template_name="about.html")),
Veeru
Ok what is the error?
Veeru
Just revert back
Elie
Hi How to redirect every url access to https
Veeru
And see what happening
shila
Hey
shila
Anyone help me in django
Elie
Yes i do have it
Almaz
Ok what is the error?
Sorry, you advice helped me, but I don't wanna make changes in urls file, because I'm watching video tutorial and i wanna do all like in video