ɱσσɳ
Sh
Assalamu alaikum. Response class of DRF returns <Response status_code=200, "text/html; charset=utf-8">
Sh
in postman shows bad string
Anonymous
Beka
Abel
how can i make a patch with django rest framework
Artur
google it
Abel
i can't find a solution to patch only a single field
Pankaj
I just want a good tutorial on the django core concepts other than django docs(it very complex for me). can anyone suggest a book or video tutorial.
ɱσσɳ
Abel
Vitaliy
y
Hi. I have a problem displaying filtered objects through a form. How can i solve it?
code:
https://pastebin.com/bhcnxXrp
Etendra
Hey guys i have just start learn django restframework
Etendra
I'm facing problem during localhost error some one help pls
Etendra
?
Pankaj
Pankaj
Etendra
Almaz
Hello everyone! Just wondering. Where to put ordering in django, on model Meta class or in view queryset order_by? What is good practice?
Almaz
Vitaliy
When you define it inside Meta, it's automatically added every time you query model. Is it good or bad depends on your final aim.
Etendra
Want some good django restframework tutorial
Mirco
R.U.S.H.A.B.H
I want to learn easiest way to use python. Forms and how to call that in html/template how ???
Beka
Beka
What did you try?
Mirco
R.U.S.H.A.B.H
Wait I'll share code through pastebin
Sahu
Hello ,can anyone help me in get and post in django
Zerihune
I want to develop WordPress like site In django how can i achieve Runtime DB and dynamic models ??
Mirco
Zerihune
I have not relevant though
Mehmet
R.U.S.H.A.B.H
What is the use of class meta: in forms.py ... I don't know the usage of this class can anyone explain?
R.U.S.H.A.B.H
Endless Life
Django 3 - Full Stack Websites with Python Web Development : https://bit.ly/3guhlMM
I think this may helpful for beginners
Jun
What do you want actually?
Ferhad
Hi there.do i learn django restframework or else i can manage without it
Ferhad
Thanks
Maksudkhanov
class Post(models.Model):
author = models.ForeignKey(User, on_delete=models.CASCADE)
title = models.CharField(max_length=50)
content = models.TextField(null=True, blank=True)
created = models.DateTimeField(auto_now_add=True, db_index=True)
updated = models.DateTimeField(auto_now=True, db_index=True)
published = models.BooleanField(default=True)
Maksudkhanov
error: NOT NULL constraint failed: post_post.author_id
Maksudkhanov
could you help me, guys?
Muflone
Maksudkhanov
Muflone
so should i do it default?
if you have existing data you have to set a default value
or you have to delete the data
or you have to allow authors NULL, not specified
Vitaliy
Where from are you getting those ids if they are not in DB?
Sahu
Form ka action POST fir bhi run time pe get show kr raha hai .....django
Sahu
Anyone help me I stuck in this problem
Angela
Please someone help!
I want to have a referral system in my website, each user has a referral link and if a new user visits the website with a link then the number of visit will increase for that user ( that the link was used )
Artem
Hello. I have a Django project with Gunicorn as appserver, AWS Load Balancer and S3 for static. Do I need Nginx in this environment?
Mehmet
Artem
Mehmet
No actually, you can consider app-level caching only, this gives you more control on views and querysets basis.
Artem
Thanks
Anonymous
I just need some help..Imma got stuck
Anonymous
Anyone?
Anonymous
Дауран
Does anyone make blog website from Django
Anonymous
Дауран
I have made 1
Is there comment , detailview and Listview on your project ?
Vitaliy
Angela
Angela
I want it to count once
R.U.S.H.A.B.H
How to pass id with post in Anchor tag from html. > Views.py?
Muflone
R.U.S.H.A.B.H
use the querystring
But on html side I don't want to pass from form.... Without form can I pass?