areski / django-admin-tools-stats

Django-admin-tools-stats is a Django admin module that allow you to create easily charts on your dashboard based on specific models and criterias
http://django-admin-tools-stats.readthedocs.org/
Other
291 stars 74 forks source link

Mistake in app_label_renamer.py? #26

Open a-olszewski opened 8 years ago

a-olszewski commented 8 years ago

Now, at the end of wrap method: return f(model, admin_class, **option)

There should be: return f(model_or_iterable, admin_class, **option)

am I right?

lggwettmann commented 4 years ago

I think you are correct. I also got a error based on this. But I just moved the other app affected by this before django-admin-tools in the installed apps and that solved it for me. Your solution seems better ;)

TrungKien1230 commented 4 years ago

@lggwettmann, @a-olszewski do you have an example project which uses this library, could you share it to me, please ? I tried to do the same thing as Documentation but it does not work, I really need your help

lggwettmann commented 4 years ago

Could you please describe what you did and the error you get in a separate issue? @TrungKien1230 This issue is about the app_label_renamer.py. Thanks.