Faiz
I want to learn django can u refer a good youtube tutorial video
MR Nemo
Hi, i have a queation about good coding and performance(i am new in django), is it good that 1 template handle 3 types of urls?
Foe example:
I have 3 urls about posts:
1 - user posts
2 - posts that user liked them
3 - posts that user saved them
That 3 above have the same template codes(except title + h3 tag )
So, i created one template and the 3 views of urls send their queries to this template, is it a good cooding and performance?
I think my way is not good for team working...
️امیر
MR Nemo
Yahya
is there any video tutorial for basic hospital management using django rest_framework
Maxim
ishaan
has anyone tried integrating AWS s3 with ckeditor. I m able to upload the images on s3 through editor, but ing is not loading in editor
Chuks 🐋🐋
Has anyone use Django ninja here
Doragonsureiyā
Has anyone use Django ninja here
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! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html
greenspectactles
I have a hosted app on appliku with a digitalocean droplet. I cannot get pytesseract or tesseract-ocr working. I keep getting this error - Error during processing: tesseract is not installed or it's not in your PATH. See README file for more information.
I checked in my root and app shells, i have it installed and the PATH as well
greenspectactles
Please could someone help
Babak
If we want to build a site that has a service and products section, we need to create a url and view for paying money for each one?
{M,E}
I am starter please help me
Doragonsureiyā
Tukwasi
Hello good day all , please I need your help
Yahya
Wei Xiang
Is it possible to integrate OTP and LDAP authentication with Django?
Mirco
Wei Xiang
Ok. If share link would be helpful. Like references.
Maxim
Sing
I am using fcm to send push notification with topic based notification.
From 10days i am getting an error api depricated.
Can some one help me i need to upgrade the fcm api? Or need to do fixtures ?
Sing
I didnt find any updated version too
Ssergi0o
Can someone help me, i want to deploy my django app, on aws with gunicorn, nginx and ssl certificate for custom domain, but every time i try to do this i face with some problems: couldn't establish static files even though in nginx conf file everything seems well, or other problems
Ssergi0o
Or maybe u know some good tutorial for all this shit
Vova
Ssergi0o
one second
Ssergi0o
could i dm u?
Ssergi0o
server {
listen 80;
server_name {my domains} ;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
alias /home/ubuntu/BlogGitCopy/staticfiles/;
}
location / {
include proxy_params;
proxy_pass http://unix:/home/ubuntu/BlogGitCopy/mysite.sock;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Ssergi0o
that's configs
levi
Arman
Out of your commercial experience, what is the most popular way of implementing admin interface 1. Default 2. Third party (jazzmin, volt, etc.) 3. Custom. Also any recommendations will be appreciated
Charly
Charly
I mean, it really depends on your specific needs
Charly
Дмитро
pranit
Hii, can any one help me regarding the django project setup on Ubuntu server on subdomain
mahyar
class TicketCommentsWithAttachmentsView(APIView):
permission_classes = [IsAuthenticated]
serializer_class = CommentWithAttachmentsSerializer
def get(self, request, *args, **kwargs):
ticket_id = kwargs.get('ticket_id')
try:
ticket = Ticket.objects.get(id=ticket_id)
except Ticket.DoesNotExist:
return Response({'error': 'Ticket not found'}, status=404)
comments = ticket.comments.prefetch_related('attachments').all()
serialized_comments = self.serializer_class(comments, many=True).data
return Response(serialized_comments)
path('ticket/<int:ticket_id>/comments/', views.TicketCommentsWithAttachmentsView.as_view(), name='ticket-comments-with-attachments'),
hello friends
I have an api here but it is not showing in swagger(drf_yazg)
please help
Sajjad
Sajjad
David
Hi everyone! What WYSIWYG would you recommend for Django admin panel?
David
Thanks Pablo! I've been trying ckeditor but it seems no longer supported for django. I'll take a look at quill :)
Ashish
Page not found (404)
“C:\Users\BOORA\Desktop\Django\mysite\media\38559396.jfif” does not exist
Request Method: GET
Request URL: http://127.0.0.1:8000/media/38559396.jfif
Raised by: django.views.static.serve
how to fix it
Jeremias
dr.Ibrahim
soMandla
Hi everone , Im facing a difficulty here , my power shell and my CMD cannot recognize "pip" , when I run the commands for creating a djongo project but I cant even setting up my virtual environment since pip is not recognized, if you got help pls assist
soMandla
I have installed python but when I check for a version to confirm it says python is not found
Un Poco Loco
Charly
soMandla
Charly
Charly
if you write python does it work or not?
Charly
Hercules
Doragonsureiyā
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! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html
Varun
I deploy my website on ubuntu webserver,my static files are rendering but when I open admin panel,it does not render static js and css file
Varun
Solution
Pablo
Pablo
Varun
No,Can you tell what this command do
Pablo
No,Can you tell what this command do
It gathers all the static files in your project (your project static files and admin dashboard) into a central location that you specify in your project settings.
Since you are deploying live to a VPs, I will suggest making use of whitenoise to serve your static files. The video below explains exactly how to do that:
https://youtu.be/OeywgMArAGM?si=rFxvDXmJuRbat1lt
Varun
Ok thanks
Amir
Hello friends, I hope you are well, Django does not recognize css files, what should I do? I will also send you a sample code.
Aju
Amir
Can you explain more?
Hercules
Amir
It is not possible to send photos in the channel
Michael the wolf 🐺