Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ Link
Class
Link
tests/fields/test_url_field.py:11–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
""
"Ensure that URLFields validate urls properly."
""
10
11
class
Link(Document):
12
url = URLField()
13
14
link = Link()
15
link.url =
"google"
Callers
4
test_validation
Method · 0.70
test_unicode_url_validation
Method · 0.70
test_url_scheme_validation
Method · 0.70
test_underscore_allowed_in_domains_names
Method · 0.70
Calls
1
URLField
Class · 0.85
Tested by
4
test_validation
Method · 0.56
test_unicode_url_validation
Method · 0.56
test_url_scheme_validation
Method · 0.56
test_underscore_allowed_in_domains_names
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…