Created
November 3, 2011 17:03
-
-
Save roundcorners/1337059 to your computer and use it in GitHub Desktop.
Working admin.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PostAdmin: | |
... | |
... | |
// CommonMedia defined as a subclass of PostAdmin | |
class CommonMedia: | |
js = ( | |
'https://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js', | |
'/appmedia/admin/js/editor.js', | |
) | |
css = { | |
'all': ('/appmedia/admin/css/editor.css',), | |
} | |
// Register new class | |
site.register(Post, PostAdmin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment