mirror of
https://github.com/QingdaoU/Spirit.git
synced 2025-01-17 01:57:54 +00:00
22 lines
422 B
Python
22 lines
422 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class SpiritAdminConfig(AppConfig):
|
|
|
|
name = 'spirit.admin'
|
|
verbose_name = "Spirit Admin"
|
|
label = 'spirit_admin'
|
|
|
|
def ready(self):
|
|
self.register_config()
|
|
|
|
def register_config(self):
|
|
import djconfig
|
|
from .forms import BasicConfigForm
|
|
|
|
djconfig.register(BasicConfigForm)
|