mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
* Add Avatar API support * extend rest_framework to INSTALLED_APPS * add api path to urls * add requirements.txt to api app * add self describe to assign_width_or_height function * add django-avatar api docs * remove unused files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Johannes Wilm <mail@johanneswilm.org>
7 lines
173 B
Python
7 lines
173 B
Python
from appconf import AppConf
|
|
from django.conf import settings
|
|
|
|
|
|
class AvatarAPIConf(AppConf):
|
|
# allow updating avatar image in put method
|
|
AVATAR_CHANGE_IMAGE = False
|