Commits

Steve Losh committed d8b233a Merge

Merge pull request #5 from bkonkle/patch-1

Added STOAT_ADMIN_EXTRA_CSS and JS settings

  • Participants
  • Parent commits 308c0c0, 11f7566

Comments (0)

Files changed (1)

File stoat/admin.py

 
     class Media:
         css = {
-            'all': ('stoat.css',),
+            'all': ('stoat.css',) + getattr(settings, 'STOAT_ADMIN_EXTRA_CSS', ()),
         }
-        js = ('stoat.js',)
+        js = ('stoat.js',) + getattr(settings, 'STOAT_ADMIN_EXTRA_JS', ())
 admin.site.register(Page, PageAdmin)