ruthless
for examle str(some text)
Igor👨‍💻
what?
how can i learn django
Dirn
how can i learn django
What some tutorials on YouTube, build along with them and then try to build a small project by yourself
Wissam
You are telling the engine to check for templates folder in the project directory
I know, that wasn't my question. I was asking how could we concatenate strings like this with no plus sign. It turned out that BASE_DIR is not a string but it's an object from pathlib.path object
Wissam
If it is an object it probably may have any of the property containing the string, so use to concatenate
Sorry I didn't understand what you meant. My question was as simple as this: we concatenate strings like this "string1" + "string2 but in this case we didn't use a plus sign when we used BASE_DIR / "templates" so how is that possible?
Wissam
Os.path.join()?
I know it's another way of doing it
Wissam
I am not asking what it does or how to do it in another way
🏅♐Mark
Use pastebin
Ok thankyou for your response
Rud
First approach unless there are no risk attached to the data being called. Because backend filtering will avoid exposing the whole data at once
only for internal superior to see the web analytic dashboard and interact with it, so i think first approach will be okay? because its internal project. i dont know if it will get data leak issue
Doragonsureiyā
How can i learn django to replace flask in my HTML websites?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Vitaly
Bekzod
OperationalError at /admin/login/ connection to server at "postgres" (10.0.1.31), port 5432 failed: FATAL: sorry, too many clients already Request Method: GET Request URL: http://globaledubot.uicgroup.tech/admin/login/?next=/admin/ Django Version: 5.0.6 Exception Type: OperationalError what is the problem here?
Kunal
Someone please suggest me some YouTube channels for learning Django-Rest-Framework ...
Kunal
Jahongir
Hello, I needed a default django structure to use in real projects, if anyone has a perfect template, please let me know.
Achmad
alternatively use delete messages?
Zion
Google: Django cookiecutter
lovely project, @ja_khan_gir you can see the project in the repo itself, good team
Joy
Hi, is there someone to help me for a little project ?
Joy
I think I am stuck because there a problem with urls
baraa
I think I am stuck because there a problem with urls
You have to make sure that you have linked to an avaliable function in views.py
KAKASHI
Hi friends Is there any extension to make better Django tags in templates? I found one but when it's working the html tags suggester isn't working Do you know how can I fix this problem or suggest me a good extension for Django?
Kowsalya
Hi friends I'm a python and Java developer, willing to switch my career into django, how can I apply? I have 8 years of experience
Davron Ibrohimov
How to Add an AI to Django to Diagnose Human Diseases
Charly
How to Add an AI to Django to Diagnose Human Diseases
-Develop an AI with these characteristics - Integrate into Django
Charly
I don't know how to do it
Well develop an AI like that is something that a research would do. It is not easy nor a small project. And it has nothing to do with Django.
Charly
Is it possible to make it simpler?
No, I don't know how you thought that an AI like that would be something simple.
Davron Ibrohimov
No, I don't know how you thought that an AI like that would be something simple.
I think I didn't explain it to you well, it's my fault
Madhur
Can anyone please share resources to understand prefetch_related and select_related. From Django document I am not able to understand.
‹m›Javad‹/n›
How to write a class for user Sign up in views.py
Acquaintance
Is there any secured way to control access to the files in a specific folder? With something like this? if request.user != author_file.author: return HttpResponse("You are not authorized to download this file.", status=403) I need django to give that permission to the user
Miracle
How to Add an AI to Django to Diagnose Human Diseases
If it is a paid project, I can help you, I have experience building ML, DL, AI services. And then integrate it into your Django project.
Rahul
It's true, but what I meant by "fast" was that the course be optimal and not be long and boring by saying unnecessary things
Learn django rest framework from official documentation and integrate with any frontend technology ' angular or react or Vue js ' this is the fastest way
David
Hi, which is better, angular or react?
The one that solves the problem.
@SamahTech
I meant which one is better to start with.
Rahul
I meant which one is better to start with.
both use JavaScript . Angular is a framework like Django . you should try both, atleast make CRUD application , Authorization and Authentication. u will get a better idea
Rahul
if you worked on Node go with React . otherwise Angular
Никайтос
Hello. I'm trying to upload my staticfiles and media to s3 bucket. The problem is, only static folder gets uploaded and media gets ignored. Both media and static folders are in the project root. Settings: https://pastebin.com/t7HP2Dfc
Rahul
ohh you tried
Никайтос
ohh you tried
Yeah, It works fine with static, I see static folder in the bucket But not media :'(
Rahul
Yeah, It works fine with static, I see static folder in the bucket But not media :'(
AWS_DEFAULT_ACL = None # Ensure files are not publicly accessible by default try it
Mirco
Hello. I'm trying to upload my staticfiles and media to s3 bucket. The problem is, only static folder gets uploaded and media gets ignored. Both media and static folders are in the project root. Settings: https://pastebin.com/t7HP2Dfc
even better you should setup Cloudfront as only one permitted to access those buckets and use it as domain name so buckets will be private and you will have a CDN that is much faster and cheaper then accessing the bucket directly
RAEKEN
Someone help me out with logging in a user based on data in the database, not the authenticate import, just normal login
Mithun
Hi login page shows csrf failed but admin login is successful in CSRF_TRUSTED_ORIGINS I put my Domain Please help me from this
Kowsalya
Hi friends, if anyone refer internship jobs for django
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
I think it's everyone problem is it )
Mithun
Hi login page shows csrf failed but admin login is successful in CSRF_TRUSTED_ORIGINS I put my Domain Please help me from this
Joseph 🇬🇭
Can anyone help with an issue related to using POST for login and the django email notification code? I keep get an error related to SSL certificate. 🙏🏾