docker setup

This commit is contained in:
AdrienLSH
2023-11-23 16:43:30 +01:00
parent fd19180e1d
commit f29003c66a
5410 changed files with 869440 additions and 0 deletions

View File

@ -0,0 +1,16 @@
from django.core.management import BaseCommand
from django.conf import settings
from restapi.client import API
import code
class Command(BaseCommand):
def handle(self, **options):
local_objects = {
'api': API(settings.API_SERVER if hasattr(settings, 'API_SERVER') else '127.0.0.1:8000'),
}
code.interact(local=local_objects)