Zey
Password reset unsuccessful The password reset link was invalid, possibly because it has already been used. Please request a new password reset.
âshîsh
what all files need to ignore and how to secure django project before push to git
Make sure you don't use any password. Either remove password or make your repo private
Doragonsureiyā
I am using SMTP for password reset but when I click on link I got this,how to solve this?
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
âshîsh
What are you talking about?
About not sharing password on GitHub public repo
cj
About not sharing password on GitHub public repo
how is that related to OP's issue? he never mentioned anything like that
âshîsh
how is that related to OP's issue? he never mentioned anything like that
Question asked that how to secure Django before pu project before push to git. I said not use password (like email host detail) or leave blank. If you don't leave blank and your repo is open then anyone can take Ur credentials. What's wrong in it ?
Anonymous
Docs is best
Xudoyberdi
Search from you tube and watch some videos which is django rest framework courses
Randy
How can I make a ChoiceField with a list from the database and so that there is a hint for writing, like in the Google search bar? Can someone have an example?
Randy
Can you explain what you wanna do i really don't get it
There is a "Unit of Measure" model, as well as a formset with an "Ingredient" model. By adding an ingredient to the ChoiceField (I want it to be like a google search bar), you need to give the appropriate letter by letter
Randy
Prediction of the word to come or sth you mean?!
There are model records ['alex', 'alex', 'lena']. I output a form field (choicefield) and I need a field where you can enter 'al' and I should output ['alex', 'balex], because there are coincidences. And if I enter 'ena', then it will display only one choice ['lena']
Riswandi
but where?
Anonymous
Any best source to learn rest api
Anonymous
Any youtube channel or book for rest api
Anonymous
Oh kk
Anonymous
How many days it will take to learn rest api
Zey
How to write SQL queries in django anyone know?
Charly
How to write SQL queries in django anyone know?
you usually don't need that, you use the ORM methods
Zey
I know that but I am making e-commerce website and my college teacher told me to write SQL queries
âshîsh
I know that but I am making e-commerce website and my college teacher told me to write SQL queries
No need to write SQL in django Just create models & migrate them SQL queries will automatically created
Zey
No need to write SQL in django Just create models & migrate them SQL queries will automatically created
I know that's what I did but I have to write SQL queries for my project,it is a instruction from my college
âshîsh
I know that's what I did but I have to write SQL queries for my project,it is a instruction from my college
Then create a separate python file & use SQL extension. From there you can write queries. & If you want then can merge that python file with your Django views.
Tukhtamurod
I know that's what I did but I have to write SQL queries for my project,it is a instruction from my college
Copy your question put it into google search box and press search button, let me know if you dont find anything
Zey
Copy your question put it into google search box and press search button, let me know if you dont find anything
I did and I got raw() function but what if I have to create table using SQL and display it in admin panel without using models
Tukhtamurod
I did and I got raw() function but what if I have to create table using SQL and display it in admin panel without using models
You wanna use the same admin panel but you yourself write the sql queries used there right?
Tukhtamurod
Right
I have no idea))
Zey
I have no idea))
Ok,let me know if u find something
Nirupam
Hello everyone, can we use scheduler to delete old record without using any package in django?? Is it possible ??
Nirupam
Periodic task in django?? Without celery- beat???
Naresh
Hello everyone, I want to know for what purpose we using Kafka with python. Any examples for this.
AceT0ne
Hello everyone i wanted to ask like i m use image path in css file and i make my css file static now all the images that i am using in css file cant be viewed do i have to change path or here too we have some django command like static and all
AceT0ne
When i do that its giving error
Anonymous
But for that i have to load static right
Move your static folder in root path
Irteza
I have mapped urls still getting page not found
SHAKEEL
Ensure the settings in urls.py
AceT0ne
At-rule or selector expected
Pavel
Hi, guys! I’m transferring some code snippets from Laravel to Django, and I wanted to ask about how to port Observer -> Jobs chain out of there. For example, I’m saving the model of sent message, and after it’s saved I want to mark the status attribute of saved tuple as «delivered». How can I do that with, let’s say, Celery in Django?
Anonymous
Can anyone tell me the resource where I can learn in depth concepts of serializer
AceT0ne
which error?
Can I share u my repo
Charly
Can I share u my repo
no, share the error
Ajitesh
Can anyone tell me the resource where I can learn in depth concepts of serializer
Try with rest api course on udemy grab some basics after that you will be ready to look into docs
Charly
At-rule or selector expected
thats a CSS error, nothing related with django
Ajitesh
thats a CSS error, nothing related with django
exactly . he did the wrong path settings.
Charly
exactly . he did the wrong path settings.
oh that might make sense then
DS.m
Hello, I took an image of a drive, now I have mounted it. I want to transfer the information to my drive. Does anyone know the way at a very low speed?
AceT0ne
oh that might make sense then
What settings should i use
Himalaya
I have a project and in that there is a link which records session details and stores that data in database. Original url gets masked in our project and then visiting on masked url it creates a session and redirects to landing/original page, then I'm using that session url as iframe in different project. But the iframe is showing cross-origin read blocking error at clients side, it was working fine in local host can anyone help?
/ AA
Model View Template or Model View Controller?
first one for django , second for php (laravel)
Neo
Hi is there any better way to use update in DRF, i am doing like this. class DesignationUpdate(APIView): """ Update the designation masters """ @method_decorator(login_required) def post(self, request, format=None): d_id = request.data["id"] if "id" in request.data.keys() else None try: obj = DesignationMaster.objects.get(designation_id=d_id) except DesignationMaster.DoesNotExist: raise Http404 data = request.data data.pop("id") serializer = DesignationAddSerializer(instance=obj, data=data, partial=True) # print(serializer) if serializer.is_valid(): serializer.save() return Response(serializer.data, status=status.HTTP_201_CREATED) return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
Anonymous
do you guys have any good books for learning django 3.0
Ajitesh
do you guys have any good books for learning django 3.0
online channels , articles and read docs
Xudoyberdi
guys organize voice chat for answer the questions
Pavel
and the question is how to transfer the attribute observing to django
Pavel
how to make model fields observable with something like Celery