.
Anyone can help me for interview prep for 4yr exp in django nd drf... Just want to knw exact wht things to focus on
RB
Hello, please could somebody advice, how to parse JSON to cholce field in the model, where JSON is stored in mongodb, any examples?
~:$
AFK
.
.
ok thnk u
Fan / Ac
i am using class based views
there are two similar lines of code(database queries) in methods of two different classes
should i replace them with a normal function or keep like that to make it explicitly clear
AFK
Fan / Ac
αмiʀ
Hi
i want to send my form with session
It was impossible so i convert it to a json
Now it become a string and I can't use my form
What can i do?
How to use my form?
Anonymous
Hi..can anyone help me with a django project.. I would like to get a real time experience in it
Anonymous
Any project ideas would d
Anonymous
Do*
Ankiniki
Anyone having an idea on Tastypie package?
Doragonsureiyā
Anyone having an idea on Tastypie package?
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
Mojtaba Arezoomand
Hey guys.
I have written a package for caching Django querysets.
It's pretty young and it should be documented better.
i will be thankful if you take a look at it and give your ideas or opinions about this package.
Here is the github link:
https://github.com/MojixCoder/qscache
Anonymous
Hey Guys,
How do I resolved this without changing there package version
https://dpaste.org/mg9H
Kennedy
Hey Guys
Can anyone suggest a better way of uploading multiple files using vue3+DRF.
I have tried to create a relation serializer that loops the file but I get 400 Error. After sending data using formData in vue
Michael the wolf 🐺
weird , formdata works for me fine
Michael the wolf 🐺
try base64 if its small size
Dima
Hello everyone
Have anyone setting KeyCloak and Django? I wanted to use KeyCloak like identity provider with my django app (for example SSO)
Please maybe anyone have any expirience with keycloak and can suggest any tutorials/libraries for do this (also maybe there is any successfful connect django and any others SSO services)
jūdê
Hello everyone, i am trying to webscrape and store in the database and display from the database using DRF
jūdê
Any advice on how to go about it?
Hola!
How to take input from camera with django forms
Prometheus
On google search
Obviously
This is a bad recommendation because the fourth and fifth links are different for different accounts.
Prometheus
William
Hi everyone, I'm using TokenAuthentication in Django-Rest-Framework application and I'm facing an Issue of "Authentication credentials were not provided" even though I have provided "Authorization: Token token_key_value" in headers. I know what does that error says but I can get the Token for the users from Login API but when I use that token in API headers I'm getting that error.
I have provided my project setup code for TokenAuthentication. Let me know If I'm missing something to add in the code.
https://pastebin.com/paiK23aM
Roman
Hi! How to load static when a DEBUG = False??
Roman
collectstatic i had done before it
λ701
Roman
λ701
Nayan
How to use Django ajax forms on bootstrap modal ?? And validate form with errors ??
Jhohannes
I need someone who can be helping me privately with django
Dima
Blaise
Hi
Blaise
you know if in a django project version 2 and we can use things from documentation 3
Mirco
Charly
Jerome
H
Does anyone know how to add Google maps markers using admin model in django?
Moe (محمد)
Hey all,
I have an old django project
And this week i update the models and created new one, i remapped foreignkeys and deleted some fields
How do i migrate the data from the old models to the new models?
Shubham
Create a new empty (--empty) migration
And write down a function to copy data from old model to new one
Maxim
Ali
Guys please help..
In my models, I have a ForeignkeyField that refers to the User model. I want to fill this field automatically in my views. I think I should work with request.POST right?? How? Whatever I do, it still keeps None as that foreignkey field!!
Here is my model field:
created_by = models.ForeignKeyField
User,
on_delete = models.CASCADE,
null=True,
)
I want to fill this field if the user is authenticated, otherwise, leave it Null/empty. How should I implement it in my CreateView save method?
Moe (محمد)
Mohammad Hossein
Hello everyone
What web hosting would you suggest for Django?
William
Ali
Doragonsureiyā
can I DM?
Can i send you a private message?
No. We do not provide one-on-one tutoring, hire someone if you need it. Questions are better answered in public so that everyone can learn.
Alireza
Frederic
William
can I DM?
You can ask her Herself so that people who know can also help you
Anonymous
Mohammad Hossein
Pythonanywhere
Heroku
Thank you🌹
The project is a magazine website. I do'nt think these services have the appropriate speed and uptime🤔
Alireza
Ashish
How to Automatic with credentials from Windows User when
connecting from a windows computer in django??
Mohammad Hossein
Has anyone deployed their django project on shared hosts like hostinger, fastcomet, hostarmada &...?
Am I
KING
Hello guys
Neha
How to remove vertical lines from image by using opencv (ocr)?????
Doragonsureiyā
Hello guys
Please move your "Hello" and other social talk to @PythonOfftopic.
Олег
when all the files are on the server, can I change them directly?
h
Hello all,
Hope you are safe and doing well, I need small help or just idea to perform this task, I have tried to search on google on how can I perform this but I'm unable to find something relevant.
The task is as follows (in django rest framework)-
"Describe a stepwise methodology using pseudocode/specific code to auto generate a list of
products/items with low stock/expiry from the inventory database. The list must be updated
at 12 A.M. daily."
Thanks
Ashish
Hi everyone,
Ashish
i am working on django project, but i am facing issue while updating data using django form
Ashish
only some fields update rest is not updating
Ashish
city = models.ForeignKey(
City,
models.CASCADE,
verbose_name='City',
null=True, blank=True
)
Ashish
can anyone help me out
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
Karthikeyan
Anyone suggest a good begginger tutorial for django...for better understanding
Ashish