Yusra
djoser
it's not supporting latest version of django 4.0
.
Yusra
I want to use django-allauth library but I'm nor sure if it's supporting rest framework
cj
djoser
that package looks abandoned, it was good, I even used it in a big project like 4 years ago, but now djoser is not updated
cj
cj
Doragonsureiyā
Rohit
Hello everyone ,
I m stuck in a problem
I want to save the .json file which comes from javascript file and upload it on the database and when I fetch it from the database I want it to again send it to javascript file (from views to javascript file)
Anshu
Anonymous
Can we use simple jwt for custom user model
IDK
yes you can
TheDoc
Yes it's work !
Bryan Pior
👍
Anonymous
God morning, does anyone know how I can achieve this in django:
User:
name = ......
bio = .......
package = .....
expire_date = models.DateField()''' The expire date is generated based on the package the user is registered to'''
active = models.BooleanField(default= True)
'''Now what I am trying to achieve here is that when the expire_date == today, I want active = False '''
Vaibhav
Asadbek
Vaibhav
Himanshu
can we access cookieshtttponly in components of next.js?
Vaibhav
Asadbek
Yup ...
Could you share source code because I need to use this feature I mean scheduling for certain time in my application
Asadbek
Anonymous
Python Guy
https://dpaste.org/SLWw
I am trying to deploy using heroku but it's giving this error
Python Guy
after installing heroku cli, I am not able to activate my virtualenv. how can I access that
Jaya
hey how can i import my local sqlite db in deployed django app on heroku
Sanjarbek
Hi everyone, I can't update the #Django version that is on the #server how can I update
Anshu
Sanjarbek
Anshu
Did not work
Then try by specifically providing the django version
Sanjarbek
Anonymous
Hello everyone. I am having a little problem with django admin.
Say I have a model and one of the fields is a charfield with choices. I created a form for each choice, and a default form which I want to be my default add form. I want to display a different change form based on the choices from the model field on the admin model change page.
Thank you
Anonymous
Anonymous
When to use GenericApiView and when ApiView
Anonymous
I meant what's the difference between them
Anonymous
How i will be knowing which one is appropriate to use for my view
Mirco
Arsh
Hello everyone
Is there angon free to help me I templating it's urgent.
Arsh
In templating*
Arsh
How can I generate jinja2 templates
Arsh
With my own editing of templates
Mo Matin
Hi
Why could not my urls of my app get found when I run my server?
I have done all the things to define a url
Doragonsureiyā
Hi
Why could not my urls of my app get found when I run my server?
I have done all the things to define a url
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
Mo Matin
I'm using django Version 4.0
I'm trying to make a view:
def home(request):
return HttpResponse('Hi')
And I have put the app name in setting file, Installed Apps.
blog_app/urls:
urlspatterns = [ path('home'/ views.home)]
The project/urls:
urlpatterns = [
path('blog/', include(blog_app.urls'))]
I'm using python version 3.9
But the URLs could not get found, while in my tutors PC everything is working properly
Abdi
hamed.j👨💻
Hello, good morning, I wanted to change the default admin page to another new template, how can I do this?
Mo Matin
Piyush
Please help me
Show the error to me
AttributeError : 'str' object has no attribute 'read'
Charly
Piyush
How to use group
Dilibe
Hi, how can I create a DetailView after creating a form using Django inlineformset_factory
Juan
how to create api key on django rest api?
i see this link
https://florimondmanca.github.io/djangorestframework-api-key/guide/#creating-and-managing-api-keys
but still don't know how to create api key and look my api key
Juan
anyone can you share link video or article give api key?
Juan
🙏
Juan
i just want my link protect from anonymous
Anshu
Anshu
Juan
Juan
before I use like this
"DEFAULT_THROTTLE_RATES": {"anon": "100/day", "user": "1000/day"},
for protect my link
Juan
I want api key protect my link url api
Mysterious
How to write django default log to a centralized server
Anonymous
Anonymous
If ur budget is high or ur working on enterprise level
Vijay
Hello guys can anyone tell me i am using paytm payment integration so paytm want any charges for ourside