Hi,


after upgrade to pyramid 1.7.3, these route will conflict:

# photos
config.add_route('photos', '/photos')
config.add_route('all_photos', '/photos/all')
config.add_route('all_photos_pagination', '/photos/all/{page:\d+}')
config.add_route('photos_album', '/photos/albums/{id:\d+}',
                 factory=factories.AlbumFactory)
config.add_route('photos_album_new', '/photos/albums/new')
config.add_route('photos_album_edit', '/photos/albums/{id:\d+}/edit',
                 factory=factories.AlbumFactory)
config.add_route(
    'photos_album_upload', '/photos/albums/{id:\d+}/upload',
    factory=factories.AlbumFactory)

open http://localhost:6543/photos/all got 404 resource not found error.

envs:

python = 3.5.1
pyramid = 1.7.3

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/10740ccc-ae03-42ad-959a-f7b4b6c80c1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to