Skip to content

Conversation

@RasmusWL
Copy link
Member

This was pleasantly easy to do, compared to all the other modeling I have been doing.

Again need to remove trailing $, since inline-expectation tests still don't
handle $
Added it to the `testapp` so it's easy to run the server to SEE that it works.

Added it to `routing_test` so it's obvious this is supported by our modeling
when we _know_ it's running Django 2/3.
@RasmusWL RasmusWL requested a review from a team as a code owner October 23, 2020 12:29
Copy link
Contributor

@tausbn tausbn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor comments. Otherwise this looks good to me.

exists(DataFlow::TypeTracker t2 | result = urls(t2).track(t2, t))
}

// NOTE: had to rename due to shadowing rules in QL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this would shadow django::urls? That's unfortunate.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes 😐

Co-authored-by: Taus <tausbn@github.com>
@RasmusWL RasmusWL requested a review from tausbn October 23, 2020 13:40
@codeql-ci codeql-ci merged commit 6218a48 into github:main Oct 23, 2020
@RasmusWL RasmusWL deleted the python-model-django-v1 branch October 23, 2020 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants