##// END OF EJS Templates
Do not pass over perms variable manually to the post template. Fixed thread...
Do not pass over perms variable manually to the post template. Fixed thread diff using old method to check permissions

File last commit:

r1148:94091a42 default
r1390:1252678f default
Show More
banner.py
10 lines | 207 B | text/x-python | PythonLexer
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