Django CMS 3.11.10 Documentationting-INSTALLED_APPS], by trying to import their cms_app module. When CMS_APPHOOKS is set, auto-discovery is disabled. Example: Internationalisation and localisation (I18N and L10N) CMS_LANGUAGES default wizard_pool.WizardPool get_entries() Returns all entries in weight-order. NOTE: This method triggers pool discovery. get_entry(entry) Returns the wizard from the pool identified by «entry», which may be a Wizard NOTE: This method triggers pool discovery. is_registered(entry, **kwargs) Returns True if the provided entry is registered. NOTE: This method triggers pool discovery unless a «passive» kwarg is set to0 码力 | 493 页 | 1.44 MB | 6 月前0.03
Django 4.2.x Documentationcommand of your project’s manage.py utility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery. By default, this will discover tests in any file named test*.py under this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Finally, static files are served via a wrapper at the WSGI application super(PersonAdmin, self).__init__(*args, **kwargs). You can use super().__init__(*args, **kwargs). Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.1.x Documentationcommand of your project’s manage.py utility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery. By default, this will discover tests in any file named test*.py under this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Finally, static files are served via a wrapper at the WSGI application super(PersonAdmin, self).__init__(*args, **kwargs). You can use super().__init__(*args, **kwargs). Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x Documentationcommand of your project’s manage.py utility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery. By default, this will discover tests in any file named “test*.py” this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Finally, static files are served via a wrapper at the WSGI application super(PersonAdmin, self).__init__(*args, **kwargs). You can use super().__init__(*args, **kwargs). Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 3184 页 | 3.14 MB | 1 年前3
Django 3.2.x Documentationcommand of your project’s manage.py utility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery. By default, this will discover tests in any file named “test*.py” this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Serving files uploaded by a user during development During development super(PersonAdmin, self).__init__(*args, **kwargs). You can use super().__init__(*args, **kwargs). Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 3121 页 | 3.08 MB | 1 年前3
Django 1.8.x Documentationcommand of your project’s manage.py utility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery. By default, this will discover tests in any file named “test*.py” this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. 4.15.3 Serving files uploaded by a user during development. During __init__(*args, **kwargs) . Otherwise, you’ll have to use admin.site.register() instead of this decorator. Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationcommand of your project’s manage.py utility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery. By default, this will discover tests in any file named “test*.py” this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Serving files uploaded by a user during development. During development __init__(*args, **kwargs) . Otherwise, you’ll have to use admin.site.register() instead of this decorator. Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 5.1 Documentationutility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery [https://docs.python.org/3/library/unittest.html#unittest-test-discovery]. By default, this will discover this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Finally, static files are served via a wrapper at the WSGI application super(PersonAdmin, self).__init__(*args, **kwargs). You can use super().__init__(*args, **kwargs). Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationutility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery [https://docs.python.org/3/library/unittest.html#unittest-test-discovery]. By default, this will discover this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Finally, static files are served via a wrapper at the WSGI application super(PersonAdmin, self).__init__(*args, **kwargs). You can use super().__init__(*args, **kwargs). Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.0.x Documentationutility: $ ./manage.py test Test discovery is based on the unittest module’s built-in test discovery [https://docs.python.org/3/library/unittest.html#unittest-test-discovery]. By default, this will discover this helper function only serves the actual STATIC_ROOT folder; it doesn’t perform static files discovery like django.contrib.staticfiles. Finally, static files are served via a wrapper at the WSGI application super(PersonAdmin, self).__init__(*args, **kwargs). You can use super().__init__(*args, **kwargs). Discovery of admin files When you put 'django.contrib.admin' in your INSTALLED_APPS setting, Django automatically0 码力 | 3407 页 | 3.21 MB | 1 年前3
共 53 条
- 1
- 2
- 3
- 4
- 5
- 6













