Disregard... got 'routes.example.py' confused with 'router.example.py'...

Looks like its working ATM.

Thanks,

Monte

On Monday, May 20, 2013 1:22:59 PM UTC-7, Monte Milanuk wrote:
>
>
>
> On Monday, May 20, 2013 8:18:14 AM UTC-7, Jonathan Lundell wrote:
>>
>>
>> The critical test at this point is that the URL() function (it's used by 
>> the menu) should be generating shortened URLs. If it's not, then web2py is 
>> for some reason not seeing your routes.py, or it has perhaps a typo.
>>
>> As a test, you might try doing this in the base directory:
>>
>> cp router.example.py routes.py
>>
>> ... removing any routes.py in your application's directory, restarting 
>> web2py, and looking at what you get from your menu. If that works (it 
>> should), then edit routes.py with your app name as the default. 
>>
>
> Okay... at this point I am getting *very* confused.  Sorry.
>
> I deleted 'my' version of routes.py in both <web2py-root> and in 
> <application_name> directories.  In <web2py-root>, I copied '
> routes.example.py' to 'routes.py', copied the line that looked like:
>
> default_application = 'init'    # ordinarily set in base routes.py
>  
> to a new line, changed 'init' to 'my_contacts', and commented out the 
> original line.  No other changes were made to the file.
>
> Still doesn't any different than before; the urls always show the 
> controller name (default).
>
> Thanks,
>
> Monte
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to