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
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--%
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
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
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
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:
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
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
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:
>
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
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
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
> #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
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
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
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.
--~--~-
16 matches
Mail list logo