gitea-migrator/migrator/settings.py
2020-08-03 22:05:16 +02:00

7 lines
355 B
Python

from django.conf import settings
GITLAB_API = getattr(settings, 'GITLAB_API', 'https://localhost/api/v4')
GITEA_API = getattr(settings, 'GITEA_API', 'https://localhost/api/v1')
GITLAB_REPO_URL = getattr(settings, 'GITLAB_REPO_URL', 'https://%s:%s@localhost/%s.git')
GITEA_REPO_URL = getattr(settings, 'GITEA_REPO_URL', 'https://%s:%s@localhost/%s.git')