Ton618
I would really appreciate the help
Thanks in advance
Mirco
use pastebin
Mirco
anyway here, don't use hardcoded urls into the html
Mirco
use reverse
Ton618
use reverse
I tried using it, but I'm still getting the error
Dani
Hi can anyone help me with unit testing, currently I have two rest api routes with couple of decorators in it in flask app, I want to create unit tests for both api's since it contains decorator how to mock those and proceed
Mirco
Doragonsureiyā
Александр
hi, help me with advice, I need to make a web interface on Django to manage the asterisk server. I made a template, functions for sending commands via ssh . how to link functions to buttons in the interface, this is not a post request.
Mirco
Александр
You need a view
what model in models should I use for the buttons in the models ? in views, how do I call the function I need? maybe I'm asking stupid questions it's been a long time since I used Django
Mirco
Yasin
Hi I want to save my object api when it was created by drf how can I do that?
Sherlock
https://pasteboard.co/JAGUoyB.png
Sherlock
Value error at /
The view base.views.index didn't return an HttpResponse object. It returned None instead.
Sherlock
<form method=“post”>
Sherlock
Can someone help with this?
I am getting this error on submitting a html form..
Holla
Sherlock
return render(request, ‘index.html’, context)
I was using this line instead of tht.. still getting same error..
Holla
Did u tried return HttpResponse
Derick
Can someone help with this?
I am getting this error on submitting a html form..
If you have a method that post calls to process the form the post method should return that method call rather than just call it. This is assuming that the method that's called is the one that returns a response after processing the form.
Also with post requests consider using HttpResponseRedirect rather than render so as to invalidate a processed form should a user use the browser back button. This is generally a good web development approach and not Django specific
Anonymous
Salom
Anonymous
Do you know uzbek language
Yuvi
How to slove this error MultivalueDictkeyError
bikrant
I want to learn reactjs can someone guide me for resources with js basics
Ghorz
Gk
Hello guys getting issue while loading css in Django 3
Gk
Can anyone help
Gk
??
Deleted
Hey, guys, need your kind help, how to fix the following could not using normal user to login problem: https://stackoverflow.com/questions/64867680/after-create-a-normal-user-in-admin-page-of-a-django-website-i-could-not-login?noredirect=1#comment114687073_64867680
Fazil
is there a better Task/Queue system than celery? I feel its frustrating.
Anonymous
Can anybody help me with integrating django with android studio application
Украинский
Украинский
your android app connects API of your websites
Украинский
and retrieves data
Anonymous
Okay, thanks
Anonymous
I will study more about this
sheikh
Fazil
Currently No.
I am amazed as to why no major tutorial platforms/persons talk about it? I mean is there any other way to handle long processing tasks that I missed out on?
sheikh
sheikh
You can use kafka.
Fazil
If that's easy to do in other technologies than Django, then I am ready to quit it
sheikh
Fazil
Sadra
Hey. Do it simply. Retrieve the record, update it. Done.
It's an English group so please keep it in English though. :)
Thanks.
Lannoy
💣
Niraj
Please suggest me:https://bit.ly/2IMaFP8
Adnan
Can anyone help
Goto browser and Press Ctrl+ Shift+R for hard refresh
(before doing this u must look all the configuration must be correct )
Gk
It’s working now thanks bro
Sadra
Such an amazing stuff.
Users start the tickets and admins will answer them.
Sadra
Sadra
https://t.me/pythonrules/44
Pavel
Hi. Could u explain what does it mean
class Meta:
auto_created = True
Sadra
Xeyyam
Hi
Xeyyam
Who can help me about Heroku?
Xeyyam
İ stucked
Alex
İ stucked
It's unrelated to django. Read heroku's docs and try harder.
Xeyyam
İ am deploying django
Xeyyam
Okay
Xeyyam
İt make application error
Xeyyam
And says me to write "heroku logs --tail"
Xeyyam
At the cmd when i enter"heroku logs --tail". İt shows
Error: missing reuired flag:
-a, --app App app to run command against
Alex
Where did you get it from?
Anonymous
Hi
I am beginner in Django and Flask library , I wrote my problem in stack overflow but no one answer me , pleas if you can help I’ll appreciate this is the link 🙏🏼
https://stackoverflow.com/questions/64857075/i-cant-connect-the-db-with-postgres-program?noredirect=1#comment114669338_64857075
usEr1024
Xeyyam
Aroop
How to create registration form with email or phone number
Xeyyam
Anonymous
⚜️
Hi. Are there any ways to disable Google Captcha? I am writing Test for sending of form but it is impossible to send form without Recaptcha
⚜️
So in tests I somehow need to disable Google Recaptcha