##// END OF EJS Templates
Added ability to show multiple banners. Added "view on site" link for the post...
Added ability to show multiple banners. Added "view on site" link for the post and thread admin

File last commit:

r1148:94091a42 default
r1149:ecab0b83 default
Show More
banner.py
10 lines | 207 B | text/x-python | PythonLexer
neko259
Added banner to show the site news. Returned the message middleware because it...
r1148 from django.db import models
class Banner(models.Model):
title = models.TextField()
text = models.TextField()
post = models.ForeignKey('Post')
def __str__(self):
return self.title