Fixed many path-related issues, getting closing to getting the server to boot.
This commit is contained in:
parent
0c9bf08c5a
commit
33a42d06c5
15 changed files with 130 additions and 75 deletions
|
|
@ -70,8 +70,9 @@ many traits with a normal goblin.
|
|||
"""
|
||||
|
||||
import os, sys, copy
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'game.settings'
|
||||
#TODO
|
||||
#sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
|
||||
#os.environ['DJANGO_SETTINGS_MODULE'] = 'game.settings'
|
||||
|
||||
from django.conf import settings
|
||||
from random import randint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue