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.
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
Jeevachaithanyan
Kito_Kessian
Lipau3n
Using CLI or build logs in dashboard
Anonymous
Anonymous
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
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!
Ruby
Okok
Ruby
Anonymous
dont use gmail when sending email. it would work on local but not in server
Abrar
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
And don't PM me. Ask here.
ꪉꫝꪖꪹᦋꪖꪜ
ok
ꪉꫝꪖꪹᦋꪖꪜ
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.
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.
Deepak
anyone here?
ASHIL
🙈
Actuallly i have a working website in wordpress,. I want to add more functionality with django is that possible..?
Anonymous
Anonymous
See in return statement
Deepak
https://dpaste.org/qoEy
Deepak
please have a look
Rohan
Deepak
hi rohan do u have any idea about my error
Anonymous
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
Kito_Kessian
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
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
Anonymous
Deepak
one thing i want to know without using of form can i perform delete operation.
Anonymous