Anonymous
Hi guys i tryig study advance topic in django it you know any topic plz reply me and tell me
Mirco
.
inchidi
Anders (izzno / gooood) 🇳🇴
Where do you guys get your fanzy avatar people vector graphics... Sites are full of these avatar "people" and I can barely write my name let alone draw a person...
Anders (izzno / gooood) 🇳🇴
3, using a tuto which there are many of.
Emeka
My system has django installed... But my pycharm can't start django... Pls help
cj
inchidi
Emeka
cj
Emeka
cj
Hw pls
go to: Settings -> Project -> Project Interpreter
there, add your already exisiting virtual environment (follow instructions on screen) or add a new one, and you're done.
cj
else, google... it's out of the scope of the group 🤷🏻♂️
Emeka
Thanks @cj
⟨ Simon |
Also always tell the error
cj
but... you're using a virtual environment... aren't you?
Emeka
cj
👍
Michael
Hello guys, I have a question. Does anyone know what would be better, digital ocean or pythonanywhere?
cj
cj
Michael
thanks...
Blaze
Kaio
Raj
Raj kumar:
Any one have django .. simple . Projects send me for learning
Please attach my mail id rajsarvail@gmail.com
Hi could you have any real time django projects, project materials send me... Basics
inchidi
Emeka
Pls help... Pycharm says 'No matching distribution for django
Francis
Hey good ppl, I have a problem
Francis
The image is taking long to load, but I am building apis using django rest framework, and
Francis
I ama getting this error: "detail": "Error decoding signature."
Mirco
Francis
JWT_AUTH = {
'JWT_VERIFY': True,
'JWT_AUTH_HEADER_PREFIX': 'Bearer'
# 'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=300)
}
Francis
I even commented it out
inchidi
Francis
A get request with Content-Type and Authorization
Alexander
Guys, does anyone have experience with Celery? I'm stuck with smth https://stackoverflow.com/questions/54706666/celery-receives-periodic-tasks-but-doesnt-execute-them
tl;dr: celery receives registered periodic tasks, but doesn't execute them.
A fresh view from a new perspective might be very helpful! 😃
Francis
Bearer Token
Francis
I can't send pics, says I have no permission
Mirco
Ronald
Francis
I mean pic of the error
Francis
"detail": "Error decoding signature."
Mirco
and it could be useful to read the piece of code as well
Francis
Okay
Francis
I did this in my settings
Francis
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),
'DEFAULT_AUTHENTICATION_CLASSES':(
'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',)
}
JWT_AUTH = {
'JWT_VERIFY': True,
'JWT_AUTH_HEADER_PREFIX': 'Bearer'
# 'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=300)
}
Francis
and this in the view
Francis
authentication_classes = (JSONWebTokenAuthentication,)
Mirco
use pastebin or similar please
Mirco
it's easier to read for us
Mirco
and we can edit it
Francis
Is there anything else I should do
Francis
Okay, let get do that...
Mirco
thanks :)
inchidi
Francis
Francis
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJp....
inchidi
diproger
Hello guys, i have a question! is it possible to develop django project remotely on some free web server? so that everyone can have an access to view it
inchidi
Alexander
Francis
diproger
diproger
inchidi
sent
it should be fine sharing your invalid jwt token as long as you dont leak your secret_key too (and not abusing jwt) but okay
inchidi
Francis
Trying, getting: KeyError: 'JWT_AUTH_PREFIX_HEADER'
Francis
Is this enough to decode or do I need any other class:
authentication_classes = (JSONWebTokenAuthentication,)
Anonymous
Hi, i used summernote for rich textbox functionality. But how to reload data from database to it
Anonymous
I used inline formset to retrieve data but it shows as textarea with html tags in it.
Anonymous
How can load back to the rich text box ?
{°_°}
how can i use customuser model for multipletype users