検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 116 for app (0.045 sec.)
django.urls utility functions — Django 4.0.6 ドキュメント 8080
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... onf = None , args = None , kwargs = None , current_app = None ) ¶ viewname can be a URL pattern name or t ... nstead of args . For example: >>> reverse ( 'admin:app_list' , kwargs = { 'app_label' : 'auth' }) '/admin ... the vertical bar ( "|" ) character. You can quite happily use such patterns for matching against incoming ... but you cannot reverse such patterns. The current_app argument allows you to provide a hint to the resol ...
https://man.plustar.jp/django/ref/urlresolvers.html - [similar]
JavaScript customizations in the admin — Django 4.0.6 ドキュメント 7792
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... %} {{ block .super }} < script src = " {% static 'app/formset_handlers.js' %} " ></ script > {% endblock ... %} app/static/app/formset_handlers.js ¶ ( function ( $ ) ... ange how the code listens for events. Instead of wrapping the listener in the django.jQuery namespace, li ... %} {{ block .super }} < script src = " {% static 'app/unregistered_handlers.js' %} " ></ script > {% end ...
https://man.plustar.jp/django/ref/contrib/admin/javascript.html - [similar]
Model Meta options — Django 4.0.6 ドキュメント 7667
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... True , this model will be an abstract base class . app_label ¶ Options. app_label ¶ If a model is defined ... outside of an application in INSTALLED_APPS , it must declare which ... app it belongs to: app_label = 'myapp' If you want to represent a model w ... ith the format app_label.object_name or app_label.model_name you can ...
https://man.plustar.jp/django/ref/models/options.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 7667
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d). initial_data fixtures are no longer loaded for apps with migrations; if you want to load initial data ... for an app, we suggest you create a migration for your applic ... migration. Test rollback behavior is different for apps with migrations; in particular, Django will no lo ... specifically requested . It is not advised to have apps without migrations depend on (have a ForeignKey o ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 7617
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lled users : DATABASES = { 'default' : { 'NAME' : 'app_data' , 'ENGINE' : 'django.db.backends.postgresql' ... , you must set up DATABASE_ROUTERS for all of your apps' models, including those in any contrib and third ... -party apps you're using, so that no queries are routed to th ... y migrate --database=users If you don't want every application to be synchronized onto a particular datab ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 7617
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... $ python manage.py migrate Operations to perform: Apply all migrations: books Running migrations: Render ... ing model states... DONE Applying books.0003_auto... OK マイグレーションを適用し ... age.py makemigrations --name changed_my_model your_app_label バージョン管理 ¶ マイグレーションはバージョン ... more details. 依存関係 ¶ While migrations are per-app, the tables and relationships implied by your mode ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 7416
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ike the new layout, you can use custom project and app templates instead! Support for in-browser testing ... ility and interoperability. (This argument doesn't apply to PostgreSQL, because it already stores timesta ... e of the actual project. If settings, URLconfs and apps within the project are imported or referenced usi ... y mysite / __init__ . py settings . py urls . py myapp / __init__ . py models . py You could import mysit ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
The staticfiles app — Django 4.0.6 ドキュメント 7366
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Modules « previous | up | next » The staticfiles app ¶ django.contrib.staticfiles collects static files ... from each of your applications (and any other places you specify) into a ... tion. 参考 For an introduction to the static files app and some usage examples, see How to manage static ... e file in STATIC_ROOT . Therefore if you remove an application from INSTALLED_APPS , it's a good idea to ...
https://man.plustar.jp/django/ref/contrib/staticfiles.html - [similar]
Django 1.9.2 リリースノート — Django 4.0.6 ドキュメント 7329
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... patible change: .py-tpl files rewritten in project/app templates ¶ The addition of some Django template l ... anguage syntax to the default app template in Django 1.9 means those files now have ... , a .py-tpl suffix is now used for the project and app template files included in Django. The .py-tpl suf ... is replaced with .py by the startproject and startapp commands. For example, a template with the filenam ...
https://man.plustar.jp/django/releases/1.9.2.html - [similar]
Django の admin サイト — Django 4.0.6 ドキュメント 7278
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , and django.contrib.sessions - to your INSTALLED_APPS setting. Configure a DjangoTemplates backend in y ... ute set to True . Finally, determine which of your application's models should be editable in the admin i ... these are stored in a file named admin.py in your application. Let's take a look at an example of the Mo ... delAdmin : from django.contrib import admin from myapp.models import Author class AuthorAdmin ( admin . M ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT