On Feb 19, 1:52 pm, "Honza Král" <[EMAIL PROTECTED]> wrote:
> On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Feb 19, 1:25 pm, "Honza Kr?l" <[EMAIL PROTECTED]> wrote:
> > > On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
> > > > On Feb 19, 12:46 pm, "Honza Kr?l" <[EMAIL PROTEC
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 1:25 pm, "Honza Kr�l" <[EMAIL PROTECTED]> wrote:
> > On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > On Feb 19, 12:46 pm, "Honza Kr?l" <[EMAIL PROTECTED]> wrote:
> >
> > > > what exactly are you doing?
> > > > this
On Feb 19, 1:25 pm, "Honza Král" <[EMAIL PROTECTED]> wrote:
> On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 19, 12:46 pm, "Honza Kr?l" <[EMAIL PROTECTED]> wrote:
>
> > > what exactly are you doing?
> > > this approach works perfectly for me...
>
> > I put the mentioned sql in
On Feb 19, 1:35 pm, "Honza Král" <[EMAIL PROTECTED]> wrote:
> On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Feb 19, 1:25 pm, "Honza Kr?l" <[EMAIL PROTECTED]> wrote:
> > > On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
> > > > On Feb 19, 12:46 pm, "Honza Kr?l" <[EMAIL PROTEC
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 1:25 pm, "Honza Kr�l" <[EMAIL PROTECTED]> wrote:
> > On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > On Feb 19, 12:46 pm, "Honza Kr?l" <[EMAIL PROTECTED]> wrote:
> >
> > > > what exactly are you doing?
> > > > this
On Feb 19, 1:25 pm, "Honza Král" <[EMAIL PROTECTED]> wrote:
> On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 19, 12:46 pm, "Honza Kr?l" <[EMAIL PROTECTED]> wrote:
>
> > > what exactly are you doing?
> > > this approach works perfectly for me...
>
> > I put the mentioned sql in
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 12:46 pm, "Honza Kr�l" <[EMAIL PROTECTED]> wrote:
>
> >
> > what exactly are you doing?
> > this approach works perfectly for me...
> >
> I put the mentioned sql in a file in my Djano installation django/
> contrib/auth/sql/users.s
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 1:11 pm, "Chris Brand" <[EMAIL PROTECTED]> wrote:
> > > I then erase my apps database and run 'manage.py syncdb'
> >
> > Are you aware that you don't have to erase the database before running
> > syncdb ? If you don't erase the db,
On Feb 19, 1:11 pm, "Chris Brand" <[EMAIL PROTECTED]> wrote:
> > I then erase my apps database and run 'manage.py syncdb'
>
> Are you aware that you don't have to erase the database before running
> syncdb ? If you don't erase the db, you won't need to recreate the
> superuser...
>
If I add or
> I then erase my apps database and run 'manage.py syncdb'
Are you aware that you don't have to erase the database before running
syncdb ? If you don't erase the db, you won't need to recreate the
superuser...
Chris
--~--~-~--~~~---~--~~
You received this mess
On Feb 19, 12:46 pm, "Honza Král" <[EMAIL PROTECTED]> wrote:
>
> what exactly are you doing?
> this approach works perfectly for me...
>
I put the mentioned sql in a file in my Djano installation django/
contrib/auth/sql/users.sql
I then erase my apps database and run 'manage.py syncdb'
When p
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> No luck. I put:
>
> BEGIN;
> INSERT INTO "auth_user" ('username', 'email', 'password') VALUES
> ('admin', '[EMAIL PROTECTED]', 'sha1$b0461$2ed273ea30cf73581'); #'admin'
> COMMIT;
>
> BEGIN;
> INSERT INTO "auth_user" ('is_staff', 'is_active'
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 11:40 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> >
> > > How do I generate a hashed password?
> >
> > The easiest way is actually to manually create the superuser once
> > du
On Feb 19, 11:40 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
> > How do I generate a hashed password?
>
> The easiest way is actually to manually create the superuser once
> during a syncdb run, and then copy/paste the hash out of the admin
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> How do I generate a hashed password?
The easiest way is actually to manually create the superuser once
during a syncdb run, and then copy/paste the hash out of the admin
page for that user. You can manually generate a hash if you want to,
but it's
On Feb 19, 11:08 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 2/19/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
> > Something like
>
> > BEGIN;
> > INSERT INTO "auth_user" ('username', 'email', 'password') VALUES
> > ('me', '[EMAIL PROTECTED]', 'my_hashed_password');
> > COMMIT;
>
> (an
On 2/19/07, James Bennett <[EMAIL PROTECTED]> wrote:
> Something like
>
> BEGIN;
> INSERT INTO "auth_user" ('username', 'email', 'password') VALUES
> ('me', '[EMAIL PROTECTED]', 'my_hashed_password');
> COMMIT;
(and, of course, the appropriate value of True for the DB you're
using, on the 'is_sta
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> -- I see how to provide a .sql file, but how do I put a super user in
> it?
Something like
BEGIN;
INSERT INTO "auth_user" ('username', 'email', 'password') VALUES
('me', '[EMAIL PROTECTED]', 'my_hashed_password');
COMMIT;
Just straightforward SQ
None of those suggestions seem to help
-- Should I use a method that will break in 1.0??
-- As a beginner, I am loath to try patching Django
-- I have no test_client in my Django distribution
-- I see how to provide a .sql file, but how do I put a super user in
it?
Perhaps I'm just going at this
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> Is there a was to install the contrib.admin app without the
> contrib.auth app??
No; the admin app requires the auth app so that it can allow
authorized users to log in.
> While learning, I am eraseing the database and doing manage.py syncdb
> a
On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
> Is there a was to install the contrib.admin app without the
> contrib.auth app??
No; the two are pretty closely intertwined.
> While learning, I am eraseing the database and doing manage.py syncdb
> a lot, and it would be real nice to have it c
21 matches
Mail list logo