Commit fefca754 authored by Michal Čihař's avatar Michal Čihař

Missing import

parent 7d8f32af
......@@ -65,6 +65,7 @@ def validate_repo(val):
'''
Validates Git URL, and special weblate:// links.
'''
from weblate.trans.models import SubProject
try:
repo = get_linked_repo(val)
if repo is not None and repo.is_repo_link():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment