Anonymous
Hi guys i tryig study advance topic in django it you know any topic plz reply me and tell me
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) 🇳🇴
Felex: Hello,who can give me an insight on how to upload multiple images in django
1, model that has has one image field that you link many to many with the models that need multiple images. 2, same idea, but post images with ajax/fetch making a dynamic image upload / put widget.
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
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?
cj
👍
Michael
Hello guys, I have a question. Does anyone know what would be better, digital ocean or pythonanywhere?
Michael
depends o what do you want to do
well, I need to deploy a project for one client. But I don't know what to use
Michael
thanks...
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
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."
Francis
JWT_AUTH = { 'JWT_VERIFY': True, 'JWT_AUTH_HEADER_PREFIX': 'Bearer' # 'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=300) }
Francis
I even commented it out
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
Ronald
I can't send pics, says I have no permission
Yes against the rules. Upload on imgur and share link
Francis
I mean pic of the error
Francis
"detail": "Error decoding signature."
Mirco
I mean pic of the error
you can copy that to pastebin or similar :)
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
A get request with Content-Type and Authorization
what is your Authorization header value?
inchidi
Bearer <Token>
your token sample too pls
Francis
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJp....
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
diproger
that what git for
I just want to test it on a free server.
diproger
Heroku is an option. It offers free dynos for small projects.
But it is not what i want, i want to write a code on server so that i can update it on time without pushing changes
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
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