Compare commits

..

No commits in common. "1b197b2e120ff49bd099fc45720d635f45127b1f" and "cb15789b953473ff06561411cc66ff7f3f232332" have entirely different histories.

4 changed files with 2 additions and 5 deletions

View File

@ -12,7 +12,7 @@ msgstr ""
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Commander1024 <commander@commander1024.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de-DE\n"
"Language: de.DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@ -81,7 +81,4 @@ class PlaceTagDeleteView(IsAuthenticatedMixin, View):
return redirect(reverse_lazy('place_detail', kwargs={'pk': tagged_id}))
def FlatView(request, slug):
if request.LANGUAGE_CODE == 'de':
return render(request, 'flat/' + slug + '-de' + '.html')
else:
return render(request, 'flat/' + slug + '.html')