Vaibhav
List view
Have you passed the field name in list view, also use paste bin
mr
Problem is that there is allocated column but it not showing up in it
Vaibhav
ky
TypeError context must be a dict rather than Context
mr
Can't tell without looking at code or ss
Are you interested in admin.py
Vaibhav
Doragonsureiyā
I cant share pic here
To share code or error tracebacks, use a pasting service, like: - https://linkode.org - https://dpaste.org
Osinaike
Please who has materials on Django rest framework or videos that I can watch
mr
It's doc is really nice
Python
Django REST API
Doragonsureiyā
Please who has materials on Django rest framework or videos that I can watch
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Python
Please Make video
Maxim
Please Make video
use youtube search bar
mr
Does anyone know how can i add printer button to django admin so that i can print the list view of a model into pdf?
Farhan Hasin
Django Rest Framework is Basically implementation of REST API right?
Farhan Hasin
I'm looking forward to build two separate django apps where one will have forms and it's data will be stored in firebase. and the other app will display the data of that particular app in it's frontend. Can anybody suggest me a tutorial where I can get started, first time using REST API
Farhan Hasin
I know but I need to have two different apps deployed in heroku. then use rest api between them
mr
Try this is https://github.com/crccheck/django-object-actions
I think it will be changing all the models, i mean it will put that button to all models right?
mr
I wanna put export to pdf (print) button to one model list view
Hossein.A
mr
This allows you to do any custom fashion on the Django admin
Would you have some solid examples for that lib?
Harry gorilla
While creating new templates in django, i have seen people using different stiles in the project settings and am wondering which one is better ? 1. 'DIRS': ['templates'], and 2. "DIRS": [str(BASE_DIR.joinpath("templates"))],
Farhan Hasin
Can anybody explain me what's a formbuilder and how can I implement it? Suppose I want my user to build forms and submit values.
Farhan Hasin
also what's a job builder element?
Heet Raval
Hey I have doubt can someone help me
Doragonsureiyā
Hey I have doubt can someone help me
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
Axror
Hi everyone. How can I do auto generate certificate in django?
Arpit
going to start a project on web chatting application in django anybody wanna join ?
Axror
what certificate
When students complete course, given certificate
Д
When students complete course, given certificate
why do you think this is enough information to even *remotely* begin to answer your question
Enes
Hi everyone. How can I do auto generate certificate in django?
you can make a template and use dynamic fields in this template and then save this template as pdf. I took certificates on LinkedIn Learning this is how I took my certificates on the platform
Enes
Hi everyone. How can I do auto generate certificate in django?
the template is totally need to be a designed as a certificate
mr
Hello, how can I edit history functionality in django admin?
mr
https://yalchin.info/media/images/photo_2022-03-12_00-51-05.jpg
mr
I would like to add some more columns here
ابو السباع
Hello everyone. I need a good step by step Django course with coding examples. Can some one point me to a good one that is free or inexpensive?
Doragonsureiyā
Hello everyone. I need a good step by step Django course with coding examples. Can some one point me to a good one that is free or inexpensive?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Rutherford
I’m learning Django Rest Framework. Going through the source code of RetrieveDestroyAPIView, I realized that after querying the database for all entries, it then filters the results based on the FilterBackend. Why can’t we filter directly on the model when defining the queryset attribute rather than call .all() on the table?
Sourabh
I am newbie any tips
Rutherford
you can sure. who said you can't filter it in queryset?
Going through the get_queryset code, they called for all the instance before running the .filter on the results.
Azizbek Xushnazarov
Going through the get_queryset code, they called for all the instance before running the .filter on the results.
"Return a new QuerySet that is a copy of the current one. This allows a QuerySet to proxy for a model manager in some cases"
Enes
Hello everyone. I need a good step by step Django course with coding examples. Can some one point me to a good one that is free or inexpensive?
Hello, Go with Corey Shafer. https://youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p You can improve yourself about class based views. In this tutorial you will create a CRUD app with Class based views instead of Function based views
Alen
Does anyone know how to get user details in forms? Other than passing them from views?
Maxim
I am newbie any tips
read the pinned post
Adhil latheef
web: gunicorn --bind 0.0.0.0:8000 money_track:$app deploying django app on heroku... what shoud be the 'app'(project name= money_tack, heroku app name = money-track-project) Path to manage.py in heroku is money_tack -> money_tack -> manage.py
Mayur Parmar
this site is proper for load static write online on template?
Mayur Parmar
this site is proper for load static write online on template? https://djangoloadstatic.com/
𝙼𝚊𝚜𝚑𝚑𝚞𝚛𝚋𝚎𝚔
Hi with Image.open(staticfiles_storage.path('num.jpg')) as im: font = ImageFont.truetype('arial.ttf', 25) text = 'Hello World' draw = ImageDraw.Draw(im) draw.text((50, 50), text, font=font, fill=(255, 255, 255)) im.save('result.jpg') ❗️ TypeError: color must be int or single-element tuple ???????
cr
Easy way to convert value in Indian format ( Comma separated)? I have searched for Babel package but I don't want rupee symbol
Anonymous
Hallo new to the group and new to django any help on how start??
Doragonsureiyā
Hallo new to the group and new to django any help on how start??
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Vignesh
Guys.. Any good tutorial to have clear knowledge over ORM concepts of django??
Rebellion
In django nested serialization, it shows all the fields of nested serializer class... Is there any way to show only specific fields of nested serializer class..? Thank you in advance..!
kritikos
Does anyone know how to get user details in forms? Other than passing them from views?
Overide init method of your form and try to pass user Object when you instantiate it . https://stackoverflow.com/questions/5119994/get-current-user-in-django-form
Saddam
How to do form validation in Django
Saddam
With js
Vaibhav
With js
Override it 😅
Saddam
For example in contact number it should accept only 10 numbers
Maxim
How to do form validation in Django
google js form validation django
Saddam
Kk