Clean imports in code
In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. http://docs.openstack.org/developer/hacking/#imports Change-Id: Ib9ad9ecfc1aabd36700a3f2ce913f611ac3811c2
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
# configuration label and avoid this conflict.
|
||||
#
|
||||
|
||||
from django.apps import AppConfig
|
||||
from django import apps
|
||||
|
||||
|
||||
class Config(AppConfig):
|
||||
class Config(apps.AppConfig):
|
||||
name = 'manila_ui.dashboards.project'
|
||||
label = 'manila_project'
|
||||
|
Reference in New Issue
Block a user