comparison shoutbox/models.py @ 925:98d2388b6bb2

Smiley app refactor for Django 1.7.7 upgrade.
author Brian Neal <bgneal@gmail.com>
date Sun, 12 Apr 2015 21:08:56 -0500
parents 0ca691cccf8d
children eeaf387803c6
comparison
equal deleted inserted replaced
924:78b459d4ab17 925:98d2388b6bb2
5 5
6 from django.db import models 6 from django.db import models
7 from django.contrib.auth.models import User 7 from django.contrib.auth.models import User
8 from django.utils.html import escape, urlize 8 from django.utils.html import escape, urlize
9 9
10 from smiley import smilify_html 10 from smiley.utils import smilify_html
11 11
12 12
13 class Shout(models.Model): 13 class Shout(models.Model):
14 user = models.ForeignKey(User) 14 user = models.ForeignKey(User)
15 shout_date = models.DateTimeField(blank=True) 15 shout_date = models.DateTimeField(blank=True)