KALEAB
Hey guys please help me I am try to develop ecommerce website but i face some problems i can't add language option for my eccomerce website is there any django-library which used to add language option in my ecommerce
Anonymous
Виктор
Hello guys, please help to fix drf_yasg ImportError: cannot import name 'URLPattern' from 'rest_framework.compat' (/home/victor/dev/pmedic/venv/lib/python3 django 3.1.2 drf 3.12 yasg 1.17 what can i do?
Anonymous
I am using vscode
Go to terminal and run command there
Anonymous
tutorials on drf + spa + session auth is rare
You can simply host of react front end in static folder and trigger the same as an app. .. so u can use django authentication
The mint of Linux **
Виктор
Pls correct the import
is import in library, in new django urlpatterns deleted
Anonymous
For urls now you need to work with path
Виктор
For urls now you need to work with path
yes, im undestand, but what can i do with drf_yasg?
Anonymous
drf_yasg ?? You must have imported Urlpattern yourself pls check the file and change it ...I don't think it's an error related to drf_yasg
Darth✧
Why postgre ? Inbuilt database is not enough ? 🤔😳
Sqlite is only good for development purpose ( can't handle many users ) and automatically deleted your data in production env ( based on your plan) ..... Postgres sql or mongo db are good for production env
R.U.S.H.A.B.H
Heroku does delete the data of sqlite?
R.U.S.H.A.B.H
👍
Darth✧
It happens with me in free dyno *
The mint of Linux **
Darth✧
But we have to pay more for postgresql 😔😔
No....there is postgres db available in free dyno u can use it 🤷‍♂
The mint of Linux **
Where ?
The mint of Linux **
Heruku?
Darth✧
Yes
The mint of Linux **
But there I think u have to pay for ssl
The mint of Linux **
Yes
Then it's good 👍
Darth✧
But there I think u have to pay for ssl
Now I didn't know much about it 😅
The mint of Linux **
Okok I will check
The mint of Linux **
And if anyone knows...what is the limit of sqlite 3
The mint of Linux **
?? I mean storing capacity
Bunty chhatri wala..
And if anyone knows...what is the limit of sqlite 3
If you want to upload it on heroku then you have to use postgres.. 10K is the limit there.. Db can store as much data as u want..
Bunty chhatri wala..
The mint of Linux **
Yaaa.but it's unbelievable na ?
R.U.S.H.A.B.H
R.U.S.H.A.B.H
Nice
Anonymous
Where to store the token?
Like in local storage cookies?
Anonymous
I tried storing and sending it in a httponly cookie but its not gettinh set in client side
Rit
Guys help me got get codes for doing login api with generation of jwt token
Anonymous
Guys help me got get codes for doing login api with generation of jwt token
https://simpleisbetterthancomplex.com/tutorial/2018/12/19/how-to-use-jwt-authentication-with-django-rest-framework.html
Vaibhavi Bandi
I am new to django from where should I start
Vedant
I'm getting IntegrityError can anyone help me handle this error
Bunty chhatri wala..
Vedant
In my signup page
Vedant
For same username
Vedant
I want to print a message if Username is same but it is not catching the error
Star
I want to print a message if Username is same but it is not catching the error
R u talking about restricting someone creating same user name twice?
KALEAB
ANY one who knows how django provides multi language services or how django language translation works please say something
Anonymous
Can anyone help me to answer this question " can we make two sessions on the same project?"
Mirco
I've opened a PR to add compatibility for drf-yasg with DRF 3.12.x
Mirco
I hope they will merge it asap
Hamirul
anyone have react telegram support group link, mind to share please
Doragonsureiyā
anyone have react telegram support group link, mind to share please
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
shaz
How could I upload payment processing certificate in Payfort ?
maroong
My edit profile form does not save, keeps redirecting to the httpresponse https://paste.pythondiscord.com/odegimegir.bash
Hjk
I have three model i want 1 field from 1st model in 3rd and 2 field from 2nd in 3rd model, the data entering on 1st and 2nd model will have to automatically store on 3rd model, field will be same ... How to do that
Sadra
Why postgre ? Inbuilt database is not enough ? 🤔😳
Not just Postgres. Learn databases. As a Django developer, you need to know both SQL and NOSQL architecture. Postgres, redis, and Mongo are very effective. Never usr sqlite as your DB in the production. It's a server-less local database. Minimal version of MySQL but without serving method. So, it's insecure, weak, time-consuming, weakness in the management, and etc. You need to implement a service which serves DB utlis.
R.U.S.H.A.B.H
Now I'll implement postgre in my continue project
R.U.S.H.A.B.H
😌
Sadra
Yes
Flag unique parameter to True in the username field.
Chandra
Hello guys. Could anyone tell me which is the best platform to learn django?
Roman
Hey guys, if to my table that was created by migration wil will be added the column not by the migration ( some another people using the database) will the migration delete new column from the database ?
Adam
Hello. I am looking for people who specialize in hard drives and hard drive firmware. This is a job offer and I will pay you for it. I am also looking for someone who specializes in CPU architecture. If you are an expert, please let me know and if you know anyone working in this field, please introduce me.