Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1
2
3
4
5
6
7
8
9
10
11
12
from django.apps import AppConfig
from rosetta.conf import settings as rosetta_settings
class RosettaAppConfig(AppConfig):
name = 'rosetta'
def ready(self):
from django.contrib import admin
11 ↛ exitline 11 didn't return from function 'ready', because the condition on line 11 was never false if rosetta_settings.SHOW_AT_ADMIN_PANEL:
admin.site.index_template = 'rosetta/admin_index.html'