Page not found (404) Request Method: GET Request URL:
http://localhost:8080/main
Using the URLconf defined in urls, Django tried these URL patterns, in this
order:
1. ^$
2. ^new$
3. ^edit/(\d+)$
The current URL, /main, didn't match any of these.
You're seeing this error because you h
So, I think I found a solution.
But, in
http://code.djangoproject.com/attachment/ticket/1051/ticket_1051_rev6669.diff
I've changed a string
"cursor.execute("SET search_path TO %s" % ','.join
(settings.DATABASE_SCHEMAS)) "
to
"cursor.execute("SET search_path TO %s" ,[settings.DATABASE_SCHEMAS])
"
> and you have 'django.contrib.admin' under INSTALLED_APPS, right?
Yes, I have.
I've also tried http://code.djangoproject.com/ticket/1051
and patch django/db/backends/postgresql_psycopg2/base.py with code in
http://code.djangoproject.com/attachment/ticket/1051/ticket_1051_rev6669.diff
but I'm g
and you have 'django.contrib.admin' under INSTALLED_APPS, right?
On Jul 1, 6:58 am, Unnamed_Hero wrote:
> > this only fails for admin? are the models being written to the database?
>
> Yes, it is.
> I have a database already filled with data. For fetching data I
> specify a class Meta with a db
>
> this only fails for admin? are the models being written to the database?
Yes, it is.
I have a database already filled with data. For fetching data I
specify a class Meta with a db_name='"db_schema'.'db'" in my models.
--~--~-~--~~~---~--~~
You received this m
On Wednesday 01 July 2009 09:42:47 Unnamed_Hero wrote:
> How can I specify a postgres schema for admin site of my django
> project? syncdb failed with "no schema specified for creating
> objects" (error message translated form russion, I do not no exactly,
> what this error look like in English).
How can I specify a postgres schema for admin site of my django
project? syncdb failed with "no schema specified for creating
objects" (error message translated form russion, I do not no exactly,
what this error look like in English).
I'm using django 1.0.2, psycopg2, python 2.5.2, postgres 8.3.7
7 matches
Mail list logo