On Saturday, August 31, 2019 at 4:58:49 AM UTC-7, Maurice Waka wrote:
>
> Hi
> This is a very good discussion.
> I followed it and it worked for me.
> However, I have multiple controllers with different views, How can I make 
> it (HIDE ALL CONTROLLER NAMES) for all pages.
>

Say what?  How do you distinguish between apps and pages if you are going 
to get take the controller names out of the URLs?  You can use routes.py to 
map everything to a default path, but then thats what you get .. the 
default path.

You can abuse this to make myapp/default/showstuff look like 
,myapp/index?showstuff, but then you just make index figure out what the 
real functions are.

/dps


 

> So far it only works for default/index
> Kind regards
> On Friday, November 3, 2017 at 2:31:00 PM UTC+3, Anthony wrote:
>>
>> On Thursday, November 2, 2017 at 9:47:35 PM UTC-4, Joe wrote:
>>>
>>> Yes, this is how the structure should look like, but it seems 
>>> pythonanywhere doesn't allow me to setup the structure this way.
>>>
>>> If I try to use this path to install a new app: 
>>> /home/username/web2py/applications
>>>
>>>
>>> I get this pythonanywhere error msg during the process:
>>> Enter the path for a new directory to contain the web2py code
>>> failed to remove ‘/home/my_user_name/web2py/applications’: Directory not 
>>> empty
>>>
>>
>> What do you mean by "install a new app"? If you want to create a new app, 
>> you can either use the web2py admin interface, or you can just go to the 
>> Pythonanywhere "Files" tab in the dashboard, navigate to the 
>> /web2py/applications directory, and enter a new directory name where it 
>> says "Enter new directory name" (or you can just use a Bash console to 
>> create a folder).
>>
>> If none of that is working for you, either contact Pythonanywhere support 
>> or just create a new account.
>>
>> Anthony
>>
>

-- 
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/c21f4800-bedb-41c1-818d-29d9babb9d8c%40googlegroups.com.

Reply via email to