I don't know what code I could show since the app is online, but in my
routes.py:
from fileutils import abspath
from languages import read_possible_languages
possible_languages = read_possible_languages(abspath('applications', app))
#
----------------------------------------------------------------------------------------------------------------------
# NOTE! app - is an application based router's parameter with name of an
application. E.g.'welcome'
#
----------------------------------------------------------------------------------------------------------------------
routers = {
app: dict(
default_language=possible_languages['default'][0],
languages=[lang for lang in possible_languages if lang != 'default']
)
}
On Tue, May 5, 2020 at 11:09 PM Jim S <[email protected]> wrote:
> Can you show some code?
>
> -Jim
>
> On Tuesday, May 5, 2020 at 1:38:29 PM UTC-5, Maurice Waka wrote:
>>
>> I notice this message after a period of inactivity. See attached.
>> The problem is that on clicking on the login link on the app on
>> pythonanywhere, I get an error: invalid view (default/user/load).
>> How can I resolve this?
>> Regards
>>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/Px0b1zYX-Zg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/541b05b3-02b7-4bc8-8773-f093a41bc1ce%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/541b05b3-02b7-4bc8-8773-f093a41bc1ce%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/CALkNK54meaB2PLi2b7r0%3D-7KPxbYs0%3D1rdsjivxNdcF%3DP-CLjg%40mail.gmail.com.