Kene
Oh! I just realised your question is tailored for the admin panel. I'm not sure how to handle this.
I'd leave it to the experts in the house.
Ali Hasan
Ali Hasan
https://linggar.asia/?p=616
Kene
IDK
How to do status of filling form which separated to parts(steps), without saving it on localstorage and cookie
HD
i have this error:
no such table: src_bill
HD
how to solve it?
Syed
Samuel
Hi everyone. I'm trying to deploy my Django application with AWS but I'm encountering the invalid header error despite the fact that I've copied the URL and pasted it in my allowed host in settings.py.
Any suggestions guys
Carlitos
Rebellion
Friends,
In 'UserProfile' model, I have set 'email' field to 'null=True, blank=True".
But, when in django admin page, if I try to leave 'email' field blank, it shows me following error.
"
Exception Value: NOT NULL constraint failed: auth_user.email
"
What could be the reason..? Any solution for this..?
Thank You..!
H.G.
Rebellion
Did u set USERNAME field to email?
No,
I did not change 'User' model.
I created, separate 'UserProfile' model and connected it to 'User' model.
Rebellion
In 'UserProfile' model I'm having 'username' and 'email' fields.
H.G.
Rebellion
Anonymous
imgs = Image.open(Images.img.path)
Help me
Doragonsureiyā
ㅤ
I have a Foreign Keyfield inside a model called platform, I am using Modelserializers to map the key and value,by default when I sent a post Request on the API link I use to send the Id of the platform, but now I have modified the platform field , which now displays the name of the platform instead of ID, so when I am sending a POST request I m passing the ID of the platform but it still doesn't work and says Integrity Error why?
Vlad
how to get data in RetrieveAPIView by slug but not by pk ?
Mirco
Vlad
Mirco
Vlad
The slug must be unique
ok, if instead slug - field category? How can i get all posts witch have the same category?
Mirco
Vlad
in simple django i did it like this: Posts.objects.filter(category='category'). But how to do in RetrieveAPIView?
Mirco
Mirco
Django Rest Framework is still what you call simple Django
It's "just" an app
Take a tutorial and keep studying to learn how to write APIs quickly
Abdulrasheed
Mirco
Mirco
Anonymous
https://pastebin.com/ApgEK2zZ
why is the image not shrinking?
Anonymous
Anybody knows pythonanywhere hosting?
Doragonsureiyā
Anybody knows pythonanywhere hosting?
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
Kevin Mitnick
what is best, create a crud with functions or class.
amirHosseinZibaei
Hi, my django program runs on the Internet with a desktop without any problems
But in phone platform, when I try to logging or submitting some form in the site, it gives an error 403, which is for csrf
what is wrong here
Kevin Mitnick
Vxvek
How to declare a variable in django template other than using {with} ??
Doragonsureiyā
Vxvek
Is there any way ?
Charly
Vxvek
Why do you want to do that?
I need to declare a variable in template and then inside loop when condition statisfy I need to get that value in Javascript
Charly
Vxvek
Charly
Can I change the value ??
Which value?
Better to show the code that is problematic right now instead if giving use useless chunks of infortation so we can help you better/
ADI
def run_test():
m = matrix('CE802_P2_Data.csv’)
for k in range(2,5):
for beta in range(11,25):
S = get_groups(m, k, beta/10)
print(str(k)+‘-’+str(beta)+‘=’+str(S.get_count_frequency()))
Doragonsureiyā
ADI
anybody know
Charly
Edge
Good morning good people
Edge
Hope your well, Got an issue that can be tackeled but i personally fail to. Has anyone had experience with Multipart form data serialization? With OnetoMany relationship? For fetching data it works but when we override the create method it doesn’t.
Charly
Edge
Alright, but currently i can't yet since im out of office but just wanted to get some clarification on what are the best techniques to handle multipart serialization
Shukurillo
what is the best tutorial to learn django rest?
Charly
Shukurillo
Charly
shiva
How to add celery to existing function
shiva
For Asynchronous job
Helsinky
In my django app , whenever there's entry and model is updated with new entry , I want to send a WhatsApp notification or just track the changes on model..
Like whenever chnges made to server need to send notification to client.
Can anyone please guide me how can I achieve this..
shiva
Charly
JustAnotherOne
Hello everyone
Helsinky
JustAnotherOne
does anyone has dealt with jquery datatable in the front-end with python?
I have a table in the front-end, viewing only 4-7 columns, and I need to build a filter model in the front-end, and the searched-by columns may not be visible to the client.
any idea?
shiva
What all needed to run background task using celery, celery beat
shiva
I have an api with some functionality i need it asynchronous job
Charly
shiva
Charly
shiva
First steps with Django — Celery 5.2.3 documentation
https://docs.celeryproject.org/en/stable/django/first-steps-with-django.html
shiva