URI regex not working example /events/eventname1
I have a class EventPage, that I want to provide with event name using events/event-name pattern but I get a 404 error. Does anyone know how to fix it?

    app = webapp2.WSGIApplication([(r'/', IndexPage),
                                    (r'/events/<eventname:[^/]+>', EventPage)
                                    ],
                                  debug=True)
URI regex not working example /events/eventname1
===

I have a class EventPage, that I want to provide with event name using events/event-name pattern but I get a 404 error. Does anyone know how to fix it?

    app = webapp2.WSGIApplication([(r'/', IndexPage),
                                    (r'/events/<eventname:[^/]+>', EventPage)
                                    ],
                                  debug=True)