1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Added 'Can I use Django with a pre-existing database?' to the FAQ

git-svn-id: http://code.djangoproject.com/svn/django/trunk@382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-01 21:40:13 +00:00
parent 6950f4f8dd
commit e73c734336

View File

@ -278,6 +278,17 @@ dictionaries in order of query execution. Each dictionary has the following::
``sql`` -- The raw SQL statement
``time`` -- How long the statement took to execute, in seconds.
Can I use Django with a pre-existing database?
----------------------------------------------
Yes. For the time being, you can write models that describe your
already-existing database layout, and just point Django at your database.
We also plan to make this even easier: Soon, Django will be able to introspect
your database and generate models from it. See `Ticket 90`_.
.. _`Ticket 90`: http://code.djangoproject.com/ticket/90
The admin site
==============