I haven't tried that before today, but it still didn't work. I appreciate the
suggestion though. Do you have any more?
--
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
in python anywhere console
Copy routes to web2py folders
cp web2py/examples/routes.parametric.example.py web2py/routes.py
edit
default_application='welcome'
into or whatever application you want
default_application='jbtus',
go to web2py admin page and hit "reload routes" button
best regards,
sti
I hadn't tried that previously, but after you recommended it. Tried it and
it was still the same result.
Also, my app is named JBTUS and that's the name that i used in routes.py as
well. Should it be lower case?
On Tuesday, January 3, 2017 at 5:50:32 PM UTC-6, 黄祥 wrote:
>
> had you already hit
had you already hit "reload routes" button in web2py admin app?
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 me
I posted this:
routers = dict(
BASE = dict(
default_application='MyApp',
)
)
into routes.py that i created in Applications/web2py/. I changed MyApp to
the name of my app and i also am hosted on python anywhere. i saved the
file and reloaded my domain bye pressing the green
Thanks! That was exaclty what i was looking for! but what if i have
multiple web2py websites? For instance, one app will be on jbtus.com and
Another app will have a domain of jbtus2.com
Should i just copy the whole web2py program and make two different
routes.py?
On Tuesday, January 3, 2017
On Monday, January 2, 2017 at 1:03:42 PM UTC-8, David Shavers wrote:
>
> I've read both links that you guys have sent and now I know what code I
> need to put into the routes.py file, but It's still not clear to me where I
> should place it. By "in the /web2py folder," do you mean in the folder
I've read both links that you guys have sent and now I know what code I
need to put into the routes.py file, but It's still not clear to me where I
should place it. By "in the /web2py folder," do you mean in the folder that
contains the downloaded web2py application?
For instance, on mac.. mac/us
Use routes.py and specify your app as the default app (you can also remove
the welcome app if you don't want it to be shown). The routes.py file goes
in the /web2py folder, and there is no need to name your app "init" in this
case. See
http://web2py.com/books/default/chapter/29/04/the-core#Para
I am interested in using the routes.py method. Do I create the file inside of init or do I create it inside of the actual web2py application?
Try this:
http://web2py.com/books/default/chapter/29/04/the-core#Application-init
Defining a app how first..
Em segunda-feira, 2 de janeiro de 2017 04:48:12 UTC-3, David Shavers
escreveu:
>
> Hi, I have an app and I had to name it 'init' because the 'welcome' app
> kept coming up first. How ca
11 matches
Mail list logo