##// END OF EJS Templates
Moved post image to a separate model. Each post (as of model) can contain multiple images now. The image shown to the user is got with get_first_image method
Moved post image to a separate model. Each post (as of model) can contain multiple images now. The image shown to the user is got with get_first_image method

File last commit:

r693:641dff39 1.8-dev
r693:641dff39 1.8-dev
Show More
__init__.py
9 lines | 286 B | text/x-python | PythonLexer
neko259
Moved models to a separate module folder. Starting to split up models file
r384 __author__ = 'neko259'
neko259
Moved post image to a separate model. Each post (as of model) can contain multiple images now. The image shown to the user is got with get_first_image method
r693 from boards.models.image import PostImage
from boards.models.thread import Thread
neko259
Moved models to a separate module folder. Starting to split up models file
r384 from boards.models.post import Post
neko259
Split up tag module from post module
r385 from boards.models.tag import Tag
neko259
Split up user models
r386 from boards.models.user import Ban
from boards.models.user import Setting
from boards.models.user import User