~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/faq/models.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.1.12 upstream) (29.1.1 maverick-security)
  • Revision ID: james.westby@ubuntu.com-20101012113435-yy57c8tx6g9anf3e
Tags: 1.2.3-1ubuntu0.1
* SECURITY UPDATE: XSS in CSRF protections. New upstream release
  - CVE-2010-3082
* debian/patches/01_disable_url_verify_regression_tests.diff:
  - updated to disable another test that fails without internet connection
  - patch based on work by Kai Kasurinen and Krzysztof Klimonda
* debian/control: don't Build-Depends on locales-all, which doesn't exist
  in maverick

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _faq-models:
2
 
 
3
1
FAQ: Databases and models
4
2
=========================
5
3
 
30
28
 
31
29
.. versionadded:: 1.2
32
30
 
33
 
If you are using :ref:`multiple databases<topics-db-multi-db>`, you can use the
 
31
If you are using :doc:`multiple databases</topics/db/multi-db>`, you can use the
34
32
same interface on each member of the ``connections`` dictionary::
35
33
 
36
34
    >>> from django.db import connections
39
37
Can I use Django with a pre-existing database?
40
38
----------------------------------------------
41
39
 
42
 
Yes. See :ref:`Integrating with a legacy database <howto-legacy-databases>`.
 
40
Yes. See :doc:`Integrating with a legacy database </howto/legacy-databases>`.
43
41
 
44
42
If I make changes to a model, how do I update the database?
45
43
-----------------------------------------------------------