I hate to seem like a weak sister, but I am having problems again. 

One page 88 of the manual, you said to modify the code in the 
views/default/index. There is already a lot of html in in this file, but it 
didn't seem to be in the order I expected. It doesn't start off with <html> for 
example, it just jumps right into an <h1>. I took a deep breath, deleted 
everything that was there, replaced it with the code in the manual, and saved 
it. If this is what you want your students to do, it would be helpful if you 
said so right out. 

It seems to be working, but it has a little 1 2 3 above the big, bold "Hello 
from MyApp", and a little 5 6 below it. Something extra is happening here.



________________________________
From: Anthony <abasta...@gmail.com>
To: web2py@googlegroups.com
Cc: Hal Smith <grownup_...@yahoo.com>
Sent: Tue, March 22, 2011 3:22:57 PM
Subject: Re: Runnning my new app


Hopefully it will become clear as you go through the book. If not, come back 
and 
ask. :)
 
This section might help: http://web2py.com/book/default/chapter/04#Dispatching
 
Anthony


On Tuesday, March 22, 2011 4:14:26 PM UTC-4, Hal Smith wrote:
I got it working. But I don't understand what is going on there. I hope your 
manual clarifies that. 
>
>
>
________________________________
 From: Anthony <aba...@gmail.com>
>To: web...@googlegroups.com
>Cc: Hal Smith <grow...@yahoo.com>
>Sent: Tue, March 22, 2011 9:59:29 AM
>Subject: Re: Runnning my new app
>
>On Tuesday, March 22, 2011 11:43:10 AM UTC-4, Hal Smith wrote: 
>I am supposed to get "Hello from my first Web app", but all I see is "Hello 
>World"
 
Are you following the tutorial in the book? Is your new app named "myapp"? If 
so, make sure the default.py controller that you edited is the one in the 
"myapp" app (and not the one in the "welcome" app), and make sure you entered 
the url for "myapp" -- http://127.0.0.1:8000/myapp/ default/index.
 
Anthony

Reply via email to