django_private_chat2 icon indicating copy to clipboard operation
django_private_chat2 copied to clipboard

How can I change user's avatar manually?

Open 05ZT30 opened this issue 2 years ago • 1 comments

  • django_private_chat2 version: 1.0.2
  • Django version:3.2.15
  • Python version:3.8.10
  • Operating System: manjaro

Description

I wanna to change user's avatar instead of auto avatar, but I'm failed to find the code which making auto acatar.

What I Did

I had tried to find example/static/js/main.js , but I still failed to find the code.

05ZT30 avatar Sep 12 '22 11:09 05ZT30

Hello, the user avatar is only included in example application, it's generated here https://github.com/Bearle/django_private_chat2/blob/master/example/frontend/fs-src/Utils.fs#L29

You can write the frontend yourself for the django app, the provided example app is not supposed to be used "as-is" in production.

delneg avatar Sep 12 '22 11:09 delneg