8 lines
355 B
Python
8 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')
|