elliotgao2/toapi

Route order problem.

elliotgao2 opened this issue · 0 comments

At present, we define route as follows:

        route = {'/movies/?page=1': '/html/gndy/dyzz/',
                 '/movies/?page=:page': '/html/gndy/dyzz/index_:page.html',
                 '/movies/': '/html/gndy/dyzz/'}

The problem is the ordering.

Use tuple or OrderedDict