[web2py] Re: URL formation in CRUD

2011-01-27 Thread Running Clam

If this isn't something anyone else has encountered, can anyone clue
me in as to how to start digging into this?

I'm not sure whether to start with my own set-up (Windows, Version
1.91.6), or dive into the web2py source, which I've not had reason to
do before...


[web2py] Re: URL formation in CRUD

2011-01-27 Thread Running Clam
Hi,

On Jan 27, 1:56 pm, web2py noob  wrote:
> ref:http://web2py.com/book/default/chapter/07#CRUD
>
> crud.settings.controller = 'crm'
>

D'Oh!

Will retest and report back as to how I got on.


--

Clam


[web2py] Re: URL formation in CRUD

2011-01-27 Thread Running Clam
Hi,

OK, specifying the controller as follows: -

crud.settings.controller = 'crm'

...as suggested by web2py.n00b resolves the controller name issue, and
I feel suitably foolish for having overlooked it.

However, the omission of the "data" function name still happens when I
drill down to a record: -

- at [app]/crm/data/tables I see my list of tables, and can drill down
to one, e.g. "client".

- at [app]/crm/data/select/client I see my list of clients, but in the
link behind the ID it omits the function name "data", and so takes me
to [app]/crm/read/client/1 which throws rightly throws "invalid
function (crm/read)", instead of the correct URL of "[app]/crm/data/
read/client/1".

What am I missing?

--

Clam


[web2py] Re: URL formation in CRUD

2011-01-29 Thread Running Clam
See: 
http://groups.google.com/group/web2py/browse_thread/thread/8aab803ada993cd3#


Re: [web2py] Re: URL formation in CRUD

2011-01-27 Thread web2py noob
ref: http://web2py.com/book/default/chapter/07#CRUD

crud.settings.controller = 'crm'


2011/1/27 Running Clam :
>
> If this isn't something anyone else has encountered, can anyone clue
> me in as to how to start digging into this?
>
> I'm not sure whether to start with my own set-up (Windows, Version
> 1.91.6), or dive into the web2py source, which I've not had reason to
> do before...
>