Show More
|
1 | NO CONTENT: file renamed from boards/templates/base.html to boards/templates/boards/base.html |
|
1 | NO CONTENT: file renamed from boards/templates/login.html to boards/templates/boards/login.html |
@@ -1,4 +1,4 b'' | |||
|
1 | {% extends "base.html" %} | |
|
1 | {% extends "boards/base.html" %} | |
|
2 | 2 | |
|
3 | 3 | {% load i18n %} |
|
4 | 4 | {% load markup %} |
@@ -1,4 +1,4 b'' | |||
|
1 | {% extends "base.html" %} | |
|
1 | {% extends "boards/base.html" %} | |
|
2 | 2 | |
|
3 | 3 | {% load i18n %} |
|
4 | 4 |
@@ -1,4 +1,4 b'' | |||
|
1 | {% extends "base.html" %} | |
|
1 | {% extends "boards/base.html" %} | |
|
2 | 2 | |
|
3 | 3 | {% load i18n %} |
|
4 | 4 | {% load markup %} |
@@ -1,4 +1,4 b'' | |||
|
1 | {% extends "base.html" %} | |
|
1 | {% extends "boards/base.html" %} | |
|
2 | 2 | |
|
3 | 3 | {% load i18n %} |
|
4 | 4 | {% load markup %} |
@@ -38,7 +38,7 b' def index(request, page=0):' | |||
|
38 | 38 | context['theme'] = _get_theme(request) |
|
39 | 39 | context['pages'] = range(Post.objects.get_thread_page_count()) |
|
40 | 40 | |
|
41 | return render(request, 'posting_general.html', | |
|
41 | return render(request, 'boards/posting_general.html', | |
|
42 | 42 | context) |
|
43 | 43 | |
|
44 | 44 | |
@@ -112,7 +112,7 b' def tag(request, tag_name, page=0):' | |||
|
112 | 112 | |
|
113 | 113 | context['form'] = form |
|
114 | 114 | |
|
115 | return render(request, 'posting_general.html', | |
|
115 | return render(request, 'boards/posting_general.html', | |
|
116 | 116 | context) |
|
117 | 117 | |
|
118 | 118 | |
@@ -139,7 +139,7 b' def thread(request, post_id):' | |||
|
139 | 139 | context['tags'] = Tag.objects.get_popular_tags() |
|
140 | 140 | context['theme'] = _get_theme(request) |
|
141 | 141 | |
|
142 | return render(request, 'thread.html', context) | |
|
142 | return render(request, 'boards/thread.html', context) | |
|
143 | 143 | |
|
144 | 144 | |
|
145 | 145 | def login(request): |
@@ -158,9 +158,9 b' def login(request):' | |||
|
158 | 158 | response = HttpResponseRedirect('/') |
|
159 | 159 | |
|
160 | 160 | else: |
|
161 | response = render(request, 'login.html', {'error': 'Login error'}) | |
|
161 | response = render(request, 'boards/login.html', {'error': 'Login error'}) | |
|
162 | 162 | else: |
|
163 | response = render(request, 'login.html', {}) | |
|
163 | response = render(request, 'boards/login.html', {}) | |
|
164 | 164 | |
|
165 | 165 | return response |
|
166 | 166 | |
@@ -187,7 +187,7 b' def settings(request):' | |||
|
187 | 187 | context['tags'] = Tag.objects.get_popular_tags() |
|
188 | 188 | context['theme'] = _get_theme(request) |
|
189 | 189 | |
|
190 | return render(request, 'settings.html', context) | |
|
190 | return render(request, 'boards/settings.html', context) | |
|
191 | 191 | |
|
192 | 192 | |
|
193 | 193 | def all_tags(request): |
@@ -196,7 +196,7 b' def all_tags(request):' | |||
|
196 | 196 | context['theme'] = _get_theme(request) |
|
197 | 197 | context['all_tags'] = Tag.objects.get_not_empty_tags() |
|
198 | 198 | |
|
199 | return render(request, 'tags.html', context) | |
|
199 | return render(request, 'boards/tags.html', context) | |
|
200 | 200 | |
|
201 | 201 | |
|
202 | 202 | def _get_theme(request): |
General Comments 0
You need to be logged in to leave comments.
Login now