What I'm trying to do is very simple... point /users/registration/.*
to users.py.
In users.py, I have:

webapp.WSGIApplication([('/', RegistrationHandler)], debug = True)

And my app.yaml:

handlers:
- url: /static/stylesheets
  static_dir: static/stylesheets

- url: /users/registration/.*
  script: users.py

- url: /
  script: main.py

- url: .*
  static_files: static/pages/not_found.html
  upload: static/pages/not_found.html

Accessing /users/registration/ results in 404.
It doesn't actually show not_found.html, it just shows blank, with a
404 in the GAE launcher log.
If I change '/' to '/.*' in the parameter to webapp.WSGIApplication(),
the page loads. But I only want '/' to map to RegistrationHandler.
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to