Rishav
so what changes should I make?
clouded
so what changes should I make?
Use the appropriate Python version.
ABDUL RAHIM
How can I run a python manage.py runsever on my project, if the project doesn't have manage.py file on it
cj
How can I run a python manage.py runsever on my project, if the project doesn't have manage.py file on it
if there's no file, you can't run it... isn't it logical?
King
Anyone have an article on how to handle cookie auth with drf and vue spa 🙏
Charly
Anyone have an article on how to handle cookie auth with drf and vue spa 🙏
SPA usually don't use cookies, do you really need it? Why don't you use more common approaches?
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
Can someone share any yt playlist of python Django project which can be useful for beginners?
Bhavin
I am trying to connect the websocket but it closes automatically
bidlo
which buckets are more useful, and better than others to django integration ?
.
Could you please tell me how to create a form with a dropdown, where you can select items by double-clicking, and then pass them on through a POST request?
Manish
Can someone tell me what to be done if crispy forms is not working in django??
Prince
Can someone tell me what to be done if crispy forms is not working in django??
Here are some few checks you might need to consider : 1. Ensure 'django_crispy_forms' is registered in settings 2. In templates 'load crispy_form_tags'
Fikir
hello guys I want to learn django step by step any one help me
Fikir
Welcome
I thank you
Rampertel
First you need to learn python before jump to django Are you familiar with python?
Rampertel
yes I have basic knowledge about python
Okay nice Now you can start learn django through django documentation and tutorials
hamid
yes I have basic knowledge about python
You should learn OOP before Django
Fikir
You should learn OOP before Django
I already did that boss
Eric
please help me where I can find those resource
Start with the official Django docs on the Django website. they even have an initial tutorial
Sergio
Hi all! Could anybody please suggest any guide on deploying the Django Project step by step? Thank you in advance
cj
Hi all! Could anybody please suggest any guide on deploying the Django Project step by step? Thank you in advance
just read the official documentation: https://docs.djangoproject.com/en/5.1/howto/deployment/
Monata 🖤
Hello everyone who has django books please send me doesn't matter in Russian or English
Doragonsureiyā
Hello everyone who has django books please send me doesn't matter in Russian or English
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Sergio
thank you guys
Серега
Hello everyone, please tell me how I can display a changelist template (where all instances of the model are listed) in the Django admin inline field instead of tabular inline or stacked inline. I would be very grateful!
Artem
please help, how to solve this problem? ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)
Doragonsureiyā
please help, how to solve this problem? ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase.
~
hi, can you remind me of a library that showed how many requests there were in the database via the terminal, like django query count
Nandu
hey anyone knows webscrapping
Charly
hey anyone knows webscrapping
Django is not for webscrapping
Mukhil
Hi Friends, I currently have a Django project that is accessible from anywhere using Django’s built-in server, but it's running over HTTP. How can I configure it to use HTTPS instead?
Charly
why bro but it is working properly...
because it was made only for development
Mukhil
Ooooo so which i need to select ?
Maxim
why bro but it is working properly...
security and performance considerations
Charly
Ooooo so which i need to select ?
There are some options, my favorite is nginx and gunicorn
Mukhil
ok bro i need to learn that ...
Vinay
Can anyone help me to stream a live video in the html template (browser) using django channels?
Charly
Can anyone help me to stream a live video in the html template (browser) using django channels?
What's the source of the video? And why channels instead of a proper media streaming protocol?
Vinay
What's the source of the video? And why channels instead of a proper media streaming protocol?
Source is rtsp url, First I want to stream a 5 min mp4 file. I used streaminghttpresponse but it is not working as expected. I have a GitHub repo source which is using django channels and streaming live video, it is so complicated for me to understand. I appreciate it if you can help me 🙏
Vinay
What's the source of the video? And why channels instead of a proper media streaming protocol?
So far I only know about django channels, could you please suggest what other media streaming protocols I can use to stream a live video in the browser
Anonymous
Hi, In the django rest framework project getting the error in the Authentication was used that was : { "error_short": "Module is not Assigned", "status": "failed" } Getting 403 forbidden error message to get the token
Anonymous
help me to fix thus issue raised in the django development
Anonymous
No Auth build in model used. Problem means _The request was successfully authenticated, but permission was denied. An HTTP 403 Forbidden response will be returned_ , _The request was not successfully authenticated, and the highest priority authentication class does not use WWW-Authenticate headers. An HTTP 403 Forbidden response will be returned
Seyed Alireza
Hi everyone How can I deploy a project Django with template on server Can help me or know video help me
Bhavin
You can deploy your Django project with templates on a server using services like PythonAnywhere, Heroku, AWS, or DigitalOcean.
Anonymous
You can deploy your Django project with templates on a server using services like PythonAnywhere, Heroku, AWS, or DigitalOcean.
Is it possible to deploy django with other will it run for user to generate the token
Bhavin
Yes definitely.
K
I'm using django i want to store audio files which is the best option for this?
Doragonsureiyā
I'm using django i want to store audio files which is the best option for this?
When someone asks for the "best" of something, it's important to recognize that such a request lacks meaningful specificity. The concept of "best" is inherently subjective and context-dependent. Without clearly defined criteria, parameters, and specific requirements, it's impossible to provide a meaningful recommendation.
roman
Hi everyone, im having trouble starting up django server: (ImproperlyConfigured: AUTH_USER_MODEL refers to model 'users.User' that has not been installed) - My app is located in core.apps.users - In INSTALLED_APPS setting im defining this app as: 'core.apps.users' (I’ve also tried defining it as 'core.apps.users.app.UsersConfig' and it didn’t seem to work) - In AUTH_USER_MODEL setting I’m defining User model as: 'users.User' - My User model is located in models.py inside users app - My app configuration name (UsersConfig.name) is defined as 'core.apps.users' I’ve also tried defining app_label='users' in my Users model metaclass, defining label='users' in UsersConfig, registering User admin and changing my User model to Django default User model. All of that didn’t seem to help.
roman
if you defined in INSTALLED_APPS the value 'core.apps.users' then you should use the same path for AUTH_USER_MODEL as 'core.apps.users.User'
I’ve also tried that, same error. And i don’t think it’s right at the first place: From official documentation of this setting: “this dotted pair describes the label of the Django app (which must be in your INSTALLED_APPS), and the name of the Django model that you wish to use as your user model” the label in this case is the AppConfig label attribute which is calculated based on name attribute and should be a valid Python identifier – do not contain dot/s
ℳℴ𝒜𝓁𝒾 𓂀
Hello everyone Im doing a project I want to make random and unique slugs for my models. Can you guide me?
ℳℴ𝒜𝓁𝒾 𓂀
Like a UUID?
Yes by 6 digit
ℳℴ𝒜𝓁𝒾 𓂀
And the slugs should be unique among the slugs of other models
Mahnoosh
Hey, how can we connect drf to a simple html/css frontend? what is the best way for it? If there is some good tutorial vid or doc for that, please send me. Thanks
cj
Hey, how can we connect drf to a simple html/css frontend? what is the best way for it? If there is some good tutorial vid or doc for that, please send me. Thanks
what do you really want to do? there's no "best way", because there is only "one way"
Mahnoosh
what do you really want to do? there's no "best way", because there is only "one way"
I'm beginner and I dont know that one way, I just find videos about connect drf to react or sth like that, but I want to connect to a simple html and I dont know how, I lost the way, Can you help me?
cj
I'm beginner and I dont know that one way, I just find videos about connect drf to react or sth like that, but I want to connect to a simple html and I dont know how, I lost the way, Can you help me?
you build APIs with DRF, right? APIs can be "consumed" by any client... if you want to fetch data from that API on a simple HTML , use JavaScript's fetch(...) [1] function and be happy [1] https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
c
I built a django project on crm but im confused how to provide different ui for wender and customer and also wender need to have separate credentials and customers need to have separate credentials and both should have to login from the same ui and how to build it .? And how to create a wender account after deployment
c
Could anyone help me with this.?
MaX
You can just define role in templates
MaX
Or redirect the customer based on the roles to respective ui