##// END OF EJS Templates
Fixed adding new post after removing add_tag method in thread
Fixed adding new post after removing add_tag method in thread

File last commit:

r1148:94091a42 default
r1187:6ed7dcc3 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