Show More
@@ -1,18 +1,15 b'' | |||||
1 | import hashlib |
|
1 | import hashlib | |
2 | import re |
|
2 | from django.core.urlresolvers import reverse | |
3 |
|
||||
4 | from boards.models.attachment import FILE_TYPES_IMAGE |
|
|||
5 | from django.template.loader import render_to_string |
|
|||
6 | from django.db import models |
|
3 | from django.db import models | |
7 | from django.db.models import Count, Q |
|
4 | from django.db.models import Count, Q | |
8 | from django.core.urlresolvers import reverse |
|
|||
9 | from django.utils.translation import get_language |
|
5 | from django.utils.translation import get_language | |
10 |
|
6 | |||
|
7 | import boards | |||
11 | from boards.models import Attachment |
|
8 | from boards.models import Attachment | |
|
9 | from boards.models.attachment import FILE_TYPES_IMAGE | |||
12 | from boards.models.base import Viewable |
|
10 | from boards.models.base import Viewable | |
13 | from boards.models.thread import STATUS_ACTIVE, STATUS_BUMPLIMIT, STATUS_ARCHIVE |
|
11 | from boards.models.thread import STATUS_ACTIVE, STATUS_BUMPLIMIT, STATUS_ARCHIVE | |
14 | from boards.utils import cached_result |
|
12 | from boards.utils import cached_result | |
15 | import boards |
|
|||
16 |
|
13 | |||
17 | __author__ = 'neko259' |
|
14 | __author__ = 'neko259' | |
18 |
|
15 |
@@ -1,8 +1,8 b'' | |||||
1 | from django.contrib.syndication.views import Feed |
|
1 | from django.contrib.syndication.views import Feed | |
2 | from django.core.urlresolvers import reverse |
|
|||
3 | from django.shortcuts import get_object_or_404 |
|
2 | from django.shortcuts import get_object_or_404 | |
4 | from boards.models import Post, Tag, Thread, TagAlias |
|
3 | ||
5 | from boards import settings |
|
4 | from boards import settings | |
|
5 | from boards.models import Post, TagAlias | |||
6 | from boards.models.thread import STATUS_ARCHIVE |
|
6 | from boards.models.thread import STATUS_ARCHIVE | |
7 |
|
7 | |||
8 | __author__ = 'nekorin' |
|
8 | __author__ = 'nekorin' |
@@ -10,13 +10,12 b' from django.views.decorators.csrf import' | |||||
10 | from boards.abstracts.settingsmanager import get_settings_manager |
|
10 | from boards.abstracts.settingsmanager import get_settings_manager | |
11 | from boards.forms import PostForm, PlainErrorList |
|
11 | from boards.forms import PostForm, PlainErrorList | |
12 | from boards.mdx_neboard import Parser |
|
12 | from boards.mdx_neboard import Parser | |
13 |
from boards.models import Post, Thread, Tag, |
|
13 | from boards.models import Post, Thread, Tag, TagAlias | |
14 | from boards.models.attachment import AttachmentSticker |
|
14 | from boards.models.attachment import AttachmentSticker | |
15 | from boards.models.thread import STATUS_ARCHIVE |
|
15 | from boards.models.thread import STATUS_ARCHIVE | |
16 | from boards.models.user import Notification |
|
16 | from boards.models.user import Notification | |
17 | from boards.utils import datetime_to_epoch |
|
17 | from boards.utils import datetime_to_epoch | |
18 | from boards.views.thread import ThreadView |
|
18 | from boards.views.thread import ThreadView | |
19 | from boards.models.attachment.viewers import FILE_TYPES_IMAGE |
|
|||
20 |
|
19 | |||
21 | __author__ = 'neko259' |
|
20 | __author__ = 'neko259' | |
22 |
|
21 |
General Comments 0
You need to be logged in to leave comments.
Login now