Hi, I'm currently starting a project in django, and there's some data
already in another database.
We're planning to go and use that information (more specifically user
information) in the django application.

However, this forms several problems:
1) There are 2 different databases. A django settings.py file only
allows for one database (?) Is there any way to use the second
database using the database feature of django.
2) We would like to use the authenticate feature of django in the
application too. We are willing to change the users table, but we need
compatibility with other applications which use the same user
database.

Most ideally we would like to have it so that the application uses DB1
(defined in the settings.py file) as the main database, but when it's
down to users, uses DB2.user as the users table.
Currently we are thinking of using raw sql, but that would only be a
last resort preferably. And at that point I'd be more scrambled on how
to use authenticate together with it.

So, basically, preferably I would like to learn about a model method
to simply use that...

Thanks in advance!

--~--~---------~--~----~------------~-------~--~----~
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