Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
this exactly solve the problem: 1) drop from the database the table django_content_type. 2) run python manage.py syncdb to recreate the table. On Jan 14, 9:44 pm, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > Thanks to all. > I dropped tha table django_content_type and all worked wery well. > > O

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
Thanks to all. I dropped tha table django_content_type and all worked wery well. On Jan 14, 8:53 pm, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > no home1 in blog.urls > I searched in the net for the problem and I founded in this > forumhttp://www.nabble.com/Error-message-when-viewing-admin--%

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
no home1 in blog.urls I searched in the net for the problem and I founded in this forum http://www.nabble.com/Error-message-when-viewing-admin--%28ViewDoesNotExist-at--admin-%29-to13022675.html an answer: """Did you have a view named "startsess" that you subsequently deleted? Admin is looking for

Re: problem with django admin after update to development version

2008-01-14 Thread David Grant
Look in prog_innov.blog.urls too 2008/1/14 Rocco Pellegrini <[EMAIL PROTECTED]>: > > urlpatterns = patterns('', ># Example: ># (r'^prog_innov/', include('prog_innov.apps.foo.urls.foo')), > ># Uncomment this for admin: >(r'^admin/', include('django.contrib.admin.urls')), >(r'^b

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
urlpatterns = patterns('', # Example: # (r'^prog_innov/', include('prog_innov.apps.foo.urls.foo')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'^blog/', include('prog_innov.blog.urls')), (r'^editoriali/', include('prog_innov.editorial

Re: problem with django admin after update to development version

2008-01-14 Thread Grindizer
what do you have in your urls.py ? On 14 jan, 15:57, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > I removed it but the response was the same. > ??? > Request Method: GET > Request URL:http://innovatorieuropei.com/admin/ > Exception Type: ViewDoesNotExist > Exception Value:

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
It means that you haven't delete all references to this commented view. On 14 янв, 17:57, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > I removed it but the response was the same. > ??? > Request Method: GET > Request URL:http://innovatorieuropei.com/admin/ > Exception Type: V

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
I removed it but the response was the same. ??? Request Method: GET Request URL:http://innovatorieuropei.com/admin/ Exception Type: ViewDoesNotExist Exception Value:Tried home1 in module prog_innov.views. Error was: 'module' object has no attribute 'home1' I dont' undes

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
It is a solution. """ Tried home1 in module prog_innov.views. Error was: 'module' object has no attribute 'home1' """ Uncomment it or remove this view from urls.py On 14 янв, 17:29, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > yes > > On Jan 14, 3:22 pm, Grindizer <[EMAIL PROTECTED]> wrote: >

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
yes On Jan 14, 3:22 pm, Grindizer <[EMAIL PROTECTED]> wrote: > > #def home1(request) > > # return HttpResponseRedirect('http://www.innovatorieuropei.com/ > > are this lines commented in you code ? --~--~-~--~~~---~--~~ You received this message because you are su

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
Error is still in you code. May be you(django when imports modules and parses the urls.py files) try to import name that doesn't exists. Check urls.py and models.py files. On 14 янв, 16:35, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > Alex hi, > no error in my code. > I followed the instructions

Re: Re: problem with django admin after update to development version

2008-01-14 Thread patrick . o
I am on a client site on the 11th Jan. I shall respond to your email on my return. Many thanks Patrick O'Connor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: problem with django admin after update to development version

2008-01-14 Thread Grindizer
> #def home1(request) > # return HttpResponseRedirect('http://www.innovatorieuropei.com/ are this lines commented in you code ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
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 co

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
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

problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
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. --~--~-