Jinja2 Documentation Release 2.10Python API for Jinja2 templates. The most basic way to create a template and render it is through Template. This how- ever is not the recommended way to work with it if your templates are not loaded from implementing the template interface to the applica- tion and not those who are creating Jinja2 templates. 2.1 Basics Jinja2 uses a central object called the template Environment. Instances of this class the configuration and global objects, and are used to load templates from the file system or other locations. Even if you are creating templates from strings by using the constructor of Template class, an0 码力 | 148 页 | 475.08 KB | 1 年前3
Django CMS 3.11.10 Documentationother, so it’s recommended to work through them in the order presented here. Installing django CMS Templates & Placeholders Integrating applications Plugins Apphooks Extending the toolbar Extending the navigation check myproject/ LICENSE README.md db.sqlite3 myproject/ static/ templates/ base.html __init__.py asgi.py settings.py urls.py INSTALLED_APPS, and: in the TEMPLATES['OPTIONS']['context_processors']: CMS_CONFIRM_VERSION4 = True python manage.py migrate "sekizai" "sekizai.context_processors.sekizai" TEMPLATES = [ { ...0 码力 | 493 页 | 1.44 MB | 6 月前0.03
django cms 3.3.x Documentationrefer to Upgrading from previous versions Table of contents Tutorials Installing django CMS Templates & Placeholders Integrating applications Plugins Apphooks Extending the Toolbar Extending the navigation Custom Plugins Customising navigation menus Apphooks Complex apphook configuration Working with templates Extending the page & title models Extending the Toolbar Testing Your Extensions Placeholders outside other, so it’s recommended to work through them in the order presented here. Installing django CMS Templates & Placeholders Integrating applications Plugins Apphooks Extending the Toolbar Extending the navigation0 码力 | 386 页 | 1.56 MB | 1 年前3
django cms 3.5.x Documentationother, so it’s recommended to work through them in the order presented here. Installing django CMS Templates & Placeholders Integrating applications Plugins Apphooks Extending the Toolbar Extending the navigation users. Templates & Placeholders In this tutorial we’ll introduce Placeholders, and we’re also going to show how you can make your own HTML templates CMS-ready. Templates You can use HTML templates to customise multiple templates, with different layouts or built-in components, and choose them for each page as required. A page’s template can be switched for another at any time. You’ll find the site’s templates in mysite/templates0 码力 | 403 页 | 1.69 MB | 1 年前3
django cms 3.4.x Documentationother, so it’s recommended to work through them in the order presented here. Installing django CMS Templates & Placeholders Integrating applications Plugins Apphooks Extending the Toolbar Extending the navigation users. Templates & Placeholders In this tutorial we’ll introduce Placeholders, and we’re also going to show how you can make your own HTML templates CMS-ready. Templates You can use HTML templates to customise multiple templates, with different layouts or built-in components, and choose them for each page as required. A page’s template can be switched for another at any time. You’ll find the site’s templates in mysite/templates0 码力 | 395 页 | 1.64 MB | 1 年前3
django cms 3.7.x Documentationit’s recommended to work through them in the order presented here. 1. Installing django CMS 2. Templates & Placeholders 3. Integrating applications 4. Plugins 5. Apphooks 6. Extending the toolbar 7. Extending for users. 2. Templates & Placeholders In this tutorial we’ll introduce Placeholders, and we’re also going to show how you can make your own HTML templates CMS-ready. 2.1. Templates You can use HTML HTML templates to customise the look of your website, define Placeholders to mark sections for managed content and use special tags to generate menus and more. You can define multiple templates, with different0 码力 | 409 页 | 1.67 MB | 1 年前3
Django CMS 3.9.x Documentationit’s recommended to work through them in the order presented here. 1. Installing django CMS 2. Templates & Placeholders 3. Integrating applications 4. Plugins 5. Apphooks 6. Extending the toolbar 7. Extending 2. Templates & Placeholders In this tutorial we’ll introduce Placeholders, and we’re also going to show how you can make your own HTML templates CMS-ready. 2.1. Templates You can use HTML templates to multiple templates, with different layouts or built-in components, and choose them for each page as required. A page’s template can be switched for another at any time. You’ll find the site’s templates in0 码力 | 417 页 | 1.68 MB | 6 月前3
Django CMS 3.8.x Documentationit’s recommended to work through them in the order presented here. 1. Installing django CMS 2. Templates & Placeholders 3. Integrating applications 4. Plugins 5. Apphooks 6. Extending the toolbar 7. Extending 2. Templates & Placeholders In this tutorial we’ll introduce Placeholders, and we’re also going to show how you can make your own HTML templates CMS-ready. 2.1. Templates You can use HTML templates to multiple templates, with different layouts or built-in components, and choose them for each page as required. A page’s template can be switched for another at any time. You’ll find the site’s templates in mysite/templates0 码力 | 413 页 | 1.67 MB | 6 月前3
Flask Documentation (1.1.x)Minimal Application What to do if the Server does not Start Debug Mode Routing Static Files Rendering Templates Accessing Request Data Redirects and Errors About Responses Sessions Message Flashing Logging Hooking Access the Database Blueprints and Views Templates Static Files Blog Blueprint Make the Project Installable Test Coverage Deploy to Production Keep Developing! Templates Jinja Setup Standard Context Standard when getting started. By convention, templates and static files are stored in subdirectories within the application’s Python source tree, with the names templates and static respectively. While this can0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6 Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . when getting started. By conven- tion, templates and static files are stored in subdirectories within the application’s Python source tree, with the names templates and static respectively. While this can your application serves. • MarkupSafe comes with Jinja. It escapes untrusted input when rendering templates to avoid injection attacks. • ItsDangerous securely signs data to ensure its integrity. This is0 码力 | 291 页 | 1.25 MB | 1 年前3
共 250 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25













