Permalink
Browse files

use markitup

  • Loading branch information...
lukeman committed Jul 28, 2012
1 parent 59f158f commit 5e37d1dbaf9f0499e163bf5d0a33c903339b47b5
Showing with 3 additions and 1 deletion.
  1. +3 −1 boxes/models.py
View
@@ -4,11 +4,13 @@
from django.contrib.auth.models import User
+from markitup.fields import MarkupField
+
class Box(models.Model):
label = models.CharField(max_length=100, db_index=True)
- content = models.TextField()
+ content = MarkupField(blank=True)
created_by = models.ForeignKey(User, related_name="boxes")
last_updated_by = models.ForeignKey(User, related_name="updated_boxes")

0 comments on commit 5e37d1d

Please sign in to comment.