goldenfire,
you need to combine your url maps to something like,
def main():
application = webapp.WSGIApplication([('/', MainHandler),
('/guestbook',
GuestbookMain)],
debug=True)
util.run_wsgi_app(application)
then to access the guestbook visit /guestbook, or for the main site
visit /
On May 29, 3:02 am, goldenfire <[email protected]> wrote:
> I have created an app that allows you to search for a key word within a
> database, which returns results.
>
> I have another app that is a guestbook.
>
> Each app works perfectly on its own (each has its own port on the
> localhost), but when I transfer the contents of each into the one main.py
> file (hosted on a third port)...the word searching functions work perfectly,
> but when I attempt to navigate to the 'Guestbook' page, it does not work.
>
> I believe the problem exists around the end of the GuestbookMain class (path
> =), because that is where the html is dealt with, or at the if '*name*' == '
> *main*' (since I don't fully understand what is going on there). I imagine
> it is some problem with not being able to make the link operate correctly,
> since the guestbook works fine as a standalone.
>
> here is all the relevant code, from the combined main.py file.
> [1]http://dpaste.com/547878/
>
> Thanks for your help!
--
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.