Here is web2py 2.16.1 with the 2.16.1 version of the welcome app on
Pythonanywhere: https://w2ptest.pythonanywhere.com/test/default/index.
What version of web2py are you running on Pythonanywhere?
Anthony
On Monday, February 26, 2018 at 6:35:46 PM UTC-5, 黄祥 wrote:
>
> 1. start from scratch download web2py_src.zip from web2py.com in
> mac:
> 2.16.1-stable+timestamp.2017.11.14.05.54.25
> (Running on Rocket 1.2.6, Python 2.7.10)
> and pythonanywhere:
> (2.16.1-stable+timestamp.2017.11.14.05.54.25
> (Running on Unknown, Python 2.7.6))
> 2. created new web2py app from admin
> 3. edit models/menu.py
> response.menu = [
> (T('Address'), False, URL('master', 'address'), [] ),
> (A('None', _href='/test/master/address', _class='nav-link'), False,
> None),
> (A('Blank', _href='/test/master/address', _class='nav-link'), False,
> ''),
> (None, False, A('Anchor', _href='/test/master/address',
> _class='nav-link') )
> ]
> 4. tested with browser chrome and firefox (both is latest version)
> result:
> <ul class="navbar-nav">
> <li class="nav-item ">
> <a class="nav-link" href="/test/master/address">Address</a>
> </li>
> <li class="nav-item ">
> <a class="nav-link" href="None"></a><a class="nav-link"
> href="/test/master/address">None</a>
> </li>
> <li class="nav-item ">
> <a class="nav-link" href=""></a><a class="nav-link"
> href="/test/master/address">Blank</a>
> </li>
> <li class="nav-item ">
> <a class="nav-link" href="<a class="
> nav-link"="">Anchor</a>">None
> </li>
> </ul>
>
> the url on pythonanywhere is :
> https://sugizo.pythonanywhere.com/test/default/index
>
> best regards,
> stifan
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/d/optout.