Created
October 14, 2011 01:35
-
-
Save andrewsmedina/1286035 to your computer and use it in GitHub Desktop.
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
from tinymce.widgets import TinyMCE | |
class PostAdminForm(ModelForm): | |
conteudo = forms.CharField(widget=TinyMCE()) | |
descricao = forms.CharField(widget=TinyMCE()) | |
class Meta: | |
model = Post |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment