検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 10 for vote (0.025 sec.)
Organization of the Django Project — Django 4.0.6 ドキュメント 13175
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... merging it while discussion proceeds. Requesting a vote of the technical board regarding any minor change ... sion has failed to reach a consensus. Requesting a vote of the technical board when a major change (signif ... ates a candidate for the role. The technical board votes on nominees. Mergers may resign their role at any ... er role until such time as the technical board can vote on their nomination. Otherwise, a Merger may be re ...
https://man.plustar.jp/django/internals/organization.html - [similar]
はじめての Django アプリ作成、その 4 — Django 4.0.6 ドキュメント 10958
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... olls/detail.html ¶ < form action = " {% url 'polls:vote' question.id %} " method = "post" > {% csrf_token ... %} </ fieldset > < input type = "submit" value = "Vote" > </ form > 簡単に説明: 上のテンプレートは、各質問 ... 概念です。 We set the form's action to {% url 'polls:vote' question.id %} , and we set method="post" . Using ... ましょう: polls/urls.py ¶ path ( '<int:question_id>/vote/' , views . vote , name = 'vote' ), このとき、 vot ...
https://man.plustar.jp/django/intro/tutorial04.html - [similar]
はじめての Django アプリ作成、その 3 — Django 4.0.6 ドキュメント 9510
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... return HttpResponse ( response % question_id ) def vote ( request , question_id ): return HttpResponse ( " ... ews . results , name = 'results' ), # ex: /polls/5/vote/ path ( '<int:question_id>/vote/' , views . vote , ... name = 'vote' ), ] お使いのブラウザで、 "/polls/34/" を見てくだ ... が表示されます。 "/polls/34/results/" と "/polls/34/vote/" も試してください。結果と投票ページのプレースホル ...
https://man.plustar.jp/django/intro/tutorial03.html - [similar]
Django 1.4 documentation 9439
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 報があります。 choice には選択肢のテキストと投票数 (vote) という二つのフィールドがあります。各 choice は一つ ... ) choice = models . CharField ( max_length = 200 ) votes = models . IntegerField () コードは単純明解ですね ... LY DEFERRED , "choice" varchar ( 200 ) NOT NULL , "votes" integer NOT NULL ); COMMIT ; 以下の点に注意してく ... >> p . choice_set . create ( choice = 'Not much' , votes = 0 ) <Choice: Not much> >>> p . choice_set . cre ...
https://man.plustar.jp/django/contents.html - [similar]
バグレポートと機能のリクエスト — Django 4.0.6 ドキュメント 7919
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... consensus. To that end, we'll often have informal votes on django-developers about a feature. In these vo ... nvented by Apache and used on Python itself, where votes are given as +1, +0, -0, or -1. Roughly translate ... d, these votes mean: +1: "I love the idea and I'm strongly commi ... to see the idea turn into reality." Although these votes on django-developers are informal, they'll be tak ...
https://man.plustar.jp/django/internals/contributing/bugs-and-features.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 7866
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... k if the logged-in user has the permission foo.add_vote : { % if perms . foo . add_vote % } Here's a more ... mething in the foo app. </ p > {% if perms.foo.add_vote %} < p > You can vote! </ p > {% endif %} {% if pe ... です。例えば: {% if 'foo' in perms %} {% if 'foo.add_vote' in perms %} < p > In lookup works, too. </ p > {% ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
クラスベースビュー入門 — Django 4.0.6 ドキュメント 7740
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ews.generic import TemplateView from .views import VoteView urlpatterns = [ path ( 'about/' , login_requir ... _view ( template_name = "secret.html" ))), path ( 'vote/' , permission_required ( 'polls.can_vote' )( Vote ...
https://man.plustar.jp/django/topics/class-based-views/intro.html - [similar]
django.contrib.auth — Django 4.0.6 ドキュメント 7669
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ission name ¶ 必須です。255 文字以下です。例: 'Can vote' 。 content_type ¶ 必須です。 django_content_type ... す。 codename ¶ 必須です。100 文字以下です。例: 'can_vote' 。 メソッド ¶ 他のあらゆる Django モデル と同じよ ...
https://man.plustar.jp/django/ref/contrib/auth.html - [similar]
コードのコミット — Django 4.0.6 ドキュメント 7615
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eement can't be reached then it should be put to a vote. If the commit introduced a confirmed, disclosed s ...
https://man.plustar.jp/django/internals/contributing/committing-code.html - [similar]
はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 7419
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e の情報があります。 Choice には選択肢のテキストと vote という2つのフィールドがあります。各 Choice は1つの ... ice_text = models . CharField ( max_length = 200 ) votes = models . IntegerField ( default = 0 ) コードは単 ... はいくつかオプションの引数も取れます。今回の場合、 votes の default 値を 0 に設定しました。 最後に、 Forei ... RY KEY , "choice_text" varchar ( 200 ) NOT NULL , "votes" integer NOT NULL , "question_id" integer NOT NUL ...
https://man.plustar.jp/django/intro/tutorial02.html - [similar]
PREV 1 NEXT