Default custom dashboard results in blank admin index

Anonymous avatarAnonymous created an issue

Just installed django-grappelli and django-admin-tools and am pretty sure I followed all the directions.

If I leave ADMIN_TOOLS_INDEX_DASHBOARD and ADMIN_TOOLS_APP_INDEX_DASHBOARD out of settings.py, the default admin-tools index seems to work just fine, but if I generate dashboard.py using 'python manage.py customedashboard' and set ADMIN_TOOLS_INDEX_DASHBOARD and ADMIN_TOOLS_APP_INDEX_DASHBOARD, the admin index is entirely blank.

Comments (4)

  1. Anonymous

    Apologies -- sort of. It appears I should not have tried to install the latest TIP of the source, as there is incomplete admin site code in several places. Use the latest release, not the TIP, as it doesn't work!

    As a side-note to the author, it's usually best with open source projects like this not to check-in code that doesn't allow someone to download and use the source -- naturally TIP code won't have all features working and may have bugs, but looks like there are some substantial issues in the code currently.

  2. Mikhail Korobov

    If the management command doesn't work in tip it is a bug that should be fixed.

    By the way, I'm not aware of *substantial issues* in the current code, I use the code from tip in several production sites without issues and it is improved in many ways compared to the release (including a number of fixed bugs). I don't think blaming David is a right thing to do.

  3. David Jean Louis

    Replying to: """As a side-note to the author, it's usually best with open source projects like this not to check-in code that doesn't allow someone to download and use the source -- naturally TIP code won't have all features working and may have bugs, but looks like there are some substantial issues in the code currently."""

    ?? I'm not sure what do you mean here... but if you mean to check-in broken code, well of course, this has never been the case, the tip version always work, if it has bugs it's never intentionnal.

    Anyway, back to the issue with management commands: a separate bug was reported (#58) and is now fixed.

    -- David

    Duplicate of #58.

  4. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.