geex-arts / django-jet

Modern responsive template for the Django admin interface with improved functionality. We are proud to announce completely new Jet. Please check out Live Demo
https://github.com/jet-admin/jet-bridge
GNU Affero General Public License v3.0
3.58k stars 773 forks source link

Dashboard doesnt work with custom user model with uuid primary key #323

Open aldarund opened 6 years ago

aldarund commented 6 years ago

On login it will just throw error. Because UserDashboardModule expect user to be integer and only integer. https://github.com/geex-arts/django-jet/blob/dev/jet/dashboard/models.py#L14

So it tries to make integer from uuid and fails with outofrange error

wisnuprama commented 5 years ago

we should give an option in settings so we can customize

anishChoudhary333 commented 4 years ago

@aldarund @wisnuprama is there any fix for this?

linhfishCR7 commented 2 years ago

I fixed for model use uuid github.com/linhfishCR7/django-jet