Mercurial > agora-palash
diff apps/snippet/models.py @ 205:c13a3ab314ab
Added RatingField import and fixed an html tag in snippet template
author | Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Fri, 19 Jul 2013 22:40:25 +0500 |
parents | c5087ce140c9 |
children | 1f1e867cb37f |
line wrap: on
line diff
--- a/apps/snippet/models.py Fri Jul 19 22:13:14 2013 +0500 +++ b/apps/snippet/models.py Fri Jul 19 22:40:25 2013 +0500 @@ -8,7 +8,7 @@ from mptt.models import MPTTModel, TreeForeignKey from apps.snippet.highlight import LEXER_DEFAULT, LEXER_LIST, pygmentize - +from djangoratings.fields import RatingField t = 'abcdefghijkmnopqrstuvwwxyzABCDEFGHIJKLOMNOPQRSTUVWXYZ1234567890' def generate_secret_id(length=4):