per page, with , order by , clip by
Results of 1 - 10 of about 55 for get up (0.010 sec.)
get (221), up (82)
Coding style 16287
Coding style Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for re ... is configured. The project repository includes an .editorconfig file. We recommend using a text editor with EditorConfig support to avoid indentation and whitespace issues. The Python files use 4 spaces for indentation and the HTML files use 2 spa ... respect the style of the surrounding code as a primary goal. An exception to PEP 8 is our rules on line lengths. We allow up to 88 characters in code, as this is the line length used by black . Documentation, comments, and docstrings should be wra ... cases: # Allowed f "hello { user } " f "hello { user . name } " f "hello { self . user . name } " # Disallowed f "hello { get_user () } " f "you are { user . age * 365.25 } days old" # Allowed with local variable assignment user = get_user () f "he ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
はじめての Django アプリ作成、その 2 15221
はじめての Django アプリ作成、その 2 このチュートリアルは チュートリアルその 1 の続きです。ここでは、データベースをセットアップして、最初のモデルを作成し、そして Django が自動的に生成してくれる管理サイトについて、簡単なイントロダクションをし ... ます。 困ったときは: このチュートリアルの実行に問題がある場合は、FAQ の Getting Help セクションに進んでください。 Database の設定 それでは、 mysite/settings.py を開いてください。これは、 Django の設 ... にあります。 This includes the migrations, which are derived from your models file. They form a history that Django uses to update your database schema to match your current models. これから開発する簡単な poll アプリケーションでは、 Question と Choi ... みましょう: # No questions are in the system yet. >>> Question . objects . all () <QuerySet []> # Create a new Question. # Support for time zones is enabled in the default settings file, so # Django expects a datetime with tzinfo for pub_date. Use t ...
https://man.mtool.work/django/6.1/intro/tutorial02.html
Django 1.2 リリースノート 15006
Django 1.2 リリースノート 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new features and lots of bug fixes. These release notes cover the new features, as well as important cha ... nges you'll want to be aware of when upgrading from Django 1.1 or older versions. オーバービュー Django 1.2 introduces several large, important new features, incl ... uding: Support for multiple database connections in a single Django instance. Model validation inspired by Django's form validation. ... Authors of custom Field subclasses should be aware that a number of methods have had a change in prototype, detailed under get_db_prep_*() methods on Field , below. The internals of template tags have changed somewhat; authors of custom template tag ...
https://man.mtool.work/django/6.1/releases/1.2.html
クラスベースのビューでミックスイン (mixin) を使用する 14922
クラスベースのビューでミックスイン (mixin) を使用する 注意 This is an advanced topic. A working knowledge of Django's class-based views is advised before exploring these techniques. Django のビルトインのクラスベースビューではたくさんの機能が ... ダリングするビューを記述したいとき、 TemplateView は使えない状況もあります; POST ではテンプレートをレンダリングするだけで、 GET のときはまったく異なる処理がしたいときなどです。この場合、 TemplateResponse を直接使えますが、コードが重複する結果となって ... ethod that TemplateResponseMixin provides. Most of the time this will be called for you (for instance, it is called by the get() method implemented by both TemplateView and DetailView ); similarly, it's unlikely that you'll need to override it, alth ... な機能を提供する4つのミックスインについて紹介します。 ジェネリック編集ビュー ( FormView と、モデル固有のビュー CreateView , UpdateView , DeleteView ) と日付ベースのジェネリックビューにもミックスインがあります。これらは ミックスインのリファレンス で紹 ...
https://man.mtool.work/django/6.1/topics/class-based-views/mixins.html
Porting your apps from Django 0.96 to 1.0 14593
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 ... de literals ( u'foo' ). Django now uses Unicode strings throughout. In most places, raw strings will continue to work, but updating to use Unicode literals will prevent some obscure problems. See Unicode データ for full details. モデル Common chang ... inline editing ) is handled differently by the admin interface now. You don't have to worry about inline editing until you get to the admin section, below. For now, remove all references to core . Replace class Admin: with admin.py Remove all your i ... administrative interface ( django.contrib.admin ) has been completely refactored; admin definitions are now completely decoupled from model definitions, the framework has been rewritten to use Django's new form-handling library and redesigned with ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Django 1.8 リリースノート 14484
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... は、 Django の新しいバージョンへの更新 ガイドに従ってください。 Django 1.8 has been designated as Django's second long-term support release . It will receive security updates for at least three years after its release. Support for the previous LTS, D ... ython バージョン間の互換性 Django 1.8 requires Python 2.7, 3.2, 3.3, 3.4, or 3.5. We highly recommend and only officially support the latest release of each series. Django 1.8 is the first release to support Python 3.5. Due to the end of upstream s ... template has a new block usertools which contains the user-specific header. A new context variable has_permission , which gets its value from has_permission() , indicates whether the user may access the site. Foreign key dropdowns now have buttons ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.7 リリースノート 13817
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... た。 Python バージョン間の互換性 Django 1.7 requires Python 2.7, 3.2, 3.3, or 3.4. We highly recommend and only officially support the latest release of each series. The Django 1.6 series is the last to support Python 2.6. Django 1.7 is the first re ... lease to support Python 3.4. This change should affect only a small number of Django users, as most operating-system vendors today are ... as to create methods on a custom Manager class. The problem with this approach was that after the first method call, you'd get back a QuerySet instance and couldn't call additional custom manager methods. Though not documented, it was common to work ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django の機能廃止のタイムライン 13674
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... _HTTPS transitional setting will be removed. Using a percent sign in a column alias or annotation will raise ValueError . Support for setting the ADMINS or MANAGERS settings to a list of (name, address) tuples will be removed. The orphans argument ... APIs will no longer accept certain parameters as positional arguments. These must be passed as keyword arguments instead. Support for passing Python's legacy email email.mime.base.MIMEBase object to EmailMessage.attach() (or including one in the me ... ansitional setting will be removed. The SIGNED_COOKIE_LEGACY_SALT_FALLBACK transitional setting will be removed. The Field.get_placeholder_sql shim over the deprecated get_placeholder method will be removed. The SQLCompiler.quote_name_unless_alias() ...
https://man.mtool.work/django/6.1/internals/deprecation.html
How to release Django 13595
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... 4.0.x, and, depending on timing, perhaps a 4.1.x. Regular version releases: either a final release (e.g. 4.1) or a bugfix update (e.g. 4.1.1). Pre-releases: e.g. 4.2 alpha, beta, or rc. The short version of the steps involved is: If this is a secu ... lease. Proofread the release notes, looking for organization and writing errors. Draft a blog post and email announcement. Update version numbers and create the release artifacts. Create the new Release in the admin on djangoproject.com . Set the p ... k your entries and consult them again in the future. See example checklist . Prerequisites You'll need a few things before getting started. If this is your first release, you'll need to coordinate with another releaser to get all these things lined ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
Django の admin サイト 13343
Django の admin サイト Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、モデル中心のインタフェースを提供します。このインタフェースのおかげで、ユーザはあなたのサイトの ... は /admin/ ) を訪れることで、管理サイトを使用できるようになります。 ログイン用のユーザーを作成する必要がある場合は、 createsuperuser コマンドを使用してください。デフォルトでは、管理サイトにログインするにはユーザーの is_staff 属性が True に設定されて ... admin . ModelAdmin ): pass このデコレータは、model admin クラスをその __init__() メソッド内で参照する必要がある場合(例: super(PersonAdmin, self).__init__(*args, **kwargs) )には使用できません。代わりに super().__init__(*args, **kwargs) のようにし ... ョン を参照してください。 ModelAdmin. actions_on_top ModelAdmin. actions_on_bottom Controls where on the admin changelist page the actions bar appears. By default, the admin changelist displays actions at the top of the page ( actions_on_top = True; ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
PREV 1 2 3 4 5 6 NEXT