I am migrating a site from .net/access to django.  the MySql Migration Wizard 
gets the data out of access and into a MySql db nice and easy.  There is even 
some provision for scripting it, but don't ask me about that cuz I havn't used 
it yet :)

I can write .sql and python easy enough, and I am sure I can 'just do this' but 
was hoping to expand my skills a bit.  The hickup is passwords.>>> from

 >>> django.contrib.auth.models import User
 >>> import MySQLdb
 >>> con=MySQLdb.connect(user='u', passwd='x', db='x' )
 >>> cur=con.cursor()
 >>> cur.execute( 'select * from Member limit 1' )
1L
 >>> members=cur.fetchall()
 >>> members
(('1111', 'Deckard', 'Rick', '[EMAIL PROTECTED]'),)
 >> cur.description
(('MemberNumber', 253, 4, 255, 255, 0, 0), ('Surname'...

So yeah, I can plow through this and figure it out, but I was thinking maybe 
django's ORM could be used.  didn't see anything in the docs.

Carl K

--~--~---------~--~----~------------~-------~--~----~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to