Faeze
https://pypi.org/project/django-jalali-date/
there isn't in this link I want to list the date i get from datapicker in html
Faeze
what you receive from the form actually?
due_date = forms.DateField(widget=forms.DateInput(attrs={'type': 'date'}))
Faeze
what date are you receiving now?
that's what display on html <jalali_date.fields.JalaliDateField object at 0x000001491949C940>
Muflone
you have confusion between frontend and backend
Faeze
you have confusion between frontend and backend
my problem is how to display this field corectly
Muflone
in the documentation there's an example for that
Prasad
Hi guys....is it possible get body measurements using mobile camera
Prasad
Like when capturing photo of a person
Doragonsureiyā
Hi guys....is it possible get body measurements using mobile camera
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Necro0
Hey i am having an issue with django rest framework social google oauth2, i am sending a post request, it's showing me an error forbidden
Necro0
I followed the ways from medium website
Necro0
Details like?
Necro0
I am having two routes
Maxim
Maxim
Details like?
at least error
Necro0
this is coming when i am doing a post request bro
Necro0
<title>AuthForbidden at /api/register-by-access-token/social/google-oauth2/</title>
Necro0
this error i am receiving saying the oauth2 is forbidden
Necro0
i did followed the tutorial on medium website correctly but then also it coming, i have never used drf authentication before bro, hope you understand the problem
Володимир
Good morning, who understands htmx can not make a normal request to the server to make, need help)
Necro0
AuthForbidden at /api/register-by-access-token/social/google-oauth2/ Your credentials aren't allowed
Necro0
this error is coming
Targoon
generally, i am asking what rabbitmq does and why is it used, and what for
Maxim
ashu
How can I check if my database is connected with website on locolhost
Cipher
NEED HELP!!! I am creating a multi-microservice project (it's an e-commerce webapp) using Spring Boot. I need help in understanding how I can introduce Spring Security to this project. I know how to do this for a single microservice app.
ashu
when comes the Django question?
My question is based on django 🥺
ashu
I have simple question I extract the zip file from c panel and to run my local host but when I give command python manage.py runserver they always create No database variables set
ashu
I also created.env file
ashu
And create a database_url
ashu
Sqlite
Muflone
explain your REAL problem without translating the error messages you're receiving
ashu
Ohk I want to know that when we extract any zip file from c panel to run in local host how we connected with database
ashu
I don't create this project this is real project which is created another developer who is working previously here
ashu
I have to only access to extract from c panel
Muflone
again... https://t.me/django/252218
ashu
I have a error which is No Database _url environment variable set, and so no database setup
ashu
How to solve this problem
ashu
When I give command python manage.py runserver
Muflone
When I give command python manage.py runserver
copy the whole error message, without translating it
Muflone
Django doesn't use the environment variables for database, so this could be part of the code your colleague wrote
ashu
They use sqlite database
ashu
So it is related with database
Muflone
django uses settings.py, not DATABASE_URL
ashu
How I share pictures Is is easy to explain my error
Maxim
error is TEXT
ashu
Sure
Muflone
developers don't use pictures, they write code and read messages
ashu
Can you give some basic if I want to know that we are connected with database or not then how I will know
ashu
Idea*
Muflone
Can you give some basic if I want to know that we are connected with database or not then how I will know
if your code is not running then it's not connected as I told you before, django uses settings.py to configure databases
ashu
Ohk thanks bro
Cipher
when comes the Django question?
Whenever the task comes up.
Muflone
Whenever the task comes up.
ok, so until now, no Django is involved
Faeze
I hve a problem in my django code with login I customize create_superuser, but Now I cannot login with custom user. any expereiance?
Muflone
How I configure the database with settings.py
the default settings.py has the databases dictionary in it
ashu
Yes
ashu
django.db.utils.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([WinError 10061] No connection could be made because the target machine actively refused it)")
ashu
This issue comes out but I am not using the MySQL database using only sqlite
Muflone
What's in your settings.py?
Maxim
Demsy
Hello guys. Pls I'm getting an error that "This app can't run on your PC" This happened when I wanted to startproject and startapp using cmd
Demsy
What command you executed?
Django-admin startproject myproject
Muflone
Django-admin startproject myproject
Does this command return the aforementioned error?
ashu
check the settings, they are definitely for MySQL
There have two database which gives condition if and elif
ashu
First one is sqlite