Anonymous
Can anybody help me to implement the forgot password feature in my website in django using cloud forestore as my database????
Anonymous
*firestore
Anonymous
I have read all about it but every time the database they were using was django user models.
Ильяс
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. I refreshed and have 1.4 version of mysqlclient and still when i try to make inspectdb it gives me this mistake
Ильяс
Also i am using python3.7
Ильяс
Can anyone help?
entropy
Can anyone help?
check DATABASES in your settings.py
Ильяс
check DATABASES in your settings.py
Do i need to write path to cnf file or it is not necessary?
Mukesh khandelwal
Is there any Django/python trainer available for Delhi
mr__
Hello everyone I want to use mysql with django What I should do for that
then install mysql in your pc by usingcommand pip install pymysql and to connect databse to server write code in init.py file import pymysql python.install_as_MySQLdb()
Shivam Negi
Anyone has contributed to zulip?
Anonymous
Hey everyone
Anonymous
How can i use http_request to create user in a djangoRestFramework , here i mean from my ionic app with path i have to define in the Http POST request , i tried to send the request to this address " http://127.0.0.1:8000/admin/auth/user/add/ " but it's not working . Any help please
inchidi
https://www.djangoproject.com/weblog/2019/jun/03/security-releases/
Avinash
The object doesn't have a change history.It probably wasn't added via this admin site.
Avinash
How to resolve this👆
cj
How to resolve this👆
what do you want to solve?
Time
link to django 2 web development cook book(free version)??? anyone
cj
link to django 2 web development cook book(free version)??? anyone
is that book free for real? why don't you read official docs?
Yep
https://pastebin.com/k0ij3kJh
Yep
Perhaps someone can help me...its hosted on pythonanywhere
Yep
And its a task
cj
Perhaps someone can help me...its hosted on pythonanywhere
check the python versions you're using
Yep
Python3 ..thats all correct Call the task with python3 /pathTo/reload.py
Yep
With python3.7 /path...didnt works...and it is 3.7
Pankaj
How to do background task on a deployed django app
Pankaj
What should i use in this like crone task, celery or anything else
Yep
Nobody has pythonanywhere and a solution? :/
Yep
Its ok...runs with subprocess.call
Front Kev
Hello
xarala221
What should i use in this like crone task, celery or anything else
Hello personnaly i use django_crontab, you can read the documentation here https://pypi.org/project/django-crontab/
Anonymous
Hi
Anonymous
I have this problem here why?
Anonymous
$.get('http://localhost:8000/indexes/', {'indexid': indexes}, function(){ alert("now its well done"); });
Anonymous
from js to django
Anonymous
and I have this path: path('indexes/<str:index>', views.getIndexes, name='callPaython'),
Anonymous
def getIndexes(request, index): i = CallPython() j = [] j = i.get_index(indexid=index) return JsonResponse( context, safe=False)
Anonymous
It tell me
Anonymous
Not Found: /indexes/
Anonymous
Can someone help
Anonymous
?
inchidi
$.get('http://localhost:8000/indexes/', {'indexid': indexes}, function(){ alert("now its well done"); });
according to your url, your js code should looks like this: $.get(`http://localhost:8000/indexes/${indexes}/`, function(){ alert("now its well done"); });
inchidi
str true? or I changed to slug?
what type of variable you want to capture? is indexes int or str or both?
Anonymous
string
Anonymous
and if are both?
Amaro
$.get('http://localhost:8000/indexes/', {'indexid': indexes}, function(){ alert("now its well done"); });
$.get('http://localhost:8000/indexes/'+ indexes+'/', function(){ alert("now its well done"); });
Amaro
it means indexes == 'mystring'?
Anonymous
iwant to pass thuis indexes to my view fn
Amaro
Add trailing '/' in urls or remove it in js then
Amaro
$.get('http://localhost:8000/indexes/'+ indexes, function(){ alert("now its well done"); });
Anonymous
Mr Omaro
Anonymous
$.get('http://localhost:8000/indexes/'+ indexes, function(){ alert("now its well done"); });
when the url send to the django and the funtion will give me an image to such directory, and a new problem was appear
Anonymous
the problem of the page reloading at the client side why?
Amaro
Insufficient data to answer
Ильяс
How can i make a search fields for one database with multiple options such as like Brand Model and years from any year until present?
Mirco
How can i make a search fields for one database with multiple options such as like Brand Model and years from any year until present?
Make a select on frontend side and filter your queryset with those options sent to the view
Ильяс
No just using forms
DropDout
Use the Q function from django.db.models
Mirco
Using rest_framework ?
using whatever you want, it depends on your stack
Doragonsureiyā
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Anonymous
https://github.com/aakashpadhiyar/Django
Anonymous
Dear friends,
Anonymous
I need a django single page application CRUD, pls send me
Îmmêñsê
https://www.obeythetestinggoat.com/pages/book.html#toc Does anyone have this PDF?
Anandababu
Hi Friends