Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change user's avatar manually? #40

Open
05ZT30 opened this issue Sep 12, 2022 · 1 comment
Open

How can I change user's avatar manually? #40

05ZT30 opened this issue Sep 12, 2022 · 1 comment

Comments

@05ZT30
Copy link

05ZT30 commented Sep 12, 2022

  • 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.

@delneg
Copy link
Collaborator

delneg commented Sep 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants