Skip to content

Commit

Permalink
Merge pull request #32 from dpad/master
Browse files Browse the repository at this point in the history
Re-introduced tinymce to Static.
  • Loading branch information
dpad committed Jan 17, 2012
2 parents 28ec73b + af392d6 commit 91e198e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions csesoc/mainsite/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@

class Static(models.Model):
title = models.CharField(max_length=200)
text = models.TextField()
# HTML mode is broken for tinymce
#text = tinymce_models.HTMLField()
#text = models.TextField()
text = tinymce_models.HTMLField()
template = models.FilePathField(path=os.path.join(settings.PROJECT_PATH, "templates"), match="static.*\.html")
creation_date = models.DateTimeField(auto_now_add=True)
creator = models.ForeignKey(User, related_name='page_creator')
Expand Down

0 comments on commit 91e198e

Please sign in to comment.