Alex hi, no error in my code. I followed the instructions from documentation and home1 code is another thing. This is the code: #def home1(request) # return HttpResponseRedirect('http://www.innovatorieuropei.com/ editoriali/') in my views.py in the root site.
In the documentation there is no code in views.py for activating the admin interface. There is 1 instruction in urls.py (r'^admin/', include('django.contrib.admin.urls')), and another in settings.py : adding 'django.contrib.admin', in INSTALLED_APPS. So, why this exception's message? I don't understand. Thanks for the attention On Jan 14, 2:16 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > Error is in your code. Read the exception's message. > > On 14 янв, 16:06, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > > > Before admin worked well. Now with development version this is the > > result: > > ViewDoesNotExist at /admin/ > > Tried home1 in module prog_innov.views. Error was: 'module' object has > > no attribute 'home1' > > Why? > > Of course I have seen all post around the same problem but I don't > > understand. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---