jedie / django-for-runners

Store your GPX tracks of your running (or other sports activity) in django.
GNU General Public License v3.0
59 stars 14 forks source link

move manipluation of list_display and list_filter #1

Closed adsworth closed 6 years ago

adsworth commented 6 years ago

move the manipulation of list_display and list_filter to overridden getlist* methods. The ModelAdmin seems to get instantiated when executing management commands and the user_count query throws an exception table doesn't exist if the database hasn't been created. This means that it's not possible to actually create the database.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 110


Totals Coverage Status
Change from base Build 108: 0.0%
Covered Lines: 1386
Relevant Lines: 1791

💛 - Coveralls
jedie commented 6 years ago

Sounds like a good idea! Thanks!