Anonymous
Anonymous
Manheevak
Which one is better for django react or vue? or any other frontend framework
Manheevak
and anybody used tetra framework in their project?
Manheevak
Андрей
tell me good documentation on prefetch_related
cj
Manheevak
What's you preference 🤔
Manheevak
OK ty 😊
Na
Hello, any one help in to learn django together
Vishvajit
Best Django Model Manager:-
https://docs.djangoproject.com/en/4.1/topics/db/managers/
https://www.programmingfunda.com/django-model-manager/
Forrest
Good evening, I have to create a web API that is going to be used by 10 or 20 workers and the supervisor should be able to create groups with them to work on different things. My doubt is that Django already comes with that option by default using the admin site. Should I create a separate template for them to do those things or limit permissions and let workers go to the default admin page?
Jay
When I clear the image it should be set to default but it is not happening
Jay
Please help
Jay
I want to prevent deletation of default image when I delete image using updateview
Jay
I want to delete only uploaded image not default image
Fifiboss
Rex
hi guys ,
how can i best update the list in the table which is only printing in the console but not the UI
Sinan
Rex
how do i make ( View site) in django admin site linked to my other page when i click it.
Hello
Hey! I have a question...
There is an option to create a dictionary as a field in the object on models.py?
P
Hi,
Is there anyone who know how to deploye a website in azure Virtual machine using django?
Anonymous
Hello everyone
How can i use JWT auth in Swagger UI in DRF?
Mirco
Mirco
Anonymous
Share your settings of drf-yasg via pastebin
SWAGGER_SETTINGS = {
'SECURITY_DEFINITIONS': {
'Bearer': {
"type": "apiKey",
"name": "Authorization",
"in": "header",
},
},
}
Mirco
IM~Exynos
Which is the proper way to create custom logs in db?
Anonymous
Mirco
Doragonsureiyā
Иззатулло
Hi guys
Can you please tell me better email service provider that's free and easy to configure for django projects
Иззатулло
Ram
Can any one tell Important points for resume on django
Anonymous
How can i filter by number range in django admin.
Anonymous
I need to filter by range of price
Doragonsureiyā
You're welcome! 😊
Sayidbek
Anonymous
I added field price to list_filter but it doesnt filter by range
Sachin
How to call method in another method in python
Hcen
After learning the basics of Python and making a small application with pyqt5 And I want to enter web development, do you enter through django is good!
Daniel
Hello, can someone please help me with uploading a file from react to django. When I pick the file in react, I want it to be stored in the django project's media folder.
Thank you
Fakhteh
Hi, I'm gonna run html page with django and when set urls.py and settings.py and run python3 manage.py runserver, I see : ImportError: cannot import name 'homePageView' from 'pages.views'
Why?
Avii
Sayidbek
Fakhteh
Def function in views py
Def index(request):
template = loader.get_templates('index.html')
return HttpResponse(template.render())
Anderson
Hello guys, I'm struggling to use Django admin site to upload image to firebase cloud storage, I have firebaseConfig setup in view.py. any help please🙏
sufiyan
Hello, I have two app in my project and I'm not able to redirect the url to to {% url 'user-profile' project.owner.id %} from project.html, I'm attaching one file for both models and separate html
sufiyan
https://linkode.org/#bEkIDOXTJMkCC3LA0Owni2
sufiyan
my error is ;- Reverse for 'user-profile' with arguments '('',)' not found. 1 pattern(s) tried: ['profile/(?P<pk>[^/]+)/\\Z']
sufiyan
I'm new django can anyone help me?
sufiyan
https://linkode.org/#Fhs47kYVa2YbRucA6JKVR2
Alex
sufiyan
when i remove the url link from the above html code and fetching the detail in <p {{project.owner.id}} /p> tag its giving me an id but i don't know what wrong with url
sufiyan
Alex
in {% url 'user-profile' project.owner.id %}
parameter "project.owner.id" is passed in url 'user-profile'....
what contains url 'user-profile' in urls.py?
sufiyan
https://linkode.org/#pYLuags22jyW3paRsOyK74
Alex
and need see wievs...
sufiyan
Alex
ok
Alex
views.py?
sufiyan
Yes wait minute
sufiyan
https://linkode.org/#Pmx4vOnTPVeKn0OIO5BeA2