 Django 2.2.x Documentationfixtures Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2915 页 | 2.83 MB | 1 年前3 Django 2.2.x Documentationfixtures Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2915 页 | 2.83 MB | 1 年前3
 Django 2.0.x Documentationfixtures Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2746 页 | 2.67 MB | 1 年前3 Django 2.0.x Documentationfixtures Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2746 页 | 2.67 MB | 1 年前3
 Django 2.1.x Documentationfixtures Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2790 页 | 2.71 MB | 1 年前3 Django 2.1.x Documentationfixtures Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2790 页 | 2.71 MB | 1 年前3
 Django 4.2.x DocumentationProvide data with fixtures How to integrate Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak How to configure and use exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 3305 页 | 3.16 MB | 1 年前3 Django 4.2.x DocumentationProvide data with fixtures How to integrate Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak How to configure and use exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 3305 页 | 3.16 MB | 1 年前3
 django cms 4.1.x Documentationrender_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: • PlaceholderField instance • width parameter for context sensitive plugins (optional) • language creation. It depends on the plugin_type. See the documenta- tion of each plugin type to see which parameters are required and available. Example for a text plugin: {'body':' django cms 4.1.x Documentationrender_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: • PlaceholderField instance • width parameter for context sensitive plugins (optional) • language creation. It depends on the plugin_type. See the documenta- tion of each plugin type to see which parameters are required and available. Example for a text plugin: {'body':'- Lorem ipsum '} Example for ERY_PARAMS default False This indicates to the CMS that redirects should preserve the query parameters. CMS_REDIRECT_TO_LOWERCASE_SLUG default False This indicates to the CMS that it should redirect0 码力 | 357 页 | 1.99 MB | 1 年前3
 django cms 4.1.1 Documentation
render_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: • PlaceholderField instance • width parameter for context sensitive plugins (optional) • language creation. It depends on the plugin_type. See the documenta- tion of each plugin type to see which parameters are required and available. Example for a text plugin: {'body':' django cms 4.1.1 Documentation
render_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: • PlaceholderField instance • width parameter for context sensitive plugins (optional) • language creation. It depends on the plugin_type. See the documenta- tion of each plugin type to see which parameters are required and available. Example for a text plugin: {'body':'- Lorem ipsum '} Example for ERY_PARAMS default False This indicates to the CMS that redirects should preserve the query parameters. CMS_REDIRECT_TO_LOWERCASE_SLUG default False This indicates to the CMS that it should redirect0 码力 | 361 页 | 2.00 MB | 1 年前3
 Django CMS 4.1.x Documentationrender_placeholder tag from the cms_tags template tag library: The render_placeholder tag takes the following parameters: PlaceholderField instance width parameter for context sensitive plugins (optional) language keyword creation. It depends on the plugin_type. See the documentation of each plugin type to see which parameters are required and available. Example for a text plugin: {'body':' Django CMS 4.1.x Documentationrender_placeholder tag from the cms_tags template tag library: The render_placeholder tag takes the following parameters: PlaceholderField instance width parameter for context sensitive plugins (optional) language keyword creation. It depends on the plugin_type. See the documentation of each plugin type to see which parameters are required and available. Example for a text plugin: {'body':'- Lorem ipsum '} Example for _QUERY_PARAMS default False This indicates to the CMS that redirects should preserve the query parameters. CMS_REDIRECT_TO_LOWERCASE_SLUG default False This indicates to the CMS that it should redirect0 码力 | 518 页 | 1.66 MB | 6 月前3
 Django 1.11.x DocumentationDifferences with Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for until it finds one that matches. Note that these regular expressions do not search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2747 页 | 2.67 MB | 1 年前3 Django 1.11.x DocumentationDifferences with Django on Jython Integrating Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak Outputting CSV with Django exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for until it finds one that matches. Note that these regular expressions do not search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 2747 页 | 2.67 MB | 1 年前3
 Django 2.0.x Documentationexception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www. example.com/myapp/, the URLconf something to happen whenever you save an object. For example (see save() for documentation of the parameters it accepts): from django.db import models class Blog(models.Model): name = models.CharField(max_length=100)0 码力 | 1880 页 | 6.41 MB | 1 年前3 Django 2.0.x Documentationexception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www. example.com/myapp/, the URLconf something to happen whenever you save an object. For example (see save() for documentation of the parameters it accepts): from django.db import models class Blog(models.Model): name = models.CharField(max_length=100)0 码力 | 1880 页 | 6.41 MB | 1 年前3
 Django 4.1.x DocumentationProviding data with fixtures How to integrate Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak How to configure and use exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 3240 页 | 3.13 MB | 1 年前3 Django 4.1.x DocumentationProviding data with fixtures How to integrate Django with a legacy database Give Django your database parameters Auto-generate the models Install the core Django tables Test and tweak How to configure and use exception such as Http404. The rest is up to you. Generally, a view retrieves data according to the parameters, loads a template and renders the template with the retrieved data. Here’s an example view for requested URL against each pattern until it finds one that matches. Patterns don’t search GET and POST parameters, or the domain name. For example, in a request to https://www.example.com/myapp/, the URLconf will0 码力 | 3240 页 | 3.13 MB | 1 年前3
共 91 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10














