Anonymous
Please help me, I want a code for Django of barchart, pie chart, line chart for my college project. If anybody have, then please guide me.
Doragonsureiyā
Please help me, I want a code for Django of barchart, pie chart, line chart for my college project. If anybody have, then please guide me.
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Anonymous
Hey, I am trying to run my face recognition project in django by calling the function in view.py. But it's throwing error in reading .yml file. I don't want to use Restful. Please reply with a good solution. Thanks!
Wannabe
Kito_Kessian
How to solve this issues says Application Error when u are trying to epen your website u hosted on heroku
Lipau3n
Anyone pliz help me
Show yours heroku logs
Lipau3n
Using CLI or build logs in dashboard
Anonymous
use chart js or any other js library and send the data using django rest to populate it..
Did it...but it's not working properly..even there is no error
Anonymous
Delete all migrations file and migrate again
Thank you for your response 😊
Ruby
Hey i want to know how to get notification on our mobile when user registered on my website and data is saving into firebase db.
Ruby
I have to open db to see any new user registered or not..
Ruby
I want whenever new user registered i come.to know through notification
Jai
I want whenever new user registered i come.to know through notification
Probably send a mail to yourself everytime the data is saved
Ruby
Okay
Anonymous
Ruby
Idk how to do it..
Jai
Sending email | Django documentation | Django https://docs.djangoproject.com/en/3.0/topics/email/
Jai
Might helpp!
Anonymous
Idk how to do it..
Register ke submit button pr email function laga do
Ruby
Okok
Anonymous
dont use gmail when sending email. it would work on local but not in server
Abrar
Thanks
ꪉꫝꪖꪹᦋꪖꪜ
Hello
ꪉꫝꪖꪹᦋꪖꪜ
I'm unable to use Exception in my project,can anyone pls suggest?
ꪉꫝꪖꪹᦋꪖꪜ
try: query = self.request.GET.get('q') object_list = City.objects.filter( Q(name__icontains=query) | Q(state__icontains=query) ) return object_list print('hello try catch') except Exception as e: return HttpResponse("Exception: Data not found",e)
ꪉꫝꪖꪹᦋꪖꪜ
This is the code.
ꪉꫝꪖꪹᦋꪖꪜ
in this only try block is executing.
ꪉꫝꪖꪹᦋꪖꪜ
Pls guys help me.
ꪉꫝꪖꪹᦋꪖꪜ
Hello experts pls come out to respond my ques.
Rohan
And read how try except works -_-
Rohan
in this only try block is executing.
CUZ IT CAN BE EXECUTED WITHOUT RAISING AN EXCEPTION
Rohan
And don't PM me. Ask here.
ꪉꫝꪖꪹᦋꪖꪜ
ok
ꪉꫝꪖꪹᦋꪖꪜ
And don't PM me. Ask here.
How to solve this problem?
Rohan
How to solve this problem?
It is not a problem. It is how it should be.
Rohan
I suggest you go through basics of python, specifically Exception handling
ꪉꫝꪖꪹᦋꪖꪜ
But it is executing even though data not retrieving from database
ZK
Plz help.... I'm using xadmin instead of django admin. I'm using django-allauth which after migrations basically creates database like sites and social accounts in default admin in django, but the same thing I'm unable to get it in database django admin.. Plz help how can I get those.
^_^
how to add pagniation in django
https://docs.djangoproject.com/en/3.0/topics/pagination/
Mirco
!paste
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Deepak
https://del.dog/lifipyrrop/
Deepak
The view weather_places.views.delete_place didn't return an HttpResponse object. It returned None instead.
Kito_Kessian
I suggest you go through basics of python, specifically Exception handling
Help him if u can and then suggest him to go through python exception handling
Deepak
anyone here?
ASHIL
🙈
Actuallly i have a working website in wordpress,. I want to add more functionality with django is that possible..?
Anonymous
See in return statement
Deepak
https://dpaste.org/qoEy
Deepak
please have a look
Rohan
Help him if u can and then suggest him to go through python exception handling
Already did, please do not white knight people who look for spoonfeeding.
Deepak
hi rohan do u have any idea about my error
Muflone
hi rohan do u have any idea about my error
There's no response when the form was not sent
Jai
hi rohan do u have any idea about my error
Try having an else and returning something
Deepak
ok
Deepak
let me check
Deepak
now all when i delete one city then it does not route to the home page . and also deleting not working
Amos
Quick one, on settings.py USE_TZ I have set to true, am using postgresql, my timezone is EAT, in the docs I see with postgresql USE_TZ can either be False or True. All the same I get this error Incorrect timezone setting: EAT, link to the listed timezones will really be helpful, thanks in advance
👑 King👑
How do I send an email template after user signup? I have it in the forms.py after user signup they get the email but I need it as an template how can I do that
Marcos Alberto
Does anybody here know any tutorial about to deploy django using VestaCP?
SSO CMM Mumbai
Hi, please suggest how to download lectures from durgasoftonline , I tried by idm but not worked
Uttam
https://del.dog/lifipyrrop/
while not post request render template
Deepak
what?
Uttam
what is the need of valid
Uttam
validing form
Uttam
@login_required def post_delete_view(request, pk=None): context = {} post = get_object_or_404(Post,pk=pk) if request.method =="POST": if post.author == request.user: post.delete() return redirect('profile', username=request.user.username) context = {"post":post} return render(request,'blog/post_confirm_delete.html',context)
Uttam
my delete view looks something like this hope this helps
Deepak
yeah but in your function deletion process is on other page
Deepak
but what i want to do from home page i want to delete selected entity without going on different page
sindhu
How to deploy a django project into ibm or AWS cloud
Deepak
one thing i want to know without using of form can i perform delete operation.