per page, with , order by , clip by
Results of 1 - 10 of about 44 for sites (0.006 sec.)
"sites" フレームワーク 16628
"sites" フレームワーク Django にはオプションで "sites" フレームワークが付属しています。これは、オブジェクトや機能を特定の Web サイトに関連付けるためのフックで、 Django で動くサイトのドメイン名や "冗長な" 名前を保持する場所です。 1 つの Djan ... go インストールで複数のサイトを運用し、これらのサイトを何らかの方法で区別する必要がある場合に使用します。 sites フレームワークは、主にこのモデルに基づいています: class models. Site ウェブサイトの domain と name 属性を格納するモデル。 ... これをどのように使用するかはあなた次第ですが、Djangoはいくつかの慣習を通じて自動的にいくつかの方法で使用します。 使用例 なぜ sites を使うのでしょうか? それは例を挙げるとわかりやすいでしょう。 複数のサイトとコンテンツを関連付ける LJWorld.com と Lawrence. ... イトに関連付けられます。Djangoモデルの用語では、これは Article モデル中に ManyToManyField で表されます: from django.contrib.sites.models import Site from django.db import models class Article ( models . Model ): headline = models . CharField ( max_leng ...
https://man.mtool.work/django/6.1/ref/contrib/sites.html
フラットページ (flatpages) アプリ 10050
フラットページ (flatpages) アプリ Django にはオプションで "flatpages" アプリケーションが付属しています。これを使えば、"フラットな" HTML コンテンツをデータベースに保存することができ、 Django のadmin インタフェースや Python API を使って管理で ... ル flatpages アプリをインストールするには、以下の手順に従ってください: もし設定にまだ含まれていない場合は、 'django.contrib.sites' をあなたの INSTALLED_APPS 設定に追加することで sites フレームワーク をインストールしてください。 また、 SITE_ID に設定ファ ... れていることを確認してください。これは通常 1 になります (つまり SITE_ID = 1 になります。ただし、複数のサイトを管理するために sites フレームワークを使用している場合は、別のサイトの ID になる可能性があります) 。 INSTALLED_APPS 設定に 'django.contrib.flatp ... ge.py migrate を実行します。 しくみ manage.py migrate は、データベースに2つのテーブル、 django_flatpage と django_flatpage_sites を作成します。 django_flatpage は、URL をタイトルとテキストコンテンツのまとまりにマッピングするルックアップテーブルです。 ...
https://man.mtool.work/django/6.1/ref/contrib/flatpages.html
contrib パッケージ 9543
contrib パッケージ Django は Python の "batteries included" 哲学 に従うことを目指しています。Django には、Web 開発の一般的な問題を解決する、様々な追加ツールやオプションツールが同梱されています。 このコードはDjangoディストリビューションの中の ... b.humanize メッセージフレームワーク django.contrib.postgres redirects (リダイレクト)アプリ サイトマップ・フレームワーク "sites" フレームワーク staticfiles アプリ 配信 (syndication) フィード フレームワーク admin Djangoの自動管理インターフェースです。 ... ータベース内で「フラットな」HTMLコンテンツを管理するためのフレームワークです。 flatpages のドキュメント を参照してください。 sites contribパッケージのインストールも必要です。 gis Djangoをベースに構築された世界クラスの空間データフレームワークであり、空間 ... してください。 sessions 匿名セッションでデータを保存するためのフレームワーク。 sessions のドキュメント を参照してください。 sites 同じデータベースと Django インストールを利用して複数のウェブサイトを運用できる軽量なフレームワークです。オブジェクトを1つま ...
https://man.mtool.work/django/6.1/ref/contrib/
Django 1.7 リリースノート 9328
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... ssible for the ConditionalGetMiddleware to handle conditional GET requests for sitemaps which set lastmod . django.contrib.sites The new django.contrib.sites.middleware.CurrentSiteMiddleware allows setting the current site on each request. django.cont ... xists, the deprecation is irrelevant as the entire feature will be removed in Django 1.9. Reorganization of django.contrib.sites django.contrib.sites provides reduced functionality when it isn't in INSTALLED_APPS . The app-loading refactor adds some c ... n. As a consequence, two objects were moved, and the old locations are deprecated: RequestSite now lives in django.contrib.sites.requests . get_current_site() now lives in django.contrib.sites.shortcuts . declared_fieldsets attribute on ModelAdmin Mod ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.10.8 リリースノート 8314
Django 1.10.8 リリースノート September 5, 2017 Django 1.10.8 fixes a security issue in 1.10.7. CVE-2017-12794: Possible XSS in traceback section of technical 500 debug page In older versions, HTML autoescaping was disabled in a portion of t ... he template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn't affect most production sites since you shouldn't run with DEBUG = True (whic ...
https://man.mtool.work/django/6.1/releases/1.10.8.html
Django 1.7.5 リリースノート 8099
Django 1.7.5 リリースノート February 25, 2015 Django 1.7.5 fixes several bugs in 1.7.4. バグ修正 Reverted a fix that prevented a migration crash when unapplying contrib.contenttypes 's or contrib.auth 's first migration ( #24075 ) due to se ... ented custom fields inheriting from ManyToManyField from being recognized in migrations ( #24236 ). Fixed crash in contrib.sites migrations when a default database isn't used ( #24332 ). Added the ability to set the isolation level on PostgreSQL with ...
https://man.mtool.work/django/6.1/releases/1.7.5.html
システムチェックフレームワーク 7991
システムチェックフレームワーク システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し、それらを修正するヒントを提供します。このフレームワークは拡張性があり、独自のチェックを簡単に ... security : セキュリティ関連の設定をチェックします。 signals : シグナルの宣言とハンドラーの登録に関するチェックを行います。 sites : django.contrib.sites の設定をチェックします。 staticfiles : django.contrib.staticfiles の設定をチェックします。 template ... go.contrib.postgres feature> を使用するために、 'django.contrib.postgres' は INSTALLED_APPS に含まれている必要があります。 sites 以下のチェックは CurrentSiteManager を使用しているモデルに対して行われます: sites.E001 : CurrentSiteManager は <field name ... > というフィールドを見つけられませんでした。 sites.E002 : CurrentSiteManager は、外部キーや多対多のフィールドではないため、 <field> を使用できません。 以下のチェックは、 dja ...
https://man.mtool.work/django/6.1/ref/checks.html
索引 7899
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... CSRF_COOKIE_DOMAIN setting CSRF_COOKIE_HTTPONLY setting CSRF_COOKIE_NAME setting CSRF_COOKIE_PATH setting CSRF_COOKIE_SAMESITE setting CSRF_COOKIE_SECURE setting csrf_exempt() (django.views.decorators.csrf モジュール) CSRF_FAILURE_VIEW setting CSRF_H ... のクラス) current_app (HttpRequest の属性) CURRENT_ROW (WindowFrameExclusion の属性) CurrentSiteMiddleware (django.contrib.sites.middleware のクラス) cut template filter cycle template tag cycle_key() (backends.base.SessionBase のメソッド) D D (django ... () built-in function django.conf.urls module django.conf.urls.i18n module django.contrib.admin module django.contrib.admin.sites.all_sites (django.contrib.admin モジュール) django.contrib.admindocs module django.contrib.auth module django.contrib.auth ...
https://man.mtool.work/django/6.1/genindex.html
Pythonモジュール索引 7899
Pythonモジュール索引 a | c | d | f | h | m | s | t | u | v a django.apps c django.conf django.conf.urls django.conf.urls.i18n django.contrib django.contrib.admin Django's admin site. django.contrib.admindocs Django's admin documentation gen ... middleware Session middleware. django.contrib.sitemaps A framework for generating Google sitemap XML files. django.contrib.sites Lets you operate multiple websites from the same database and Django project django.contrib.sites.middleware Site middlewa ...
https://man.mtool.work/django/6.1/py-modindex.html
contenttypes フレームワーク 7899
contenttypes フレームワーク Django には contenttypes アプリケーションが含まれており、 Django を使ったプロジェクトにインストールされているすべてのモデルを追跡し、モデルを扱うための高レベルで汎用的なインターフェースを提供します。 概要 content ... から取得されます。 どのように動作するか、例を見てみましょう。すでに contenttypes アプリケーションがインストールされていて、 sites アプリケーション を INSTALLED_APPS 設定に追加し、 manage.py migrate を実行してインストールすると、 django.contrib.sites.mo ... ルがデータベースにインストールされます。それと一緒に ContentType の新しいインスタンスが以下の値で作成されます: app_label は 'sites' (Python のパス django.contrib.sites の最後の部分) に設定されます。 model は 'site' に設定されます。 ContentType インスタン ...
https://man.mtool.work/django/6.1/ref/contrib/contenttypes.html
PREV 1 2 3 4 5 NEXT