Tulasi
Tulasi
As I am saving after encryption that is converting to string. Before dycrption i have converted to bytes. Thats where iam getting this ertor
Valentin
Hi all, I have a question considering translation in Django. On the front-end, I have some data list options and custom values:
<datalist>
<option value="one">
<option value="two">
<option value="Other (please specify)">
</datalist>
Are there some possibilities to make these predefined options translatable (text "one", "two")? And how to save these values to DB and show them on front-end based on the selected language?
Thanks!
mel23
Of course
Give it datetimefield
Hello, I receive follow error when I try to add a data in my post model. but I'm not using int
Evgen
Hi all
I'm doing a fuzzy search on the site using this tutorial:
https://www.freshconsulting.com/insights/blog/how-to-create-a-fuzzy-search-as-you-type-feature-with-elasticsearch-and-django/
The command "python manage.py index_products" gives the error "KeyError: "There is no connection with alias 'art'.""
I did not work with ElasticSearch before, tell me, plz, how to solve the problem.
Connection must be created in apps.
In the index_producs file, when checking "if product_index.exists():" this error is displayed.
settings: https://dpaste.org/7LxW0#L10 ;
models: https://dpaste.org/y5fTH ;
signals: https://dpaste.org/JGWiN
apps: https://dpaste.org/Y906M ;
init: https://dpaste.org/bovB2 ;
index_products: https://dpaste.org/62KGU ;
documents: https://dpaste.org/CTHDx#L10 ;
elasticsearch.yml: https://dpaste.org/398fN .
Alex
Frozen
How to fetch data from Mqtt and Store it in Influxdb
Monil
Any solutions??
Monil
In my new django version I called third party post Api bit I get 403 csrf
token error so I comment csrf middleware and add csrf decorater above function and this is my class view post function with use rest api how can I solve it??
Kai
can anyone suggest video tutorial on django channels and web sockets?
Tanay
code with harry
Anonymous
code with harry
I don't suggest him his accent is very annoying
Anonymous
🕊Emocean🕊
https://linkode.org/#VUzGSI576EzzXVlL9tY3F4
🕊Emocean🕊
So i updated my project to django 4 and now i cant use dates, why is that?
Maxim
🕊Emocean🕊
you reassigned tz
Where exactly? And why that code still works for django 3 and not works for django 4?
Maxim
Maxim
i meant one of those three lines
🕊Emocean🕊
Maxim
jaxx
"How to solve pulling is not possible because you have unmerged files"
This happened when i tried to pull from git.
Am not efficiently learned git and i found a solution online to use git stash.. so used it for a git pull and now i did git pull once again i got this error.
Trying to deploy django project on aws
Sai
Please build an Application over StackOverflowAPI for searching questions in StackOverflow (ref: https://api. stackexchange.com/docs/advanced-search)
Requirement:
1) Should be able to search all available fields/parameters. 2) List the result with pagination with Django template (Using Restful API and angular/react bonus). 3) Page/Data should be cached. (Application should only call StackOverflowAPI if we didn't pull data already for same
query param) 4) Add Search limit per min(5) and per day(100) for each session.
Sai
Do any one help me with this
Fan / Ac
Sai
Try it out
Sai
I am getting errors
Fan / Ac
share your code as you have a code which give you error
Sai
WinError 123
Fan / Ac
Doragonsureiyā
WinError 123
Read this please:
http://catb.org/~esr/faqs/smart-questions.html#intro
Sai
Frozen importlib._bootstrap
Anonymous
Is there anything wrong with not using the PATCH method at all? In a serializer, I have a validation that checks several fields; If a request is sent with the PATCH method that does not include all the necessary fields, it will be impossible to check its validation.
Isha
I am trying to install django but i am getting error
from django.core.management import execute_from_command_line modulenotfounderror: no module named 'django'
I have tried setting up a vertical environment multiple times. But still getting same error.
Looking for help is resolving this issue
Rajat
Isha
Yes
Rajat
Yes
Can you share screenshot for clear view
Jindal
Please help me
How i can use redis server with django on heroku ?
🕊Emocean🕊
Jindal
Ok thnx
bansh
Рахим
Hello, I'm using a django extension called django-eav2 and I want to add individual attributes to records in a model. How can this be implemented?
At the moment, the eav2 extension allows you to add an attribute to the entire model.
Рахим
:(
Tanay
Tanay
i hope it will work now
Sanchit
Hii everyone !!!
Can anyone tell me how I can deploy my django website for free on heroku . Please tell me urgent as it is important
◄█▓▒░ ♦ᴄʀᴇᴀᴛoʀ♦ ░▒▓█►
Akshay
Is there any way to send get request to third party rest API service periodically (monthly) on behalf of user
Dev
How to build a django application with virtual env
Dev
Any video references?
Dev
Will be helpful
Dev
I am a fresher so video references or any kind of sources will be appreciated
Alex
https://youtu.be/DCQWSNuleVM
🕊Emocean🕊
T
Any ideas how to translate db response into the other languages ? We have multi language app, but data stored in one language in postgree database
Oo
Hi
I am trying to use react as front
but i geting cors error
Oo
i set
CORS ORIGIN ALLOW ALL
But still got nothing
T
T
Oo
Access to XMLHttpRequest at 'https://erfanrashidi.pythonanywhere.com/auth' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
Oo
T
how did u set yours cors whitelist?
Oo
H.G.
Oo
T
Kavipriya
Hi can anyone say what project i can do with django, i am started learning now
() { :;}; echo Nickolas
Using django-channels, what's the reasonable place to broadcast socket events in? In the serializer?
Of course
Hello I can't understand csrf attacks
Who can explain clearly or introduce a website?