On Wednesday, April 13, 2016 at 4:44:27 PM UTC-7, Dave S wrote:
>
>
>
> On Wednesday, April 13, 2016 at 3:47:38 PM UTC-7, Alex Glaros wrote:
>>
>> that works as I expected,but didn't we not have to copy index.html to
>> newfunc.html?
>>
>> we used to just use admin button to "create new view" and mast header
>> code was automatically included. I mean we had to have {{extend
>> 'layout.html'}} in the view, and that was all that was needed to get
>> headers in the new view.
>>
>
>
> Poking around on git, this doesn't seem to have changed since 2013.
>
> Create view on 2.14.4 makes what is basically a placeholder, with extend,
> h1, beautify(). That doesn't surprise me, because views are
> opportunities to customize. It looks like 2.11.2 did the same: This very
> minimal view is created in applications/admin/controllers/default.py.
>
> I'm not how quickly I access the 2.4.x version web2py I first used.
>
>
FWIW, my oldest app (created under 2.4.x) did have the
banner/title/subtitle stuff in layout.html, and not in default/index.html.
It kept working under most updates, so I didn't pay attention, and the
later apps mostly started with the newer welcome.
/dps
--
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.