(registry_url)
| 56 | return DroneDB(registry_url, username, password, token, lambda token: update_token(request, token)) |
| 57 | |
| 58 | def to_web_protocol(registry_url): |
| 59 | return registry_url.replace('ddb+unsafe://', 'http://').replace('ddb://', 'https://').rstrip('/') |
| 60 | |
| 61 | class CheckCredentialsTaskView(TaskView): |
| 62 | def post(self, request): |