cj
go there to ask about JS things
Jesus
thanks!
Oğuzhan
Omair
Gabriel
Guys, i am new to django and the course that i am watching, dont have too much about custom frontend. If i has my custom CSS on static folder, i can refer his classes on forms.py widget?
Anonymous
Abdulakhad
can i save the data from the telegram bot to the database?
for example user information
link = 'http://127.0.0.1:8000/api/user'
user_form = {
"user_id":message.from_user.id,
"first_name":message.from_user.first_name,
"last_name":message.from_user.last_name,
"username":message.from_user.username,
"language_code":message.from_user.language_code
}
r = requests.post(link, data=json.dumps(user_form))
Gabriel
Did you mean views?
dont worry. anyway, thanks. i just realized the answer for what i am asking
inchidi
!offtopic
Doragonsureiyā
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Margavya
How to extract data from HTML form and use it in django views??
Margavya
K
Can anyone let me know some good resources to explore on user authentication, Authorization.... Part?
I have just started with this section.
Yogesh
Jorge Luis
Is there any form widget to modify the M2M fields?
I want to modify the multiple selects input
@Garant
which port should gunicorn listen when I configure nginx on ssl? and what settings should the gunicorn have or does nothing depend on it?
@Garant
My gunicorn is listening to http: // [ip]: 8000. When postman makes a post request to https, then nothing happens. But http works
Zaxk
Node js vs django!!
cj
cj
if yes, I can show you the exit door if you want
Anonymous
Hii guys, i just wanted to ask, can Django do well with shared hosting, if not what are the problems I'll be facing? I don't have enough budget to support VPS...
Anonymous
Anonymous
But I read on the internet that cpanel now allows installing python 🤔
Anonymous
Sorry, I'm really a newbie in this server side stuff
cj
cj
inchidi
Sorry, I'm really a newbie in this server side stuff
VPS vs shared hosts is like you renting a pc and you can do anything you want in that pc including installing new apps and changing the pc setting vs you renting a pc with preinstalled apps and you can only use those apps in that pc you rent
Anonymous
cj
Anonymous
Thanks for your help guys 👍
Aswin
How to do email auth backend?
Aswin
Django authentication with email instead of username.?
Aswin
I have created backend.py and emailauthbackend. In settings Authentication Backend also added.
Abhi
https://github.com/llazzaro/django-scheduler
Abhi
I have implemented successfully this library
Abhi
Able to create delete modify calendar for user
Abhi
But unable to get source code
Abhi
To update from python
Abhi
Instead of python
Abhi
Can anyone guide mr function implementation for this project
Abhi
I only need clue
Abhi
Almost work I have done
🏳️🌈Robby [ Private Message = Spam]
Almost work I have done
Can you type your message in one message...you literally take up a page and a half
🏳️🌈Robby [ Private Message = Spam]
@ab_techie — You provide REST API endpoints to do whatever work you need done
Abhi
Ok
Abhi
I want to know
Aswin
🏳️🌈Robby [ Private Message = Spam]
I want to know
Then read a tutorial
🏳️🌈Robby [ Private Message = Spam]
See @pythonres for those.
Abhi
How can harcode to create new calendar id
And event
Modify it and also cancelled
With different functions by passing parameters on it
Abhi
Then read a tutorial
I have to source code to do it but need to know how to setup it with django project
🏳️🌈Robby [ Private Message = Spam]
🏳️🌈Robby [ Private Message = Spam]
and as I said, you have a REST API endpoint for it
Abhi
I want to do it with function not API
🏳️🌈Robby [ Private Message = Spam]
Abhi
With api I can do easily but we have some other library to integrate with scheduler
🏳️🌈Robby [ Private Message = Spam]
Abhi
That's we want to
create
Delete
Modify
Event with function
🏳️🌈Robby [ Private Message = Spam]
🏳️🌈Robby [ Private Message = Spam]
I'm not going to teach you how to do your job
Abhi
You need to go read up on how Django works
I know how it's work I have integrated library successfully
But the available code is on that git is little bit different format
Only I need to know the environment variables for them
Abhi
I am stealing it's popular library for scheduling in python
🏳️🌈Robby [ Private Message = Spam]
Abhi
I followed the docs
Abhi
It's working
🏳️🌈Robby [ Private Message = Spam]
Abhi
According to that but they didn't upload docs about setup with hardcoding to create new event and all only I am able to create and delete event through database access
🏳️🌈Robby [ Private Message = Spam]
Abhi
They have updated code about it with django app but the some file Directory is different as it should be and I am unavailable to tun that code
Abhi
That's why I need help to know about setup up hardcoding with that project
Abhi
Only you have to just look at the location of code and suggest me where it should be
Abhi
Because in officially source code
Settings.py is located inside the django app not django project
Abhi
Little confusion about these things
Abhi
I am beginer in Django