Results of 31 - 40 of about 168 for path (0.061 sec.)
- The flatpages app — Django 4.0.6 ドキュメント 6180
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ntry in your URLconf. For example: urlpatterns = [ path ( 'pages/' , include ( 'django.contrib.flatpages.u ...
ges in your URLconf. You can dedicate a particular path to flat pages: urlpatterns = [ path ( 'pages/' , i ...
ews # Your other patterns here urlpatterns += [ re_path ( r '^(?P<url>.*/)$' , views . flatpage ), ] 警告 ...
go.contrib.flatpages import views urlpatterns += [ path ( 'about-us/' , views . flatpage , { 'url' : '/abo ...
-
https://man.plustar.jp/django/ref/contrib/flatpages.html
- [similar]
- Django 2.0.10 リリースノート — Django 4.0.6 ドキュメント 6180
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ango.views.defaults.page_not_found() view. The URL path is no longer displayed in the default 404 template ...
and the request_path context variable is now quoted to fix the issue fo ...
r custom templates that use the path. Bugfixes ¶ Prevented repetitive calls to geos_ver ...
page , default , schema , issue , fix , spoofing , path , while , Content , could クイック検索 Last update ...
-
https://man.plustar.jp/django/releases/2.0.10.html
- [similar]
- Django 2.1.5 リリースノート — Django 4.0.6 ドキュメント 6134
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ango.views.defaults.page_not_found() view. The URL path is no longer displayed in the default 404 template ...
and the request_path context variable is now quoted to fix the issue fo ...
r custom templates that use the path. Bugfixes ¶ Fixed compatibility with mysqlclient 1 ...
xed , default , page , issue , schema , spoofing , path , regression , enabled , while クイック検索 Last u ...
-
https://man.plustar.jp/django/releases/2.1.5.html
- [similar]
- Base views — Django 4.0.6 ドキュメント 6066
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
orld!' ) Example urls.py : from django.urls import path from myapp.views import MyView urlpatterns = [ pat ...
context Example urls.py : from django.urls import path from myapp.views import HomePageView urlpatterns = ...
[ path ( '' , HomePageView . as_view (), name = 'home' ), ...
kwargs ) Example urls.py : from django.urls import path from django.views.generic.base import RedirectView ...
-
https://man.plustar.jp/django/ref/class-based-views/base.html
- [similar]
- How to manage error reporting — Django 4.0.6 ドキュメント 6021
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
LTER setting: DEFAULT_EXCEPTION_REPORTER_FILTER = 'path.to.your.CustomExceptionReporterFilter' You may als ...
ON_REPORTER setting: DEFAULT_EXCEPTION_REPORTER = 'path.to.your.CustomExceptionReporter' The exception rep ...
Reporter . class ExceptionReporter ¶ html_template_path ¶ New in Django 3.2. Property that returns a pathl ...
ib.Path representing the absolute filesystem path to a tem ...
-
https://man.plustar.jp/django/howto/error-reporting.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 6021
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
h the previous manage.py handling of Python import paths that caused double imports, trouble moving from d ...
opment to deployment, and other difficult-to-debug path issues. The previous manage.py called functions th ...
ands now have a --template option for specifying a path or URL to a custom app or project template. For ex ...
ample, Django will use the /path/to/my_project_template directory when you run the ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- django.core.files.uploadedfile — Django 4.0.6 ドキュメント 5987
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
he file -- anything else is dangerous. name = os . path . basename ( name ) # File names longer than 255 c ...
er OSes. if len ( name ) > 255 : name , ext = os . path . splitext ( name ) ext = ext [: 255 ] name = name ...
rset , content_type_extra = None ): _ , ext = os . path . splitext ( name ) file = tempfile . NamedTempora ...
ent_type_extra ) [ドキュメント] def temporary_file_path ( self ): """Return the full path of this file.""" ...
-
https://man.plustar.jp/django/_modules/django/core/files/uploadedfile.html
- [similar]
- django.utils.translation — Django 4.0.6 ドキュメント 5987
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
effect, as access to the function goes the normal path, instead of using __getattr__. """ def __getattr__ ...
ト] def get_language_from_request ( request , check_path = False ): return _trans . get_language_from_reque ...
st ( request , check_path ) def get_language_from_path ( path ): return _tra ...
ns . get_language_from_path ( path ) [ドキュメント] def get_supported_language ...
-
https://man.plustar.jp/django/_modules/django/utils/translation.html
- [similar]
- Django 3.1 release notes — Django 4.0.6 ドキュメント 5987
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
¶ Django now supports a fully asynchronous request path, including: Asynchronous views Asynchronous middle ...
cfiles ¶ The STATICFILES_DIRS setting now supports pathlib.Path . キャッシュ ¶ The cache_control() decorat ...
and cross-site requests. E メール ¶ The EMAIL_FILE_PATH setting, used by the file email backend , now supp ...
orts pathlib.Path . Error Reporting ¶ django.views.debug.Saf ...
-
https://man.plustar.jp/django/releases/3.1.html
- [similar]
- django.utils.http — Django 4.0.6 ドキュメント 5953
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
also use django.utils.encoding.iri_to_uri() on the path component of untrusted URLs. """ if url is not Non ...
lowed_hosts } # Chrome treats \ completely as / in paths but it could be part of some # basic auth credent ...
arse a URL into 6 components: <scheme>://<netloc>/<path>;<params>?<query>#<fragment> Return a 6-tuple: (sc ...
heme, netloc, path, params, query, fragment). Note that we don't brea ...
-
https://man.plustar.jp/django/_modules/django/utils/http.html
- [similar]