CRUDViewGroup を移動しました

21 views
Skip to first unread message

Takashi MATSUO

unread,
Jun 7, 2010, 10:14:26 PM6/7/10
to kay-us...@googlegroups.com
松尾です。

CRUDViewGroup の場所を移動しました。
今までは kay.generics.CRUDViewGroup にあったのが kay.generics.crud.CRUDViewGroup になりました。
認可用のプリセットメソッドは kay.generics に残ったままです。

なので下記のようにしてください。

from kay import generics
from kay.generics import crud

class EventCRUDViewGroup(crud.CRUDViewGroup):
model = 'meet_at.models.Event'
form = 'meet_at.forms.EventForm'
templates = {
'show': 'meet_at/event_show.html',
'list': 'meet_at/event_list.html',
'update': 'meet_at/event_update.html'
}
authorize = generics.only_owner_can_write_except_for_admin


お手数をおかけしますがよろしくお願いします。

--
Takashi Matsuo
matsuo....@gmail.com
Kay's daddy

Aki Tanaka

unread,
Jun 20, 2014, 9:41:15 AM6/20/14
to kay-us...@googlegroups.com
お世話になっております。
http://kay-docs.shehas.net/generic_views.html
の通りにやってみましたがエラーは以下となります。

Not Found

The requested URL was not found on the server.

If you entered the URL manually please check your spelling and try again.


どうすればいいでしょうか。

どうぞよろしくお願い申し上げます。

Reply all
Reply to author
Forward
0 new messages