solved
#APPEND_SLASH = False
2013/5/27 Anshik Andrey
> Hi.
> on the local PC all works
>
> on the server, when I'm trying xxx.yyy/admin, i've got 404, and there is
> no diff DEBUG=True/False
> how to detect error?
>
> my urls.py, and in the settings.py 'django.contrib.admin', ALLOWED_HOSTS =
>
Hi.
on the local PC all works
on the server, when I'm trying xxx.yyy/admin, i've got 404, and there is no
diff DEBUG=True/False
how to detect error?
my urls.py, and in the settings.py 'django.contrib.admin', ALLOWED_HOSTS =
['127.0.0.1', 'xxx.yyy']
from django.contrib.staticfiles.urls import s
Hi all,
Anybody know a good documentation or book that can help me with integrating
google maps with my app?
--
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 fro
Thanks Chintan, Tom,
'twas easy.
Regards
Damola
From: Chintan Tank
To: django-users@googlegroups.com
Sent: Monday, August 8, 2011 4:08:09 PM
Subject: Re: problem with django admin
I think you might want to define what text to display when you dir
I think you might want to define what text to display when you directly
reference the model's instance.
see
https://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#unicode
In Java it is like overriding the toString() method.
On Mon, Aug 8, 2011 at 10:35 AM, Oyedamola Oyeniyi wro
Hi all,
I have a strange problem with the admin pages and I don't evenknow
where to begin tolook at the FAQ. I'm a newbie to Django and Python(in
fact, web applications in general) so forgive the dumbness of the
question.
I have just finished the models.py and admin.py files on an app I am
workin
Duh!! yeah restarting apache did it. How did I forget something so
simple!!
Thanks
Simon
On 22 Feb, 15:04, Shawn Milochik wrote:
> Did you manually restart the Apache instance for this app?
>
> I had a similar problem, and it turned out that I had a bit of code in one of
> my model that was
Did you manually restart the Apache instance for this app?
I had a similar problem, and it turned out that I had a bit of code in one of
my model that was pulling from a table that was no longer defined. Check for
that as well.
--
You received this message because you are subscribed to the Go
Hi
I'm still developing my app and I have just refactored my models in my
django app. I dropped most of the existing tables on my local dev
machine and then completely rebuilt everything using syncdb,
everything worked fine, including the admin, no probs at all.
Then I updated everything on my w
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.
--~--~-
25 matches
Mail list logo