Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 8, 2005 16:06:33

patrick k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

install admin won´t work


when trying to install the admin-table with "django-admin.py install admin"
i get the following error:

1050, "Table 'django_admin_log' already exists"

but ... that table doesn´t exist.
i´m using the current trunk, by the way.

patrick

Offline

#2 Dec. 8, 2005 16:28:48

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

install admin won´t work


On 12/8/05, patrick k <> wrote:
> when trying to install the admin-table with "django-admin.py install admin"
> i get the following error:
>
> 1050, "Table 'django_admin_log' already exists"
>
> but ... that table doesn´t exist.

Hmmm, I'm not sure what to say about this other than: Are you sure the
table doesn't already exist? Are you sure you're thinking of the same
database that Django is thinking about?

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

#3 Dec. 8, 2005 16:36:44

patrick k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

install admin won´t work


django-admin.py init worked ... so the tables are there (not
"django_admin_log", i´m sure about that).
i already created a superuser. could that be a problem? (i´m still using the
dreamhost-wiki for my installation).

i also get the login for the admin-interface. when trying to login, i get
the error:
"Table 'dkitdb.django_admin_log' doesn't exist"


>
> On 12/8/05, patrick k <> wrote:
>> when trying to install the admin-table with "django-admin.py install admin"
>> i get the following error:
>>
>> 1050, "Table 'django_admin_log' already exists"
>>
>> but ... that table doesn´t exist.
>
> Hmmm, I'm not sure what to say about this other than: Are you sure the
> table doesn't already exist? Are you sure you're thinking of the same
> database that Django is thinking about?
>
> Adrian
>
> --
> Adrian Holovaty
> holovaty.com | djangoproject.com | chicagocrime.org

Offline

#4 Dec. 8, 2005 18:03:18

Brett H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

install admin won´t work


What is the value of your DJANGO_SETTING_MODULE environment variable?
Is that the same as the project you're working on?

Have you checked and double checked the DATABASE_ENGINE and
DATABASE_NAME in "YourProject"/settings.py? Do they match the DB
you're looking at when you say _log doesn't exist?

Sorry if these are obvious, just wanted to make sure.

Offline

#5 Dec. 8, 2005 18:20:51

patrick k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

install admin won´t work


i´ve double checked everything.

however, i just tried "django-admin.py install admin
--settings=cms.settings" and that worked.
somehow strange.


> What is the value of your DJANGO_SETTING_MODULE environment variable?
> Is that the same as the project you're working on?
>
> Have you checked and double checked the DATABASE_ENGINE and
> DATABASE_NAME in "YourProject"/settings.py? Do they match the DB
> you're looking at when you say _log doesn't exist?
>
> Sorry if these are obvious, just wanted to make sure.
>

Offline

#6 Dec. 8, 2005 19:53:50

Brett H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

install admin won´t work


Your enviroment variable must be wrong then...

Offline

Board footer

Moderator control

Enjoy the 23rd of April
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support