django-jet
django-jet copied to clipboard
Using jet dashboard causing problems.
Hi I'm working in a big project with admin_tools (not responsive but works), using jet module works fine, but jet.dashboard is giving me TWO problems, the second one not resolved...
- Migration not working so I got this: Table 'x.dashboard_userdashboardmodule' doesn't exist" I manually created this table but the a second problem.(as an old issue doesn't redirect to admin) My project use a prefix 'app' to do thinks in subfolder like 127.0.0.1/app/admin (eg. apache2 WSGIScriptAlias /app .....) so it seems that something its hardcoded to works only in 127.0.0.1/admin
Thanks in advance
jat dashboard is not working
I had a similar problem. Make sure you deleted everything which is admin_tools. I forgot to remove 'admin_tools.template_loaders.Loader' in settings.py
Check out #116
I had similar problem and solved it by removing in django_migrations table record that contains app dashboard and name 0001_initial, after that migration worked fine. Because admin tools and jet dashboard have identical migration names. Hope this help you.
Please come to the django-jet Discord server so we can organize if you like:
- https://discord.gg/3yr5yeH
Welcome! 😄
iefausti - Can you please explain how did you solve your first problem ?
@iesfausti @shameerkashif1 it isn't a normal problem, did you install all requirements before to install the dashboard?
For anyone else that may end up here in search for a fix for this, you must delete the dashboard migration for admin_tools from the database, then run migrations again.
DELETE FROM public.django_migrations WHERE app='dashboard' and name='0001_initial'