blob: a97f18aab5c767afcd3338723bc6921e129c28e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
from . import apps
from django.conf import settings
try:
apps.SETTINGS['enable_comments'] = settings.WEBLOG_ENABLE_COMMENTS
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['allow_anon_comments'] = settings.WEBLOG_ALLOW_ANON_COMMENTS
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['multilingual'] = settings.WEBLOG_MULTILINGUAL
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['blog_title'] = settings.WEBLOG_TITLE
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['base_template'] = settings.WEBLOG_BASE_TEMPLATE
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['show_author'] = settings.WEBLOG_SHOW_AUTHOR
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['use_authors_username'] = settings.WEBLOG_USE_AUTHORS_USERNAME
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['show_sidebar'] = settings.WEBLOG_SHOW_SIDEBAR
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['show_categories'] = settings.WEBLOG_SHOW_CATEGORIES
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['show_archive'] = settings.WEBLOG_SHOW_ARCHIVE
except AttributeError:
pass
except NameError:
pass
try:
apps.SETTINGS['posts_per_page'] = settings.WEBLOG_POSTS_PER_PAGE
except AttributeError:
pass
except NameError:
pass
|