Answer the question
In order to leave comments, you need to log in
How is a variable designated in a Django regular expression?
None of the answers on the internet worked.
I'm new to Django
Django 1.10
url(r'^article(variable here)$', article_get)
The variable will be passed to the view function as the second variable.
Blog project, so I want to create the ability to view one article.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question