Moved defines_globals to src/
This commit is contained in:
parent
e6e84c2ee5
commit
5064d0cacc
9 changed files with 11 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ Custom manager for Attribute objects.
|
|||
"""
|
||||
from django.db import models
|
||||
|
||||
import defines_global
|
||||
from src import defines_global
|
||||
|
||||
class AttributeManager(models.Manager):
|
||||
def is_modifiable_attrib(self, attribname):
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ from django.contrib.contenttypes.models import ContentType
|
|||
from apps.config.models import ConfigValue
|
||||
from apps.objects.exceptions import ObjectNotExist
|
||||
from apps.objects.util import object as util_object
|
||||
import defines_global
|
||||
from src import defines_global
|
||||
|
||||
class ObjectManager(models.Manager):
|
||||
def num_total_players(self):
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ from apps.objects.managers.commchannel import CommChannelManager
|
|||
from apps.objects.managers.object import ObjectManager
|
||||
from apps.objects.managers.attribute import AttributeManager
|
||||
from src import scripthandler
|
||||
import defines_global
|
||||
from src import defines_global
|
||||
from src import ansi
|
||||
# Import as the absolute path to avoid local variable clashes.
|
||||
import src.flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue