gitea-migrator/migrator/settings.py

8 lines
355 B
Python
Raw Normal View History

2020-08-03 22:05:16 +02:00
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')