mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 14:49:31 +00:00
Split out settings into per-env
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import settings
|
||||
from django.conf import settings
|
||||
from django.db import connections
|
||||
|
||||
def get_api(api):
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import xmlrpclib
|
||||
from sso.services import BaseService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
from hashlib import md5
|
||||
|
||||
class IPBService(BaseService):
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import xmlrpclib
|
||||
from sso.services import BaseService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
class JabberService(BaseService):
|
||||
|
||||
@@ -3,7 +3,7 @@ import random
|
||||
import time
|
||||
from django.db import transaction
|
||||
from sso.services import BaseDBService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
|
||||
class MiningBuddyService(BaseDBService):
|
||||
"""
|
||||
|
||||
@@ -2,7 +2,7 @@ import hashlib
|
||||
import random
|
||||
from django.db import load_backend, transaction, IntegrityError
|
||||
from sso.services import BaseDBService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
|
||||
class PhpBBService(BaseDBService):
|
||||
"""
|
||||
|
||||
@@ -2,7 +2,7 @@ import hashlib
|
||||
import random
|
||||
from django.db import transaction, IntegrityError
|
||||
from sso.services import BaseDBService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
|
||||
class POSTrackerService(BaseDBService):
|
||||
"""
|
||||
|
||||
@@ -2,7 +2,7 @@ import hashlib
|
||||
import random
|
||||
from django.db import load_backend, transaction, IntegrityError
|
||||
from sso.services import BaseDBService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
|
||||
class QMSService(BaseDBService):
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import hashlib
|
||||
import random
|
||||
from sso.services import BaseDBService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
|
||||
class SMFService(BaseDBService):
|
||||
"""
|
||||
|
||||
@@ -2,7 +2,7 @@ import hashlib
|
||||
import random
|
||||
from django.db import load_backend, transaction, IntegrityError
|
||||
from sso.services import BaseDBService
|
||||
import settings
|
||||
from django.conf import settings
|
||||
|
||||
class MediawikiService(BaseDBService):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user