Commit graph

20 commits

Author SHA1 Message Date
Satya Mishra
738e65a229
Pillow 10 compatibility (#233)
* Compatibility change for Pillow 10.0.0

* Update python and django versions

* Update coverage version

* Remove Django 4.0

Django 4.0 is EOL

* Fix flake8 error

* [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>
2023-10-16 11:22:18 +02:00
Petr Dlouhý
dfb2cb67e7
fix admin detail too slow when there is large number of users (#219) 2023-02-22 19:38:43 +01:00
Johannes Wilm
99a979b057
rectangular avatars (#214)
* Support for rectangular avatars

* fix tests

* Add rectangle size test

* Update documentation and changelog

* add test for exposing username (or not)

* add primary_avatar_tag tests

* make rebuild_avatars, remove_avatar_images work with rectangles + tests

* Python 2 => 3

* fix tests

Co-authored-by: Karl Moritz Hermann <karlmoritz.hermann@gmail.com>
2022-08-15 10:08:35 +02:00
Johannes Wilm
a977753b2c lint and add pre-commit configuration 2022-08-09 21:17:24 +02:00
Johannes Wilm
6ba1280a7e remove six 2022-07-16 23:25:43 +02:00
Johannes Wilm
ae950c9b50 black 2022-07-16 22:50:05 +02:00
Johannes Wilm
03c95bc925 update imports 2022-07-16 22:26:58 +02:00
rsp2k
d941939441
Django 4.0: ugettext_lazy -> gettext_lazy 2022-01-27 13:03:33 -07:00
bastb
6a2c361502 Additional fixes for Django 3 2019-12-03 15:37:01 +01:00
Grant McConnaughey
5cbd095cda Rename util -> utils, fix URL issue 2016-02-09 09:42:29 -06:00
root
eee6b08e07 clean out 2014-09-10 22:49:45 +08:00
allenling
8ff6f08a49 Update admin.py
The problem is that always display primary avatar for User.
In admin page, the function get_avatar should return different avatar url for every avatar record
2014-01-14 08:48:48 +08:00
Jannis Leidel
6f64166e49 Merge pull request #56 from integricho/master
Dispatch the avatar_updated signal when an avatar is saved through the admin app

Conflicts:
	avatar/admin.py
2013-08-01 14:52:34 +02:00
Jannis Leidel
57d77caeb0 Revamped tests and added Travis config. 2013-08-01 13:12:49 +02:00
andrean
ba38663bab dispatch avatar_updated signal from admin as well 2013-06-26 10:54:29 +02:00
Simon Meers
7ee83431b3 More quickly scrawled / untested custom user model support changes 2013-03-15 21:45:24 +11:00
Jannis Leidel
59af1c3cb1 Minor fixes for the admin class. 2012-04-25 12:18:18 +02:00
Philipp Wassibauer
30d939ad70 admin interface displays avatar and is filterable 2011-06-22 00:03:14 +02:00
Eric Florenzano
ba8e3268fb Made all imports relative and cleaned up the imports in general. Thanks, PyFlakes!
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@29 c76b2324-5f53-0410-85ac-b1078a54aeeb
2008-10-20 01:11:10 +00:00
Eric Florenzano
9e85aba9f7 Initial version.
git-svn-id: http://django-avatar.googlecode.com/svn/trunk@2 c76b2324-5f53-0410-85ac-b1078a54aeeb
2008-08-01 09:27:59 +00:00