This might be frivolous, I don’t know the origin of P
in /(?P<topic_id>\d+)$"
,
Google searches aren’t helpful. Python official docs does not elaborate it on 6.2. re
[ # page for adding a new new Entry
url(r"^new_entry/(?P<topic_id>\d+)$", views.new_entry, name='new_entry'), ]
Does the ‘P’ mean ‘pattern’ which seems unnecessary to declare it.