Hi again, yes I'm sure the error comes from here. Bellow is the full trace back:
Environment: Request Method: GET Request URL: http://127.0.0.1:8010/magasin/ Django Version: 1.3.1 Python Version: 2.7.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'south', 'clients', 'django.contrib.admin', 'categories', 'magasins', 'registration', 'profiles', 'evenements', 'commandes', 'debug_toolbar'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware') Traceback: File "C:\Python27\Lib\site-packages\django\core\handlers\base.py" in get_response 89. response = middleware_method(request) File "C:\Python27\Lib\site-packages\debug_toolbar\middleware.py" in process_request 70. original_urlconf = __import__(getattr(request, 'urlconf', settings.ROOT_URLCONF), {}, {}, ['*']) File "C:\dev\Flash\urls.py" in <module> 25. (r'magasin/(?P<magasin_id>\d+)/evenement/new/$', EvenementCreateView.as_view(model=Evenement)), Exception Type: AttributeError at /magasin/ Exception Value: 'function' object has no attribute 'as_view' Any ideas are welcome, because this error let me dry !!! huuuu Regards Alain -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Ijq8McV21HQJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.