django-jet icon indicating copy to clipboard operation
django-jet copied to clipboard

Using jet dashboard causing problems.

Open iesfausti opened this issue 8 years ago • 7 comments

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

iesfausti avatar Oct 30 '16 08:10 iesfausti

jat dashboard is not working

Nidhibarthwal avatar Dec 05 '16 13:12 Nidhibarthwal

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

benxy avatar Jan 16 '17 12:01 benxy

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.

vyacheslavk avatar Feb 14 '17 15:02 vyacheslavk

Please come to the django-jet Discord server so we can organize if you like:

  • https://discord.gg/3yr5yeH

Welcome! 😄

Ismael-VC avatar Aug 15 '17 15:08 Ismael-VC

iefausti - Can you please explain how did you solve your first problem ?

hash3liZer avatar Oct 05 '17 06:10 hash3liZer

@iesfausti @shameerkashif1 it isn't a normal problem, did you install all requirements before to install the dashboard?

SalahAdDin avatar Oct 05 '17 11:10 SalahAdDin

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'

pgAdmin_4

KINGH242 avatar Jan 08 '20 16:01 KINGH242