Skip to content

Commit 1a05c2e

Browse files
authored
Added Django test
1 parent 0a74a3a commit 1a05c2e

File tree

1 file changed

+4
-1
lines changed
  • javascript/ql/test/query-tests/DOM/TargetBlank

1 file changed

+4
-1
lines changed

javascript/ql/test/query-tests/DOM/TargetBlank/tst.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,7 @@ function f() {
6565
<a href="{{ url_for('foo.html', 'foo')}}" target="_blank">Example</a>;
6666

6767
// OK, nunjucks template
68-
<a href="{{ url('foo', query={bla}) }}" target="_blank">Example</a>
68+
<a href="{{ url('foo', query={bla}) }}" target="_blank">Example</a>;
69+
70+
// OK, Django application with internal links
71+
<a href="{% url 'admin:auth_user_changelist' %}" target="_blank">Example</a>

0 commit comments

Comments
 (0)