1. David Jean Louis
  2. django-admin-tools
  3. Issues
Issue #120 invalid

ModelList: single model not recognizes, althout wildcards are

created an issue

I create a custom AppIndexDashboard. To make a list of specific modules to be displayed, I coded:

select all but one

modules.ModelList(title='Repository Manager', models=['repmgr.*',], exclude=['repmgr.Feature',])

or select one only

modules.ModelList(title='Repository Manager', models=['repmgr.Feature',])

Neither works. In the first variant all models are displayed, in the second one none. What can be wrong?

using Version 0.5.1

Comments (3)

  1. Log in to comment