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?
Asadbek
Pr
Can anyone plz give link of django project where all django covered
Asadbek
Jammula
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.
ELYAS
Jammula
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.
Is this some kind of assignment ?
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
ELYAS
Anonymous
makemigrate, migrate.
Hii
Hii
Jammula
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.
See here it's mentioned that u have to use two data bases
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
Hii
thanks
Jammula
Hii
and one more thing sir how i connect both database
Kool
Jammula
In setting.py...Core application
Hii
let me try
Jammula
Link hope this might help u
Priya
Damilola
Kool
Damilola
Damilola
Kool
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
Damilola
Sign-up for a trial account
Damilola
Kool
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
Kool
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.
Kool
Kool
Kool
Damilola
Kool
Damilola
Damilola
tushar
But having same
tushar
Eror
tushar
Can session can store any variable which is not related to user login deatils ????
Damilola
Yep
Damilola
Damilola
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.
Mirco
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
....
Anonymous
How to set the color for AuthenticationForm validationerrors?