Gaurav
Models can be access via frontend
Gaurav
Without api
Shine
DevTools failed to load source map: Could not load content for http://127.0.0.1:8000/static/core/js/bootstrap-select.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
learner
Hi Guys, I have to show start time on webpage. Start time is retrieved from db. I want to add 5 hours 30 minutes to start time and then display it. Also I want to show original start time. Eg: if start time is 13:30, it should display 13:30 & 19:00. Is there is any way I can do it in template itself? Thanks in advance..!!
Kool
Hie guys,i am using ckeditor for my emails and an html template. The problem is that the template is working fine but the ckeditor html tags are displayed as text in the email, what should i do?
Pr
Can anyone plz give link of django project where all django covered
Asadbek
Can anyone plz give link of django project where all django covered
just google it, there are bunch of them on github
Ivan Putra
r
Hii
can you help me with this
Hii
Create an application that has two apps. 1. User with user and Post model User : first_name, last_name, email, password, username Post : user, text, created_at, updated_at Foreign key relationship exists between User and Post on Model level not on Database level. 2. Products app with Product model. Product : name, weight, price, created_at, updated_at Both of the apps should use two different databases. Create a form that an authenticated user can use to create a post. Note: Register all models on admin dashboard.
Priya
How can I access google sheet using gspread in django project . I don't have credentials.json but I have google account . Can we generate verification code ?
Hii
yes sir but i am confuse with two different database i can create two different tables
ELYAS
yes sir but i am confuse with two different database i can create two different tables
I think you should implement this with sth like microsevices
Anonymous
makemigrate, migrate.
Jammula
yes sir but i am confuse with two different database i can create two different tables
Yo can migrate for both the user's...and that will create the tables in database respectively
Jammula
and sir i have two tables. i don't know how to create to DB
U don't need to create a db u have to connect the db to ur app
Jammula
Take the default db for user 1 and another db for user 2
Jammula
U can add multiple database in the settings.py
Hii
thanks
Jammula
yes
👍👍
Hii
and one more thing sir how i connect both database
Jammula
In setting.py...Core application
Hii
let me try
Jammula
Link hope this might help u
Damilola
*I think we should all quote messages we are replying to to avoid confusion*
Kool
Guys is there a free way of sending sms using django
Damilola
Sign-up for a trial account
Kool
SmS for what actually?
I want to send sms notifications to clients for a car repair garage site
Kool
SmS for what actually?
When repairs are complete, clients need to be notified via sms and whatsapp
Damilola
When repairs are complete, clients need to be notified via sms and whatsapp
Whatsapp may be a stretch in expense. SMS may be more affordable for small businesses. More brand focused too Although WhatsApp remains a big deal
Damilola
Huh. Twilio allows number transfers. It might be complicated though but you your research. Number transfers mean that you can come with your own number and send SMS though it. But I imagine that would mean you can't use the number yourself for call (not sure, just guessing). Still I believe it's possible.
Damilola
Ok, but is there a way i can use my own number for both
Also what Country you gonna be sending from?
tushar
I want to store a value in variable sessions I use this Request.session.['excel_id']=3 They show eror session store no object excel_id .so how I store this on session
Damilola
You can also check for country specific providers. Twilio is international though. Give them a shot.
Damilola
Besides Twilio, is there any other service out there
There are. Twilio is reliable is why. SMSes fail. So you wana go with reliable partners
Kool
You can also check for country specific providers. Twilio is international though. Give them a shot.
Will try them, am doing this for a client so I need something not financially demanding
Damilola
Oh ok, i get you there. So twilio is basically the best
You can say that. Don't be surprised to find that other services resell twilio
tushar
Not session.[excel_id]
Sry it's session['excel_id '] also
tushar
But having same
tushar
Eror
tushar
Can session can store any variable which is not related to user login deatils ????
Damilola
Yep
Damilola
Can session can store any variable which is not related to user login deatils ????
https://docs.djangoproject.com/en/3.2/topics/http/sessions/ Read up
Damilola
Can session can store any variable which is not related to user login deatils ????
request.session['member_id'] = foo As seen on the docs
tushar
Okay tnq
....
Hello guys ... I am beginner in django. . Lot of time spend with django signals . Watched some tutorials , read some articles , but not understood ,. Post_save , pre_save reciver , sender , The main question is why I am using django signals in a real time project .. I didn't get that , could anyone explain to that , some signal using cases. ? Also in every tutorial imported the 'User' , why .? Actually what is mean by that. . Pls.
Anonymous
it was 3 monthes ago since I did something in django, when I created new project I have noticed that in django secret key there is insecure keyword, how to generate a secure key?
Mirco
??? What. ..😕😕😕😕
read carefully and try to understand
....
read carefully and try to understand
Could you give me a real time example .. I mean , like a e commerce app or something like that. ?
Mirco
Could you give me a real time example .. I mean , like a e commerce app or something like that. ?
I gave you a real example The creation of a User Profile when a new user will be added to your application
Anonymous
How to set the color for AuthenticationForm validationerrors?