Fixed outdated notes in SchemaEditor docs.

This commit is contained in:
Mariusz Felisiak 2020-10-20 09:49:05 +02:00 committed by GitHub
parent f7963615eb
commit 197b55c534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -32,12 +32,10 @@ support foreign key constraints.
If you are writing or maintaining a third-party database backend for Django, If you are writing or maintaining a third-party database backend for Django,
you will need to provide a ``SchemaEditor`` implementation in order to work with you will need to provide a ``SchemaEditor`` implementation in order to work with
1.7's migration functionality - however, as long as your database is relatively Django's migration functionality - however, as long as your database is
standard in its use of SQL and relational design, you should be able to relatively standard in its use of SQL and relational design, you should be able
subclass one of the built-in Django ``SchemaEditor`` classes and tweak the to subclass one of the built-in Django ``SchemaEditor`` classes and tweak the
syntax a little. Also note that there are a few new database features that syntax a little.
migrations will look for: ``can_rollback_ddl``
and ``supports_combined_alters`` are the most important.
Methods Methods
======= =======