per page, with , order by , clip by
Results of 1 - 10 of about 19 for rename (0.004 sec.)
Django 1.7.4 リリースノート 13147
Django 1.7.4 リリースノート January 27, 2015 Django 1.7.4 fixes several bugs in 1.7.3. バグ修正 Fixed a migration crash when unapplying contrib.contenttypes 's or contrib.auth 's first migration ( #24075 ). Made the migration's RenameModel ... operation rename ManyToManyField tables ( #24135 ). Fixed a migration crash on MySQL when migrating from a OneToOneField to a ForeignKey ( ...
https://man.mtool.work/django/6.1/releases/1.7.4.html
SchemaEditor 10706
SchemaEditor class BaseDatabaseSchemaEditor [ソース] Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような操作を実行するべきかを計算してその結果を保管するロジックの部分 ( django.db.migrations )と、「モ ... remove_index() BaseDatabaseSchemaEditor. remove_index ( model , index ) [ソース] model のテーブルから index を削除します。 rename_index() BaseDatabaseSchemaEditor. rename_index ( model , old_index , new_index ) [ソース] model のテーブルの old_index を ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
Django の機能廃止のタイムライン 10228
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... onger support old style lists. Support for string view arguments to url() will be removed. The backward compatible shim to rename django.forms.Form._has_changed() to has_changed() will be removed. The removetags template filter will be removed. The rem ... dard library instead. ModelAdmin.declared_fieldsets will be removed. Instances of util.py in the Django codebase have been renamed to utils.py in an effort to unify all util and utils references. The modules that provided backwards compatibility will b ... .db.backends.util django.forms.util ModelAdmin.get_formsets will be removed. The backward compatibility shim introduced to rename the BaseMemcachedCache._get_memcache_timeout() method to get_backend_timeout() will be removed. The --natural and -n optio ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django 1.10.1 リリースノート 10228
Django 1.10.1 リリースノート September 1, 2016 Django 1.10.1 fixes several bugs in 1.10. バグ修正 Fixed a crash in MySQL connections where SELECT @@SQL_AUTO_IS_NULL doesn't return a result ( #26991 ). Allowed User.is_authenticated and User. ... s in the Apps instance provided to the pre_migrate signal receivers to allow ContentType renaming to be performed on model rename ( #27100 ). Reallowed subclassing UserCreationForm without USERNAME_FIELD in Meta.fields ( #27111 ). Fixed a regression in ...
https://man.mtool.work/django/6.1/releases/1.10.1.html
Django 1.8 リリースノート 10228
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... syntax, this becomes: [ "States" , [ "Kansas" , [ "Lawrence" , "Topeka" ], "Illinois" ]] django.forms.Field._has_changed() Rename this method to has_changed() by removing the leading underscore. The old name will still work until Django 1.10. django.ut ... te loaders and didn't work for included templates. django.template.loader.BaseLoader django.template.loader.BaseLoader was renamed to django.template.loaders.base.Loader . If you've written a custom template loader that inherits BaseLoader , you must i ... h was a reference to a function that quoted identifiers for sending to the database. In Django 1.8, that argument has been renamed to compiler and is now a full SQLCompiler instance. For backwards-compatibility, calling a SQLCompiler instance performs ...
https://man.mtool.work/django/6.1/releases/1.8.html
データベースのマイグレーションの作成方法 9254
データベースのマイグレーションの作成方法 このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成方法と書き方について説明します。マイグレーションに関する入門的な資料を探しているなら、 トピッ ... th sqlmigrate, new table # name from AuthorBook._meta.db_table. migrations . RunSQL ( sql = "ALTER TABLE core_book_authors RENAME TO core_authorbook" , reverse_sql = "ALTER TABLE core_authorbook RENAME TO core_book_authors" , ), ], state_operations = [ ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
Porting your apps from Django 0.96 to 1.0 9254
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... terals will prevent some obscure problems. See Unicode データ for full details. モデル Common changes to your models file: Rename maxlength to max_length Rename your maxlength argument to max_length (this was changed to be consistent with form fields): ... f your URLs here ... ) ビュー Use django.forms instead of newforms Replace django.newforms with django.forms -- Django 1.0 renamed the newforms module (introduced in 0.96) to plain old forms . The oldforms module was also removed. If you're already usi ... n HTML tags, instead of preserving a single space. Local flavors U.S. local flavor django.contrib.localflavor.usa has been renamed to django.contrib.localflavor.us . This change was made to match the naming scheme of other local flavors. To migrate you ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Django 1.7 リリースノート 8759
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... xplicitly closed before the response is delivered to the client. Partially uploaded files are also closed as long as they are named file in the upload handler. Storage.get_available_name() now appends an underscore plus a random 7 character alphanumeri ... tible change. allow_syncdb / allow_migrate While Django will still look at allow_syncdb methods even though they should be renamed to allow_migrate , there is a subtle difference in which models get passed to these methods. For apps with migrations, al ... to migrate it to take advantage of this feature. For example, you could do the following: Use dumpdata to save your data. Rename the existing database file (keep it as a backup). Run migrate to create the updated schema. Use loaddata to import the fix ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 0.96 リリースノート 8264
Django 0.96 リリースノート Django 0.96 へようこそ! The primary goal for 0.96 is a cleanup and stabilization of the features introduced in 0.95. There have been a few small backwards-incompatible changes since 0.95, but the upgrade process s ... ore executing it. Examine the output of manage.py sqlall to see the new-style constraint names, and use that as a guide to rename existing constraints in your database. Name changes in manage.py A few of the options to manage.py have changed with the a ... e. These commands can operate against any of Django's supported serialization formats. The sqlinitialdata command has been renamed to sqlcustom to emphasize that loaddata should be used for data (and sqlcustom for other custom SQL -- views, stored proc ...
https://man.mtool.work/django/6.1/releases/0.96.html
はじめての Django アプリ作成、その 1 7786
はじめての Django アプリ作成、その 1 さあ、例を交えながら学んでゆきましょう。 このチュートリアルでは、簡単な投票 (poll) アプリケーションの作成に取り組ん でもらいます。 Poll アプリケーションは 2 つの部分からなります: ユーザが投票したり結果を ... reate a directory djangotutorial with a project called mysite inside. The directory name doesn't matter to Django; you can rename it to anything you like. If it didn't work, see django-admin 実行時の問題 . 注釈 プロジェクトの名前を付けるとき、組み込みの ...
https://man.mtool.work/django/6.1/intro/tutorial01.html
PREV 1 2 NEXT