Solutions to xadmin’s “apps are’t loaded yet” error

Explain the function of static keyword and final keyword in Java in detail>>>

Project environment:
Django 1.9
Python 2.7

Django project introduces xadmin as the background, but configures verb in under app_ Name, in__ init__. Default is configured in py_ app_ After configuring, the system reported the following error:
django.core.exceptions.appregistrynotready: apps are’t loaded yet.

after a long time of experiment, I found that I was in the verb of apps.py_ Name = u “course” in which the use of Chinese, not added

# -*- coding:utf-8 -*-

Just add this sentence to the beginning of the apps. Py code

Similar Posts: