Attie Retief
Attie Retief

Reputation: 1

django-import-export buttons not correctly styled on heroku

Django version: 1.9.7 Django Suit version: 0.2.19 Python version: 2.7.10

Issue: I am using django-import-export in django-suit I have my app deployed to heroku When I run "heroku local" I have no issues But when I view my admin pages on heroku, import-export are not appearing as buttons, but rather is list items

Here is the resulting page source running locally

<div id="content-main">
<div class="inner-center-column"> 
<div class="module filtered" id="changelist">
<div class="toolbar-content clearfix"> 
<div class="object-tools"> 
<a class="btn" href="import/" class="import_link">Import</a> 
<a class="btn" href="export/?" class="export_link">Export</a>

Here is the resulting page source running on heroku

<div id="content-main"> 
<div class="inner-center-column"> 
<div class="module filtered" id="changelist"> 
<div class="toolbar-content clearfix"> 
<ul class="object-tools">
<li><a href="import/" class="import_link">Import</a></li> 
<li><a href="export/?" class="export_link">Export</a></li> 

The strange this is, that if I redeploy to heroku, intermittently it the problem goes away, but if the heroku dyno went to sleep and is woken up again, the problem re-appears

Upvotes: 0

Views: 98

Answers (0)

Related Questions