Django 1.8.x Documentationnot a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security argument-order bugs – and you can reorder the arguments in your views’ function definitions. Of course, these benefits come at the cost of brevity; some developers find the named-group syntax ugly and too verbose. stored on disk and in memory, and how to customize the default behavior. Warning: There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationnot a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security argument-order bugs – and you can reorder the arguments in your views’ function definitions. Of course, these benefits come at the cost of brevity; some developers find the named-group syntax ugly and too verbose. stored on disk and in memory, and how to customize the default behavior. Warning There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 4.0.x Documentationnot a good idea to put any of this Python code within your web server’s document root, because it risks the possibility that people may be able to view your code over the web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning: There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 2248 页 | 7.90 MB | 1 年前3
Django 3.2.x Documentationnot a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning: There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 2199 页 | 7.89 MB | 1 年前3
Django 3.1.x Documentationnot a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning: There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 2053 页 | 6.92 MB | 1 年前3
Django 4.2.x Documentationnot a good idea to put any of this Python code within your web server’s document root, because it risks the possibility that people may be able to view your code over the web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.1.x Documentationnot a good idea to put any of this Python code within your web server’s document root, because it risks the possibility that people may be able to view your code over the web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x Documentationnot a good idea to put any of this Python code within your web server’s document root, because it risks the possibility that people may be able to view your code over the web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 3184 页 | 3.14 MB | 1 年前3
Django 3.2.x Documentationnot a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 3121 页 | 3.08 MB | 1 年前3
Django 3.1.x Documentationnot a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security async context. However, you will need to use an async server based on ASGI to get their performance benefits. Here’s an example of an async view: import datetime from django.http import HttpResponse async stored on disk and in memory, and how to customize the default behavior. Warning There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-uploaded0 码力 | 3094 页 | 3.03 MB | 1 年前3
共 82 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













