Wednesday, November 23, 2011

Re: 'function' object has no attribute 'as_view'

yeah, very strange.

url(r"magasin/(?P<magasin_id>\d+)/evenement/new/$",
EvenementCreateView.as_view(model=Evenement),
name='new_evenement_magasin'),

and you are sure the error is caused by the line above? Commenting it out and works? Just asking, since you did not provide the whole error description?

No comments:

Post a Comment