Lipau3n
Also u can change template_name for user in one view
HaClyLo
Ohh okay okay will try. Thanks
Angel
What should i do if my admin side css is not working???
Sai
Sai
Then admin css will work
Angel
I have collected
Angel
Still not working
Anonymous
Check your static root directory
Anonymous
Still not working
https://stackoverflow.com/questions/7357057/overriding-admin-css-in-django#:~:text=Write%20in%20it%20all%20the,background%3A%20%23000%3B%7D%20.&text=In%20your%20static%20directory%2C%20create,your%20customizations%20at%20the%20bottom.
Try this
⚜️
Hello! How to update last object in queryset?
⚜️
Payment.objects.filter(user_id__in=user).last().update(is_expired=True)
⚜️
Here I am having error like this
⚜️
'Payment' object has no attribute 'update'
Anonymous
DK
Can i ask here python problem or only django stuff....???
Anonymous
Sai
Y s only django
⚜️
Pedro Fumero
How can I do a query and pass the data to a template?
cj
Y s only django
because this is a Django group
for Python questions go to @Python group
Anonymous
Model.objects.all() not displaying data but Model.objects.filter() displaying data y...it is not showing data for model.objects.all()
DTN
Hello, could someone help me whit this problem?
https://stackoverflow.com/questions/63271872/call-a-function-to-update-queryset-on-django-filter-choicefielter
DTN
Ferrum
im writing an auto generated schema for my drf app
in json format i got something like {"swagger": "2.0", "info": {"title": "Send Mail API", "description": "A Microservice for...
but i need to wrap this with a message key
how do i edit this documentation to give something like
{"message":"API documentation retrieved successfully","data":{"openapi":"3.0.21","info":{"version":"1.0.0","ti....
please help😭
Mehmet
Which action are you using to fetch documentation?
Mirco
Ferrum
but i dont know how i can
Mirco
Ferrum
how do i do that here please?
schema_view = get_schema_view(
openapi.Info(
title="Send Mail API",
default_version='v1',
description="A Microservice for Sending Emails.",
),
public=True,
url='https://email.microapi.dev/v1/',
permission_classes=(permissions.AllowAny,),
)
Mirco
Nope you need to decorate your view
Mirco
Armstrong
Please anyone integrate Chatterbot on django before?
Mirco
Doragonsureiyā
Please anyone integrate Chatterbot on django before?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Armstrong
Chatterbot in django...integration...
Cohen
Hello everyone
Cohen
I have some python test, that was once passing, but now they are failing.
Cohen
It’s a Account_id from moto.core
Cohen
Moto/core/models.py what I found in github, had about 50 more additional line, from what I had. I copy and paste it, but I’m still getting the same error.
Cohen
ImportError: can not Import name “ACCount_ID’ from ‘moto.core’
Cohen
Some suggest this group.
Cohen
That’s the reason, why I’m here.
Cohen
I’m willing to compensate for your time.
Cohen
I was about deploy it to production, but it fail, do to my test.
Cohen
I’m using CDk to deploy it.
Cohen
My test is the issue.
Cohen
I have a GitHub page, that I can share, if anyone is available to help.
Cohen
https://github.com/ccarrylab/mock_test_aws
Jamil
Hey guys, which one is more professional, django token auth or jwt token auth?
OneZer0
Guys, good night ... I'm getting a file from the databases that arrives for me in the byte type.
I need to somehow save this file, even if it is temporarily in memory for reading.
Can someone help me?
Jeevachaithanyan
Anonymous
How to add weather forecast with Django in my website ?thanks
isa
Anonymous
Anonymous
i want to use search filter by month in django for visitor entry detail
Anonymous
plzz tell me solution
sarang
Hey can we add multiple choice field in model???
Gil
sarang
Ok
Anurag
i am facing problem in using apscheduler anyone can help
Anurag
https://medium.com/@mrgrantanderson/replacing-cron-and-running-background-tasks-in-django-using-apscheduler-and-django-apscheduler-d562646c062e
Anurag
i am using above blog
Anurag
plzz help me above are the codes i used in specific file
Mirco
!paste
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
Anonymous
!paste
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
Cohen
Hello everyone
Cohen
Happy Thursday.
Cohen
I’m getting NotImplentedError in my Unit rest can anyone help?