Shilpy
Hi guys,
I'm using rest-auth login API and when I'm making a post request it's is throwing an error
"non_field_errors: Unable to log in with provided credentials"
And I'm providing correct credentials.
Can anyone help me in this?
Shilpy
ꪉꫝꪖꪹᦋꪖꪜ
Okay
игорь/igor
Siddharth
Class Doctor(models.Model):
user = models.Foreignkey(User, ondelete = models.Cascade)
specialist = models.Charfield()
Siddharth
Class Appointment (models.Model):
appointment_id = models.IntegerField()
Patient_ name = models.charfield(max_length = 50)
Diseases_related = models.Charfield(max_length=20)
Siddharth
I want to pass the patient details related to specific diseases to specific doctor
imthiyaz
how can i add an favicon to my django website
игорь/igor
imthiyaz
ARBAAB
игорь/igor
Look up your url.py file and change it according to tutorial
игорь/igor
игорь/igor
Don't send private messages, please
игорь/igor
For instance
https://simpleit.rocks/python/django/django-favicon-adding/
игорь/igor
Okay
Are you guys having same home assignment? Appointment, doctor, patient
imthiyaz
ok
imthiyaz
imthiyaz
imthiyaz
😞
Pouya
add
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
after urlpatterns at urls.py file of your project name
Ramtin
can someone help me by defining this function get_absolute_url in Django ?
Raj
Hi guys, give me an idea how to generate token using jwt when a new user register.
Mirco
Amir
Hello, does anyone know why when I change the article status in admin panel, then I refresh the page, it shows that product again?
if I run the project again, it will work?
Позывной "ПАПА"
show it in src not data
<object> has no src attribute
as a temporary solution, I placed it in the <img> tag. But I still need it in the <object>
Morteza
Saurav
Anonymous
Morteza
Eugene
Guys, what should i do with that: "django.db.utils.DataError: smallint out of range" ?
I tried to deployee django app on heroku with dyno :/
mAXY
Does anybody know about custom jwt token
Doragonsureiyā
Does anybody know about custom jwt token
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
mAXY
Oki
mAXY
Actually i wanted to link jwt with my user model but instead it taking django.contrib.auth.models User (superuser)
Anonymous
God
Does anyone know how to fix merge conflict issue of Pycache folder?
5P34R
yendo
Anonymous
God
but everytime it shows some changes
Any workaround for this?
Anonymous
You can add them to gitignore in both branches and commit
Or delete in both branches and commit
Doragonsureiyā
Rule 1⃣: Speak English.
God
Siddharth
By using queryfilter, it is returning none but data is present is database ? Anyone can help me
pranit
Guys can anyone know how to set Django uWSGI in azure server
Vipin
I have a doubt.
I have a table Containing Product name ,Quantity, Unit price, Tax rate Like that .I wanna select product name by using a get api
That is already i done But i wanted to get the unit price amount ...and tax rate of corresponding product in to corresponding table row .. after selecting product name How can i perform this bro Please help me
Vipin
Guys
Saurav
Hian
has anyone already used django chennel for websockets, is it worth using it?
Hian
Hian
is it worth using?
Ikki
Ok
Charly
those numbers need a timeframe, is not the same 2k concurrent user than 2k users per day, or 50k users per minute than 50k total users
Sai
Hi
I have more than 1000 products. Where the end date (until product will shown to user) will keep on change after each user transaction on that product.how I can update the product end date on other user screen who not even made any transaction
Alex
Alex
There is also push api in modern browsers, so you can invert that scheme, but I cannot say much about it.
Sai
Sai
Alex
Sai
Okay websocket is power👍 I will stick to that for this time
Sai
Does django channels works in WSGI
cj
Sai
My total backend is on WSGI now I want to integrate websocket. moving from WSGI to Asgi is good? Or any alternative approach
Позывной "ПАПА"
Why svg image is not displayed in django?
i try
<object type="image/svg+xml" data="{{ project.icon.url }}" class="card-img"></object>
in browser i get:
<object type="image/svg+xml" data="/media/fa.svg" class="card-img"></object>
but SVG is not displayed
it works on pure HTML
also <img type="image/svg+xml" class="card-img" src="/media/fa.svg"> work in django
Charly
cj
Sai
cj
you'll have issues, but you can fix them
but if you didn't get any issue, well, good luck! nothing to be worried about
Sai
Позывной "ПАПА"
Sai