I am using script/autoroutes.py for the application with following changes :
config = '''
server.com /app/default
'''
def auto_in....
...
routes += [('^.*:/(?P<user>[^\\/\.]+)(?P<rest>.*)$',
'/profile/\g<user>\g<rest>')]
return routes
def auto_out...
...
routes +=
[('^.*:/profile/(?P<user>[^\\/\.]+)(?P<rest>.*)$','\g<user>\g<rest>')]
return routes
But when I open server.com/username, then I expect it to direct it me to
server.com/profile/username which is nothing
server.com/app/default/profile/username but it instead gives me invalid
function (default/username) error.
Any clues where I am being wrong in this?