Explain me

21 views
Skip to first unread message

kkwaq...@gmail.com

unread,
Sep 17, 2020, 4:00:27 PM9/17/20
to Django users
ex.jpg
can you explain me (r'^s'),what is this.

Dylan Reinhold

unread,
Sep 17, 2020, 5:34:45 PM9/17/20
to django...@googlegroups.com
Well, (r'^$') that is a python Regular expression syntax https://docs.python.org/3/library/re.html

^ is the start of string and $ is end of string, so it's matching on nothing. A url with nothing after the /.

Dylan

On Thu, Sep 17, 2020 at 1:01 PM kkwaq...@gmail.com <kkwaq...@gmail.com> wrote:
ex.jpg
can you explain me (r'^s'),what is this.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3c9cb180-c76e-4d64-aeeb-afaf53527830n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages